From dtandowski at electusdistribution.com.au Fri Jun 1 12:42:01 2007 From: dtandowski at electusdistribution.com.au (Daniel Tandowski) Date: Fri, 1 Jun 2007 10:42:01 +0000 Subject: check_by_ssh anomaly Message-ID: <200706011042.02076.dtandowski@jaycar.com.au> Hi all, long time Nagios user, first time poster. I'm having an issue with one of my check_by_ssh scripts - which basically just checks the size and modified time of a backup file on each of roughly 70 Linux hosts. All of the hosts are working correctly, except one, which as far as I can tell, is configured the same as the rest. This is where it gets wierd, when I run the full command straight from the CLI, it returns correctly: Command: #/usr/lib/nagios/plugins/check_by_ssh -t 60 -H -l root -i -C /usr/lib/nagios/plugins/check_backup_log Result: OK: /home/user/file.backup.gz Size: 72.99Mb Updated: 13.92 hours ago However, when it runs from within the nagios process, the web interface returns this: Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Has anyone come across this problem? As Google won't let me search @'s - it is extremely difficult to search this issue! Sorry about the long email, please let me know if you have any ideas! Thanks, Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtandowski at electusdistribution.com.au Fri Jun 1 12:58:12 2007 From: dtandowski at electusdistribution.com.au (Daniel Tandowski) Date: Fri, 1 Jun 2007 10:58:12 +0000 Subject: check_by_ssh anomaly In-Reply-To: <465F6DEE.1020500@publishingtechnology.com> References: <200706011042.02076.dtandowski@jaycar.com.au> Message-ID: <200706011058.12255.dtandowski@jaycar.com.au> I appreciate your quick response, ssh known_hosts / authorized_keys was my first culprit also... unfortunately, this doesn't explain why it would work correctly when I run the same command nagios is running from the CLI (using the same key)!? #/usr/lib/nagios/plugins/check_by_ssh -t 60 -H -l root -i -C /usr/lib/nagios/plugins/check_backup_log Daniel On Friday 01 June 2007 00:53, you wrote: > It looks like your host key for this host is probably invalid. When this > happens, ssh will display an error like this: > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > > If you're sure that nobody is "doing something nasty", fix your host key > and all should be well. Just remove the key from ~/.ssh/known_hosts and > either ssh to the host and answer "yes" to accept the key, or do > "ssh-keyscan -t rsa hostname" (or dsa if you're using dsa keys). > > Hope this helps! > > Rob > > *-- > Robert King* > UNIX Systems Administrator > /Publishing Technology plc/ > T: +1 401 331 2014 x120 > F: +1 401 331 2015 > robert.king at publishingtechnology.com > > http://www.publishingtechnology.com > GPG Public key: http://tinyurl.com/9zmws > > Daniel Tandowski wrote: > > Hi all, long time Nagios user, first time poster. > > > > I'm having an issue with one of my check_by_ssh scripts - which basically > > just checks the size and modified time of a backup file on each of > > roughly 70 Linux hosts. > > > > All of the hosts are working correctly, except one, which as far as I can > > tell, is configured the same as the rest. This is where it gets wierd, > > when I run the full command straight from the CLI, it returns correctly: > > > > Command: > > #/usr/lib/nagios/plugins/check_by_ssh -t 60 -H -l root -i > > -C /usr/lib/nagios/plugins/check_backup_log > > > > Result: > > OK: /home/user/file.backup.gz Size: 72.99Mb Updated: 13.92 hours ago > > > > However, when it runs from within the nagios process, the web interface > > returns this: > > > > Remote command execution failed: > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > > > Has anyone come across this problem? As Google won't let me search @'s - > > it is extremely difficult to search this issue! > > > > Sorry about the long email, please let me know if you have any ideas! > > > > Thanks, > > > > Daniel > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Jun 1 03:08:08 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 31 May 2007 18:08:08 -0700 Subject: check_by_ssh anomaly In-Reply-To: <200706011058.12255.dtandowski@jaycar.com.au> References: <465F6DEE.1020500@publishingtechnology.com> <200706011058.12255.dtandowski@jaycar.com.au> Message-ID: <20070601010808.GN12840@pmorris.usa.hp.com> On Fri, 01 Jun 2007, Daniel Tandowski wrote: > I appreciate your quick response, ssh known_hosts / authorized_keys was my > first culprit also... unfortunately, this doesn't explain why it would work > correctly when I run the same command nagios is running from the CLI (using > the same key)!? > > #/usr/lib/nagios/plugins/check_by_ssh -t 60 -H -l root -i > -C /usr/lib/nagios/plugins/check_backup_log It's the host key, not the private key, so if you're checking as root (and it looks like you are), you're not looking at the same known_hosts as Nagios is. Log in as the Nagios user or store the host's key in the known_hosts file Nagios looks at when it logs in. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtandowski at electusdistribution.com.au Fri Jun 1 13:10:20 2007 From: dtandowski at electusdistribution.com.au (Daniel Tandowski) Date: Fri, 1 Jun 2007 11:10:20 +0000 Subject: check_by_ssh anomaly In-Reply-To: <20070601010808.GN12840@pmorris.usa.hp.com> References: <465F6DEE.1020500@publishingtechnology.com> Message-ID: <200706011110.20914.dtandowski@jaycar.com.au> Ahh yes, thankyou both! For reference, the offending host_key was living in /var/spool/nagios/.ssh/known_hosts (as the nagios user has nologin). Thanks again! On Friday 01 June 2007 01:08, Patrick Morris wrote: > On Fri, 01 Jun 2007, Daniel Tandowski wrote: > > I appreciate your quick response, ssh known_hosts / authorized_keys was > > my first culprit also... unfortunately, this doesn't explain why it would > > work correctly when I run the same command nagios is running from the CLI > > (using the same key)!? > > > > #/usr/lib/nagios/plugins/check_by_ssh -t 60 -H -l root -i > > -C /usr/lib/nagios/plugins/check_backup_log > > It's the host key, not the private key, so if you're checking as root > (and it looks like you are), you're not looking at the same known_hosts > as Nagios is. > > Log in as the Nagios user or store the host's key in the known_hosts > file Nagios looks at when it logs in. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Hollick at porthosp.nhs.uk Fri Jun 1 13:23:18 2007 From: Matthew.Hollick at porthosp.nhs.uk (Hollick Matthew - ICT Systems) Date: Fri, 1 Jun 2007 12:23:18 +0100 Subject: nsclient++ crashing Message-ID: Hi all, A little while ago there was a thread on this mail list regarding the stability of nsclient++ on Windows 2003, at the time I had not encountered this issue. Now that I have deployed nsclient++ to >200 Servers I am seeing one or two crashes a day. I do not use passwords, nor encryption. I am using a combination of ns_client and nrpe checks until I have fully migrated to nrpe. I mention not using passwords as the log file is full of errors regarding Invalid passwords I have started disabling the SysTray on the servers -- this being enabled was a misconfiguation. Any advice gratefully appreciated. Kind Regards, Matthew. >From Windows Event log: Date 01/06/2007 Time 11:37:36 Event Type: Error Event Source: Application Error Event Category: (100) Event ID: 1000 Date: 01/06/2007 Time: 11:37:36 User: N/A Computer: JPMCDC01 Description: Faulting application NSClient++.exe, version 0.0.0.0, faulting module NSClientListener.dll, version 0.0.0.0, fault address 0x0000ebe8. >From the log file: 2007-05-31 14:26:16: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-05-31 15:18:16: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-05-31 21:26:55: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-05-31 22:45:17: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-05-31 23:04:08: error:.\PDHCollector.cpp:143: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: : -2147481642 2007-06-01 02:21:39: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-06-01 07:04:11: error:.\PDHCollector.cpp:143: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: : -2147481642 2007-06-01 07:23:56: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-06-01 09:41:08: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-06-01 09:41:56: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-06-01 10:56:22: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-06-01 11:34:16: error:.\NSClientListener.cpp:155: Invalid password (one). 2007-06-01 11:49:56: error:.\SysTray.cpp:40: SysTray is not installed (or it cannot interact with the desktop) SysTray wont be loaded. Run NSClient++ SysTray install ti change this. 2007-06-01 11:49:56: error:.\PDHCollector.cpp:119: Attempting to open counter... 2007-06-01 11:49:56: error:.\PDHCollector.cpp:122: Counters opend... My NSC.ini file (comments removed): [modules] FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll [Settings] allowed_hosts=192.168.31.154 use_file=1 [log] file=NSC.log date_mask=%Y-%m-%d %H:%M:%S [NSClient] port=1248 [Check System] CPUBufferSize=1441m [NRPE] port=5666 command_timeout=60 allow_arguments=1 allow_nasty_meta_chars=1 use_ssl=0 allowed_hosts=xxx.xxx.xxx.xxx script_dir=c:\netsaint\scripts\ [NRPE Handlers] nrpe_cpu=inject checkCPU warn=80 crit=90 5 10 15 nrpe_ok=scripts\ok.bat -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Jun 1 14:47:10 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 1 Jun 2007 13:47:10 +0100 Subject: Check_nt not reporting memory for 1 server In-Reply-To: References: Message-ID: I have sometimes seen the Windows performance subsystem that nsclient queries stop giving out values for some of the counters while others still work OK. The easiest way to check that is to go into Administrative Tools -> Performance on the Windows server, click the + above the graph, select System as the Performance Object and System Up Time as the Counter, click Add then Close. If you select System Up Time in the list of counters below the graph, do the counter statistics show numbers (increasing by one every second) or big fat zeroes? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE Holtz, Ray wrote: > Sorry, should have included that. We use nsclient, and the server > accurately reports disk space, cpu load, and services with the > check_nt plugin. However I noticed that it does not report uptime > correctly. It reports System Uptime - 0 day(s) 0 hour(s) 0 minute(s) > > Thanks! > > -------------- > Ray Holtz > rholtz at midwestheart.com > 630-324-7087 > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil > Costelloe > Sent: Friday, May 25, 2007 2:50 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_nt not reporting memory for 1 server > > Holtz, Ray wrote: >> We have Nagios set to run check_nt to check physical memory and it >> works great for all of our servers except one. It is Windows server >> 2003, and when run from the command line: >> >> check_nt -H server1 -p 1248 -v MEMUSE >> >> it returns >> >> Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb >> (nan%) | 'Memory usage'=0.00Mb;0.00;0.00;0.00;0.00 >> >> Any other server returns real values. We are running Nagios is 2.9, >> with plugins 1.4.8 on a Fedore Core 6 server. I have the biggest >> feeling something on the monitored server is wrong, but I don't know >> what. Any ideas on what I can check? > > What agent are you using on the server (e.g. NSClient, nc_net, etc.)? > Do you run any other agent checks against that server and do they > work? > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express Download DB2 Express C > - the FREE version of DB2 express and take control of your XML. No > limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> 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 e-mail is intended only for the use of the individual or entity > to which it is addressed and may contain information that is > privileged and confidential. If the reader of this message is not > the intended recipient, you are hereby notified that any disclosure, > distribution, or copying of this information is strictly prohibited. > If you have received this e-mail in error, please notify the sender > and discard all content. > > Midwest Heart Specialists > ===================================================================== > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express Download DB2 Express C > - the FREE version of DB2 express and take control of your XML. No > limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Fri Jun 1 14:52:03 2007 From: radhiilu at yahoo.com (Sekhar) Date: Fri, 1 Jun 2007 05:52:03 -0700 (PDT) Subject: New User - Adding New Host Message-ID: <338181.96513.qm@web90502.mail.mud.yahoo.com> Hi Guys, I have one basic question currently in my nagios i want to add new host for monitoring ping service How do i do that? What steps i need to follow?.Can some one explain step bys step i am new to nagio sorry for my basic question i want to do this from command line. Thanks for your help Best Regards --------------------------------- Pinpoint customers who are looking for what you sell. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Fri Jun 1 15:00:22 2007 From: radhiilu at yahoo.com (Sekhar) Date: Fri, 1 Jun 2007 06:00:22 -0700 (PDT) Subject: New User - Adding New Host In-Reply-To: References: Message-ID: <320144.65131.qm@web90503.mail.mud.yahoo.com> sorry for this, currently some hosts are already added to my nagios,i am using nagios 2.6,I want to check only ping service thanks for your help "Valdinger, Stephen (DOV, MSX)" wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} st1\:*{behavior:url(#default#ieooui) } How far along in the process are you? Starting for scratch, or do you have some hosts set up so far? What version of Nagios are you running? What plugins do you use? You need to post this stuff to the list so we can help you quickly and clearly. Thanks. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com --------------------------------- From: Sekhar [mailto:radhiilu at yahoo.com] Sent: Friday, June 01, 2007 8:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] New User - Adding New Host Hi Guys, I have one basic question currently in my nagios i want to add new host for monitoring ping service How do i do that? What steps i need to follow?.Can some one explain step bys step i am new to nagio sorry for my basic question i want to do this from command line. Thanks for your help Best Regards --------------------------------- Pinpoint customers who are looking for what you sell. --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Fri Jun 1 15:17:34 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Fri, 1 Jun 2007 09:17:34 -0400 Subject: service dependencies and failover Message-ID: <002e01c7a44f$38974d80$6601a8c0@Masoud> All, Trying to monitor db services in a cluster/failover environment using check_oracle plug-in; all NRPE checks are done against the virtual IP of the DB; I would like to enable the same services on the secondary host yet with a dependency on the file system mount point which would make the DB available. Theoretically once the file system is available then the services should become active on the secondary host and inactive on the other. Any idea how to do this? Thanks in advance, M +++++++++++++++++++++++++++ Masoud Tabrizi masoud.tabrizi at gmail.com Phone: (617) 872-2052 +++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Fri Jun 1 16:00:02 2007 From: radhiilu at yahoo.com (Sekhar) Date: Fri, 1 Jun 2007 07:00:02 -0700 (PDT) Subject: New User - Adding New Host In-Reply-To: References: Message-ID: <891537.81327.qm@web90505.mail.mud.yahoo.com> thanks for your reply and i will try this "Valdinger, Stephen (DOV, MSX)" wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} st1\:*{behavior:url(#default#ieooui) } You would simply define a host with the check-host-alive command set and that is all. It will only the ping the host and give you an Up or Down state. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com --------------------------------- From: Sekhar [mailto:radhiilu at yahoo.com] Sent: Friday, June 01, 2007 9:00 AM To: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] New User - Adding New Host sorry for this, currently some hosts are already added to my nagios,i am using nagios 2.6,I want to check only ping service thanks for your help "Valdinger, Stephen (DOV, MSX)" wrote: How far along in the process are you? Starting for scratch, or do you have some hosts set up so far? What version of Nagios are you running? What plugins do you use? You need to post this stuff to the list so we can help you quickly and clearly. Thanks. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com --------------------------------- From: Sekhar [mailto:radhiilu at yahoo.com] Sent: Friday, June 01, 2007 8:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] New User - Adding New Host Hi Guys, I have one basic question currently in my nagios i want to add new host for monitoring ping service How do i do that? What steps i need to follow?.Can some one explain step bys step i am new to nagio sorry for my basic question i want to do this from command line. Thanks for your help Best Regards --------------------------------- Pinpoint customers who are looking for what you sell. --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. --------------------------------- Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Jun 1 15:59:56 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 1 Jun 2007 14:59:56 +0100 Subject: service dependencies and failover In-Reply-To: <002e01c7a44f$38974d80$6601a8c0@Masoud> References: <002e01c7a44f$38974d80$6601a8c0@Masoud> Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Masoud Tabrizi > Trying to monitor db services in a cluster/failover environment using check_oracle > plug-in; all NRPE checks are done against the virtual IP of the DB; I would like to > enable the same services on the secondary host yet with a dependency on the file > system mount point which would make the DB available. Theoretically once the file > system is available then the services should become active on the secondary host and > inactive on the other. > > Any idea how to do this? If I'm understanding what you want correctly, one way to do it would be to write a wrapper script for the checks that would look first at whether the filesystem is mounted. If it isn't, return OK and a message like "Currently inactive". If it is, call the actual plugin requested and return whatever that outputs. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for Nagios-users at lists.sourceforge.net. If you are not Nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Foundation IT Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE Registered in England Number 3281803 -------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Fri Jun 1 18:12:45 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Fri, 1 Jun 2007 19:12:45 +0300 Subject: about Nagios Log Stats Process Message-ID: Hi people, Does anybody know how Nagios behaves totally when reading logs for graphing stats? I mean, If I change rotation time for logs, what does Nagios do to find related log files according to related timeperiod for stats? If not clear, a sample: - Log rotation time 1 day (as default) - I have some logs (log of a whole month long e.g.) - I change rotation time to 5 days - 10 days later for instance, I would like stats for host01 availability for last month. How does Nagios find relevant log files? I know it is a bit complicated situation however, our mission is to serve for generality :) Isn't it a bit confusing? Or I do think so unrealistic? Thanks, Din?er -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmurray at whoi.edu Fri Jun 1 20:50:30 2007 From: jmurray at whoi.edu (Jonathan Murray) Date: Fri, 01 Jun 2007 14:50:30 -0400 Subject: NRPE: Command 'check_disk' not defined In-Reply-To: <417953.10219.qm@web32102.mail.mud.yahoo.com> References: <417953.10219.qm@web32102.mail.mud.yahoo.com> Message-ID: <46606A76.2090003@whoi.edu> Thanks Sebastian, the error was a result of two machines having the same IP address in the hosts.cfg file. As usual, my error. Now that I have eliminated my ridiculous oversight, everything is fine. Thanks for your help, as a result of this process, the checkcommands.cfg issue was resolved too. -Jonathan Sebastian Ganame wrote: > Hi John, > I think your problem is that you're defining "check_disk_sda5" > in your checkcommands.cfg file, while it should be only in your > "nrpe.cfg" file in each monitored instance. > The only checkcommand you should have for nrpe redirection is > the following one: > > /define command{/ > / command_name check_nrpe/ > / command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > $ARG1$/ > /}/ > > This tells the system that for each service defined with a > check_command like ?check_nrpe!...? it should be redirected using that line. > > After this server side configuration, you should only define > the check_disk_sda5 in your target system (the one that would end up > reporting the metric), and it should work. > > Hope you make it with these information. > Regards, > > Sebastian Ganame > > > -----Original Message----- > From: Jonathan Murray [mailto:jmurray at whoi.edu] > Sent: Jueves, 31 de Mayo de 2007 01:47 p.m. > To: Sebastian Ganame > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE: Command 'check_disk' not defined > > Interesting. I'm still not getting it, or I'm doing something > incorrectly. I have other commands set up the same way, and they work: > > for example, > > on nagios "engine" > > in checkcommands.cfg: > > # 'check_disk_c1' > define command{ > command_name check_disk_c1 > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > check_disk_c1 > } > > in services.cfg: > > define service{ > use > generic-service ; Name of service template to use > host_name varuna > service_description Check /raid/c1 space > retry_check_interval 2 > contact_groups linux-admin > notification_options w,c,r > check_command check_disk_c1 > } > > on machine I am trying to monitor, in /usr/local/nagios/etc/nrpe.cfg: > > command[check_disk_c1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 > -p /raid > /c1 > > On the web interface, in the status column I see the following: > varuna Check /raid/c1 space > OK 05-31-2007 12:21:11 2d 5h 56m 0s 1/3 DISK OK > - free space: > /raid/c1 114527 MB (16% inode=99%): > > So in this case, which is the same as the earlier description, it works. > Here the machine being monitored is a debian system, but I didn't > think that would make such a difference. > > I have also set up the command as you specified, or how I interpreted > what you specified, I hope I was accurate here: > > Nagios "engine" > in services.cfg: > > define service{ > use > generic-service ; Name of service template to use > host_name paleo > service_description check disk sda5 > retry_check_interval 2 > contact_groups linux-admin > notification_options w,u,c,r > check_command > check_nrpe!check_disk_sda5!20%!10%!/ > } > > In the above, I don't know what that / is doing after the !, but it was > in your mail, so I thought it was needed. > > in checkcommands.cfg: > > 'check_disk_sda5' > define command{ > command_name check_disk_sda5 > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > check_disk_sda5 > } > > On the machine I am trying to get information on the disk sda5, > command[check_disk_sda5]=/usr/local/nagios/libexec/check_disk -w 20 -c > 10 -p /dev/sda5 > > It would seem here that on the machine being monitored, the command > "check_disk_sda5" would use the local plugin > /usr/local/nagios/libexec/check_disk with the options: > -w 20 -c 10 -p /dev/sda5 > > run locally, this is indeed what it seems to do. However, the server > doesn't seem to use the command I have placed in the nrpe.cfg file. > > On the web interface, this returns, in the "Status" column: > > NRPE v2.7.1 > > What do you use for your entries in you checkcommands.cfg for your > commands? I was under the impression that I had to define the commands > there and nagios would use them. > > Perhaps these questions are getting too basic? > > Thanks, > > Jonathan > Sebastian Ganame wrote: > > Hi John, > > Your problem is that you're trying to invoke a service that is not > > local, thus it shouldn be defined not only in your Nagios server > > configuration files, but also in the nrpe.cfg file used when the nrpe > > daemon starts on the target machine. > > I'll try to explain just a little bit what I did since I suffered > > the same situation: > > > > 1) Define a new service in Nagios Engine for monitoring non-local > > disks, as follows: > > > > define service{ > > use local-service ;Name of service > > template to use > > host_name /[the servers in which you have nrpe > > installed]/ > > / /service_description Remote check disk > > check_command check_nrpe!check_hda1!20%!10%!/ > > } > > 2) I used check_hda1 instead of check_disk to identify the way I > > use this in the target machines. Then you need to include this type of > > call in your target machine's nrpe.cfg file, as follows (at the very > end): > > > > # The following examples use hardcoded command arguments... > > command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > > /dev/hda1 > > This way, nrpe tells the target machine to call it's > > /usr/local/nagios/libexec/check_disk command when the Nagios core engine > > calls check_nrpe!check_hda1 on this target machine. > > > > Hope it helps, and most important that you understand what I tried > > to tell you ;-) > > Regards, > > > > > > Sebastian Ganame > > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > > Jonathan Murray > > Sent: Mi?rcoles, 30 de Mayo de 2007 07:49 p.m. > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NRPE: Command 'check_disk' not defined > > > > I've been staring at this for a long time, likely pilot error, but maybe > > someone has suggestions or sees something I don't...thanks. > > > > Nagios server version 2.8, (OS debian) > > Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4) > > NRPE version 2.7.1 > > > > other plugins work (check_swap, check_load) > > > > On nagios server: > > > > /usr/local/nagios/etc/checkcommands.cfg > > > > <-snip-> > > > > # check_disk > > define command{ > > command_name check_disk > > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > check_disk > > } > > > > <-snip-> > > > > On the machine I'm trying to monitor, the one running nrpe 2.7.1 with > > the Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4), > > in /usr/local/nagios/libexec/etc/nrpe.cfg: > > > > [root at paleo etc]# ls -la > > total 28 > > drwxr-xr-x 2 nagios nagios 4096 May 30 17:03 . > > drwxr-xr-x 6 nagios nagios 4096 May 30 17:13 .. > > -rwxr-xr-x 1 nagios nagios 7536 May 30 17:03 nrpe.cfg > > > > <-snip-> > > > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > > /dev/sda5 > > > > <-snip-> > > > > when I test it from the server "nagios" it works fine: > > > > root at nagios:/usr/local/nagios/libexec# ./check_nrpe -H paleo -c > check_disk > > DISK OK - free space: / 201921 MB (93% inode=99%);| > > /=14918MB;228424;228434;0;22 8444 > > > > on the system running nrpe "paleo": > > > > [root at paleo etc]# /usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > > /dev/sda5 > > DISK OK - free space: / 201921 MB (93% inode=99%);| > > /=14918MB;228424;228434;0;228444 > > > > If NRPE, Command 'check_disk' not defined as the web interface reports, > > then where should it be defined? I thought I needed to define the > > command in the checkcommands.cfg on the server, then define the command > > on the client that is running nrpe daemon. > > > > thanks for any ideas, > > > > Jonathan Murray ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arjun at greatgulfhomes.com Fri Jun 1 23:02:43 2007 From: arjun at greatgulfhomes.com (Arjun Datta) Date: Fri, 01 Jun 2007 17:02:43 -0400 Subject: missing install-webconf ? Message-ID: <46608973.4050509@greatgulfhomes.com> Greetings, I downloaded and am installing nagios-2.9 with nagios-plugins-1.4.7. I am following the Fedora Quickstart installation instructions in the nagios-3.pdf documentation. My specs are: OS - 2.6.20-1.2948.fc6 Apache/2.2.4 Everything proceeds fine till I get to Step 5: Configure the Web Interface. When I run # make install-webconf I get make: *** No rule to make target `install-webconf'. Stop. I cannot seem to find install-webconf anywhere. Regards, Arjun -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Jun 1 23:13:24 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 1 Jun 2007 14:13:24 -0700 Subject: missing install-webconf ? In-Reply-To: <46608973.4050509@greatgulfhomes.com> References: <46608973.4050509@greatgulfhomes.com> Message-ID: <20070601211324.GQ12840@pmorris.usa.hp.com> On Fri, 01 Jun 2007, Arjun Datta wrote: > Greetings, > > I downloaded and am installing nagios-2.9 with nagios-plugins-1.4.7. I > am following the Fedora Quickstart installation instructions in the > nagios-3.pdf documentation. My specs are: > OS - 2.6.20-1.2948.fc6 > Apache/2.2.4 > > Everything proceeds fine till I get to Step 5: Configure the Web > Interface. > When I run # make install-webconf I get > make: *** No rule to make target `install-webconf'. Stop. > > I cannot seem to find install-webconf anywhere. Don't use Nagios 3 installation instructions with nagios 2.x. :) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Sat Jun 2 03:07:49 2007 From: radhiilu at yahoo.com (Sekhar) Date: Fri, 1 Jun 2007 18:07:49 -0700 (PDT) Subject: Restart nagios process in openbsd Message-ID: <150160.98499.qm@web90514.mail.mud.yahoo.com> Hi, I want to restart nagios process in openbsd thanks for your help --------------------------------- Pinpoint customers who are looking for what you sell. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Sat Jun 2 03:51:38 2007 From: radhiilu at yahoo.com (Sekhar) Date: Fri, 1 Jun 2007 18:51:38 -0700 (PDT) Subject: Expert help required - Inncorrect ping service warnings Message-ID: <502137.70463.qm@web90512.mail.mud.yahoo.com> Hi Guys, I have added new hosts in nagios2.0 running under openbsd after that i have restarted my server and then onwards it is showing inncorrect ping service warnings,critical states but actually all the hosts are fine and working without any problem. Why it is showing wrong ping service warnings,critical states how to fix this thanks for your help --------------------------------- Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Sat Jun 2 06:51:36 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Fri, 1 Jun 2007 21:51:36 -0700 Subject: Restart nagios process in openbsd In-Reply-To: <150160.98499.qm@web90514.mail.mud.yahoo.com> References: <150160.98499.qm@web90514.mail.mud.yahoo.com> Message-ID: <8819023A-77DD-4ACF-9A57-57F5557ACD92@bsdboy.com> Some people use an init script, any idea where yours is? How are you starting nagios? Command would be: /path/to/nagios.init restart Also there is an option via the web, under process info, to restart the nagios process. -wil On Jun 1, 2007, at 6:07 PM, Sekhar wrote: > Hi, > > I want to restart nagios process in openbsd > > thanks for your help > > Pinpoint customers who are looking for what you sell. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Jun 2 09:44:48 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 2 Jun 2007 09:44:48 +0200 (CEST) Subject: Expert help required - Inncorrect ping service warnings In-Reply-To: <502137.70463.qm@web90512.mail.mud.yahoo.com> References: <502137.70463.qm@web90512.mail.mud.yahoo.com> Message-ID: On Fri, 1 Jun 2007, Sekhar wrote: > I have added new hosts in nagios2.0 running under openbsd after that i have restarted my server and then onwards it is showing inncorrect ping service warnings,critical states but actually all the hosts are fine and working without any problem. > > Why it is showing wrong ping service warnings,critical states how to fix this Well. Since you elected to tell us nothing about your configuration of the services the exact "error" you are referring to nor any other information relevant you disabled the help function on the mailinglist. So please enable it and show a host and service definition, the results of a service check when run manually as nagios use, ....... Since I have no server with the name gandalf anymore the use of the palantir is not an option. ;-) Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vishal_r at hotmail.com Sat Jun 2 11:52:41 2007 From: vishal_r at hotmail.com (Vishal) Date: Sat, 2 Jun 2007 15:22:41 +0530 Subject: Nagios Deployment Message-ID: This is Vishal from Mumbai-India .I'm looking for someone in Mumbai who could assit me in deploying Nagios in my Organization . I require this tool to monitor 5 Nos of Windows 2003 Server & Monitor SNMP Devices like UPS ,Router ,Switches . If you know anyone intrested kindly let me know. Regards Vishal ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Sat Jun 2 12:09:58 2007 From: arief_clan at yahoo.com (Arief Iqbal) Date: Sat, 2 Jun 2007 03:09:58 -0700 (PDT) Subject: how to unsubscribe???? Message-ID: <324982.22859.qm@web55910.mail.re3.yahoo.com> hi, how can i unsubscribe from this goddamned mailing list??? thx --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Sat Jun 2 12:15:26 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Sat, 02 Jun 2007 11:15:26 +0100 Subject: how to unsubscribe???? In-Reply-To: <324982.22859.qm@web55910.mail.re3.yahoo.com> References: <324982.22859.qm@web55910.mail.re3.yahoo.com> Message-ID: <4661433E.6080906@aidananderson.co.uk> Go to https://lists.sourceforge.net/lists/listinfo/nagios-users Go to the bottom of the page to the section headed Nagios-users Subscribers and follow the instructions for unsubscribing. You'll need your password. Aidan Arief Iqbal wrote: > hi, how can i unsubscribe from this goddamned mailing list??? thx > > ------------------------------------------------------------------------ > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now > > (it's updated for today's economy) at Yahoo! Games. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Sat Jun 2 12:18:10 2007 From: radhiilu at yahoo.com (Sekhar) Date: Sat, 2 Jun 2007 03:18:10 -0700 (PDT) Subject: Restart nagios process in openbsd In-Reply-To: <8819023A-77DD-4ACF-9A57-57F5557ACD92@bsdboy.com> References: <8819023A-77DD-4ACF-9A57-57F5557ACD92@bsdboy.com> Message-ID: <917506.30125.qm@web90512.mail.mud.yahoo.com> i am trying to use -d option from command line nagios check configuration it was screwd something now my all services and hosts are showing wrong alerts so i really don't know how to start and when i try to restart from web interface i am getting cgi permissions not allowed error .Finally i rebbot my openbsd server but still my services are showing wrong notifications how to fix this i really need openbsd and nagios expert help this was the command i used /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg this is wrong i know it started another process with existing one here where everthing went wrong and all services notifications showing wrong how to fix this problem. thanks for your time to help me on this Wil Schultz wrote: Some people use an init script, any idea where yours is? How are you starting nagios? Command would be: /path/to/nagios.init restart Also there is an option via the web, under process info, to restart the nagios process. -wil On Jun 1, 2007, at 6:07 PM, Sekhar wrote: > Hi, > > I want to restart nagios process in openbsd > > thanks for your help > > Pinpoint customers who are looking for what you sell. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat Jun 2 12:21:12 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 2 Jun 2007 11:21:12 +0100 Subject: how to unsubscribe???? In-Reply-To: <4661433E.6080906@aidananderson.co.uk> References: <324982.22859.qm@web55910.mail.re3.yahoo.com> <4661433E.6080906@aidananderson.co.uk> Message-ID: <765d77c80706020321j6f4bb67fy6b32bb67dd5a61ed@mail.gmail.com> On 02/06/07, Aidan Anderson wrote: > Go to https://lists.sourceforge.net/lists/listinfo/nagios-users > > Go to the bottom of the page to the section headed Nagios-users > Subscribers and follow the instructions for unsubscribing. You'll need > your password. It's even easier than that, as you don't need a password. :-) The system will send you a confirmation email. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Sat Jun 2 15:18:47 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Sat, 2 Jun 2007 06:18:47 -0700 Subject: Restart nagios process in openbsd In-Reply-To: <917506.30125.qm@web90512.mail.mud.yahoo.com> References: <917506.30125.qm@web90512.mail.mud.yahoo.com> Message-ID: The command "/usr/local/bin/nagios -v /usr/local/etc/nagios/ nagios.cfg" will not start another nagios process, it will however check your configuration and either tell you that your configuration is okay, or it will try to tell you what is wrong. What is the out put of this command? Also a snippet from the nagios.log might be helpful. What your best bet may be is to talk to whomever it was that set this up this box in the first place. -wil On Jun 2, 2007, at 3:18 AM, Sekhar wrote: > i am trying to use -d option from command line nagios check > configuration it was screwd something now my all services and hosts > are showing wrong alerts so i really don't know how to start and > when i try to restart from web interface i am getting cgi > permissions not allowed error .Finally i rebbot my openbsd server > but still my services are showing wrong notifications how to fix > this i really need openbsd and nagios expert help > > this was the command i used > > /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg > > this is wrong i know it started another process with existing one > here where everthing went wrong and all services notifications > showing wrong how to fix this problem. > > thanks for your time to help me on this > > Wil Schultz wrote: > Some people use an init script, any idea where yours is? How are you > starting nagios? > > Command would be: > /path/to/nagios.init restart > > Also there is an option via the web, under process info, to restart > the nagios process. > > -wil > > On Jun 1, 2007, at 6:07 PM, Sekhar wrote: > > > Hi, > > > > I want to restart nagios process in openbsd > > > > thanks for your help > > > > Pinpoint customers who are looking for what you sell. > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Sat Jun 2 16:36:23 2007 From: radhiilu at yahoo.com (Sekhar) Date: Sat, 2 Jun 2007 07:36:23 -0700 (PDT) Subject: Restart nagios process in openbsd In-Reply-To: References: Message-ID: <781957.16710.qm@web90507.mail.mud.yahoo.com> sorry for this the command is /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg Wil Schultz wrote: The command "/usr/local/bin/nagios -v /usr/local/etc/nagios/ nagios.cfg" will not start another nagios process, it will however check your configuration and either tell you that your configuration is okay, or it will try to tell you what is wrong. What is the out put of this command? Also a snippet from the nagios.log might be helpful. What your best bet may be is to talk to whomever it was that set this up this box in the first place. -wil On Jun 2, 2007, at 3:18 AM, Sekhar wrote: > i am trying to use -d option from command line nagios check > configuration it was screwd something now my all services and hosts > are showing wrong alerts so i really don't know how to start and > when i try to restart from web interface i am getting cgi > permissions not allowed error .Finally i rebbot my openbsd server > but still my services are showing wrong notifications how to fix > this i really need openbsd and nagios expert help > > this was the command i used > > /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg > > this is wrong i know it started another process with existing one > here where everthing went wrong and all services notifications > showing wrong how to fix this problem. > > thanks for your time to help me on this > > Wil Schultz wrote: > Some people use an init script, any idea where yours is? How are you > starting nagios? > > Command would be: > /path/to/nagios.init restart > > Also there is an option via the web, under process info, to restart > the nagios process. > > -wil > > On Jun 1, 2007, at 6:07 PM, Sekhar wrote: > > > Hi, > > > > I want to restart nagios process in openbsd > > > > thanks for your help > > > > Pinpoint customers who are looking for what you sell. > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aix_tiger at yahoo.com Sun Jun 3 13:22:38 2007 From: aix_tiger at yahoo.com (aix tiger) Date: Sun, 3 Jun 2007 04:22:38 -0700 (PDT) Subject: Permission denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed Message-ID: <987086.61918.qm@web57714.mail.re3.yahoo.com> Hi all, I am trying to solve this problem related to nagios setup on RHEL linux box for last few days...but no success!!! Actually i have nagios installation ( 2.3.1) on Apache 2.0.52 on RHEL Enterprise edition 4. Main page of nagios appears without any error but when i click host group, hosts or any other link on left pane it gives me following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. And in apache error log , following error entries can be seen: [Sun Jun 03 14:05:06 2007] [error] [client 172.16.0.1] Premature end of script headers: status.cgi, referer: http://172.16.2.182/nagios/side.html [Sun Jun 03 14:05:08 2007] [error] [client 172.16.0.1] (13)Permission denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed, referer: http://172.16.2.182/nagios/side.html Any clues to resolve this issue... i do have following ids # id apache uid=48(apache) gid=48(apache) groups=48(apache),101(nagios) # id nagiosid nagios uid=120(nagios) gid=101(nagios) groups=101(nagios),48(apache) Appreciate your support Regards Khurram --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jun 3 13:48:57 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 3 Jun 2007 13:48:57 +0200 (CEST) Subject: [FRAUD] [DISARMED] Permission denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed In-Reply-To: <987086.61918.qm@web57714.mail.re3.yahoo.com> References: <987086.61918.qm@web57714.mail.re3.yahoo.com> Message-ID: On Sun, 3 Jun 2007, aix tiger wrote: > I am trying to solve this problem related to nagios setup on RHEL linux box for last few days...but no success!!! > > Actually i have nagios installation ( 2.3.1) on Apache 2.0.52 on RHEL Enterprise edition 4. Main page of nagios appears without any error but when i click host group, hosts or any other link on left pane it gives me following error: > > > Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. > Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. Please check the FAQ on the impact of SELINUX on Nagios installtions. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Jun 3 22:53:04 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 03 Jun 2007 21:53:04 +0100 Subject: Nagios Looking Glass 1.0.6 released Message-ID: <46632A30.9020304@mailnetwork.co.uk> Good evening, I'm pleased to announce the Nagios Looking Glass project has released version 1.0.6. This is a maintenance and feature release, and the main improvement is to provide administrators with the ability to define certain hosts in a filter specification, as opposed to status-only filters. This is the same functionality as provided in Patch#1 for NLG 1.0.2. For more information, please see Filter-Howto.txt in the distribution. Download now from http://www.nagioslookingglass.co.uk/download.phpx Changelog for 1.0.6: [BUG FIX] RT#240 - NLG's caching mechanism wasn't recognising when Nagios' hosts/services config had changed. [FEATURE] RT#242 - Implemented host-specific filters as well as status-specific. Please see FILTERS-HOWTO.txt in the distribution for examples. [BUG FIX] RT#245 - Feed source was always reading as 'from cache' even if it was fetched from the live system. [BUG FIX] RT#268 - A 'PHP Warning' was thrown when a host had no services assigned to it in Nagios If upgrading from a previous version, please review the changes in Upgrading.txt in the distribution before upgrading. Regards, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon Jun 4 15:08:36 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 4 Jun 2007 15:08:36 +0200 Subject: ANNOUNCE check_logfiles 2.2.2 Message-ID: <001201c7a6a9$76522fd0$0202fea9@int.consol.de> Hi list, there is a new version of the check_logfiles plugin. Thank you for your proposals i received since the last version. I hope this one fulfills all of your needs. The major enhancement is the introduction of what i call "smart scripts". Every time one of your defined patterns matches a line in the logfile, a script can be executed. Until now, output and exit code of these scripts were simply ignored. Smart scripts have an exit code of 0-3 which is taken into account just as if another pattern has matched. Supersmart scripts have the ability to entirely replace the pattern match by their exitcode and output. This allows you to have a much more detailed look at the matching lines in your logfiles. You find everything at http://www.consol.com/opensource/nagios/check-logfiles or in german at http://www.consol.de/opensource/nagios/check-logfiles If you have no clue of what i wrote here (forgive my english), look at the examples at http://www.consol.com/opensource/nagios/check-logfiles/examples or in german at http://www.consol.de/opensource/nagios/check-logfiles/beispiele Greetings from Munich, Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rex at 2020media.com Mon Jun 4 15:53:22 2007 From: rex at 2020media.com (Rex Wickham (2020Media.com)) Date: Mon, 04 Jun 2007 14:53:22 +0100 Subject: check_mrtg Message-ID: <46641952.5090506@2020media.com> Can anyone tell me how to check for a decrease rather than an increase in traffic (in the check_mrtg plugin or any other plugin)? The help message says If the value exceeds the threshold, a WARNING status is returned. If the value exceeds the threshold, a CRITICAL status is returned. I want to get an alert if traffic drops suddenly as well as increases suddenly Thanks in advance REX ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Mon Jun 4 18:51:18 2007 From: apereira at duocom.ca (Antonio Pereira) Date: Mon, 4 Jun 2007 12:51:18 -0400 Subject: DHCP issue Message-ID: <2FAF78EDA2D2DF4EB656ABB3339FD105449928@mtlexchange.Duocom.local> Hello, I am having a problem with the DHCP command. I am running Fedora 6 Nagios 2.7 Nagios Plugins 1.4.9 I added the command definition and then added it to the localhost file ad I am receiving this error message CRITICAL: No DHCPOFFERs were received. Any ideas? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Jun 4 19:27:14 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 04 Jun 2007 18:27:14 +0100 Subject: DHCP issue In-Reply-To: <2FAF78EDA2D2DF4EB656ABB3339FD105449928@mtlexchange.Duocom.local> References: <2FAF78EDA2D2DF4EB656ABB3339FD105449928@mtlexchange.Duocom.local> Message-ID: <46644B72.6030502@googlemail.com> are you running it as root? it need root privs in order to manipulate the socket for dhcp. also, have you tried running it with -vvv to see the debug output. paste that back here. it might be even be the case that there is no dhcp currently running or it may be on a different subnet where the DHCPREQUEST broadcasts don't reach or something... more info needed. -h Hari Sekhon Antonio Pereira wrote: > > Hello, > > > > I am having a problem with the DHCP command. > > > > I am running > > > > Fedora 6 > > Nagios 2.7 > > Nagios Plugins 1.4.9 > > > > I added the command definition and then added it to the localhost file > ad I am receiving this error message > > > > CRITICAL: No DHCPOFFERs were received. > > > > Any ideas? > > > Thanks > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Mon Jun 4 19:39:41 2007 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Mon, 4 Jun 2007 13:39:41 -0400 Subject: Citrix In-Reply-To: <2FAF78EDA2D2DF4EB656ABB3339FD105449928@mtlexchange.Duocom.local> References: <2FAF78EDA2D2DF4EB656ABB3339FD105449928@mtlexchange.Duocom.local> Message-ID: Does anyone else have a citrix farm of machines to suport? How do you moniotor them with Nagios? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rholtz at midwestheart.com Mon Jun 4 19:49:51 2007 From: rholtz at midwestheart.com (Holtz, Ray) Date: Mon, 4 Jun 2007 12:49:51 -0500 Subject: Citrix In-Reply-To: References: <2FAF78EDA2D2DF4EB656ABB3339FD105449928@mtlexchange.Duocom.local> Message-ID: We have about 10 citrix servers, and we set them up just a regular, member server, or like anything else we need to monitor. We also mo0nitor the Citrix XML Service, and the Independent Management Architecture Service. I hope this helps you! -------------- Ray Holtz rholtz at midwestheart.com 630-324-7087 From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark.Law at thomson.com Sent: Monday, June 04, 2007 12:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Citrix Does anyone else have a citrix farm of machines to suport? How do you moniotor them with Nagios? ==================================================================== This e-mail is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient, you are hereby notified that any disclosure, distribution, or copying of this information is strictly prohibited. If you have received this e-mail in error, please notify the sender and discard all content. Midwest Heart Specialists ===================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Mon Jun 4 19:55:51 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Mon, 4 Jun 2007 13:55:51 -0400 Subject: identifying the slow check Message-ID: <20070604175551.GA98761@bewilderbeast.blackhelicopters.org> Hi, I've followed the advice for optimizing Nagios from the FAQ, and get the following performance stats. Check Execution Time: 0.01 sec 10.01 sec 0.248 sec Check Latency: 0.00 sec 2.31 sec 0.144 sec Percent State Change: 0.00% 6.25% 0.08% Overall, the times are pretty good, but my maximum check time is pretty consistently about 10 seconds. I'd like to identify which check(s) that is. I'm sure it can either be optimized away or performed in some other manner. Any suggestions? Thanks much, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Mon Jun 4 20:54:37 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Mon, 04 Jun 2007 13:54:37 -0500 Subject: identifying the slow check In-Reply-To: <20070604175551.GA98761@bewilderbeast.blackhelicopters.org> References: <20070604175551.GA98761@bewilderbeast.blackhelicopters.org> Message-ID: <46645FED.2020703@epsiia.com> Michael W. Lucas wrote: > Hi, > > I've followed the advice for optimizing Nagios from the FAQ, and get > the following performance stats. > > Check Execution Time: 0.01 sec 10.01 sec 0.248 sec > Check Latency: 0.00 sec 2.31 sec 0.144 sec > Percent State Change: 0.00% 6.25% 0.08% > > Overall, the times are pretty good, but my maximum check time is > pretty consistently about 10 seconds. > > I'd like to identify which check(s) that is. I'm sure it can either > be optimized away or performed in some other manner. Any suggestions? > Hi, Is that host or service? I'm guessing it's host and that you have the host check set to 1 ping and the max_check_attempts set to 10 (I'm only guessing because my host performance #s are almost exactly the same as yours). If so, there's nothing you can do about it (because it will happen whenever a host is down), and I don't think of it as a problem, since your avg. execution time and latency are well under 1 sec. I would be more worried about the avg. service execution time & latency (again, the execution time max will probably be whatever your Nagios service_check_timeout value is set to, unless you have no problems on your network). Here's my current host check stats: Check Execution Time: 0.01 sec 10.02 sec 0.463 sec Check Latency: 0.00 sec 2.16 sec 0.011 sec Percent State Change: 0.00% 9.34% 0.13% current service stats: Check Execution Time: 0.02 sec 60.01 sec 0.214 sec Check Latency: 0.00 sec 0.37 sec 0.136 sec Percent State Change: 0.00% 38.29% 0.14% cheers, - Josh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From service at shdawson.com Mon Jun 4 21:06:40 2007 From: service at shdawson.com (Stephen H. Dawson) Date: Mon, 4 Jun 2007 15:06:40 -0400 Subject: Looking for MODBUS Info Message-ID: <002801c7a6db$7c08ab20$0b0a0a0a@CONTENT> Hi, I am looking to interface with a power meter that uses MODBUS: http://www.emon.com/products_class3000.htm The Point Map is: http://www.emon.com/pdfs/3000Modbuspointmap.pdf Do know if I need to get another project to work with Nagios, or will Nagios do this MODBUS over TCP/IP protocol and interface with it directly? I really looks like what I see in Ethereal (now Wireshark). Your feedback is greatly appreciated. Kindly, Stephen H. Dawson ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trandism at anadelta.com Mon Jun 4 22:31:49 2007 From: trandism at anadelta.com (Nikos Sarakenidis) Date: Mon, 04 Jun 2007 23:31:49 +0300 Subject: Old services - though removed from generic-service_nagios2.cfg - keep sending alerts Message-ID: <466476B5.2000506@anadelta.com> Well the subject of this is really self-explanatory.. Although I have removed certain service definitions from the .cfg file and restarted nagios, the aforementioned services keep sending mail alerts as if no change in the configuration was made.. Thanks in advance for any feedback on this one.. Cheers Nikos Sarakenidis Athens, Greece P.S Nagios 2.4 as apt-get installed on an Edgy-Eft Server Edition x86_64 platform ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akennedy at cyberlinkint.com Mon Jun 4 23:06:41 2007 From: akennedy at cyberlinkint.com (Adam Kennedy) Date: Mon, 04 Jun 2007 17:06:41 -0400 Subject: Nagios box latancy + tuning Message-ID: <46647EE1.6010401@cyberlinkint.com> I'm having one heck of a time trying to get my service checks to be something reasonable. They are 60 seconds or less for a few minutes after starting nagios, then the service latency increases to 80 seconds or higher (usually if left go, it ranges in 120 to 160seconds or higher). Host check latency is 0 seconds. Host check is check_fping The various service checks are ping (via check_fping), roughly 5 snmp services per host, and telnet for a handful of them. There are 440 hosts, and roughly 1600 services being checked. I've followed the tuning guide on the nagios website and have done all applicable items, I think. The max_concurrent_checks is 900. Server hardware specs: - Intel Core 2 Duo 2.13Ghz - 3Ware 9550SX RAID card - Three Seagate 250Gb SATA drives running in RAID-5 - Broadcom Gigabit NIC, onboard - 3Gb of DDR2 5300 RAM - Linux Kernel 2.6.21.3 - Slackware 11.0 Any ideas? I'm going insane over here trying to figure this out. The same server also runs MySQL and Cacti. Cacti graphs roughly the same amount of services and the same number of hosts. For the tuning of nagios, I have cacti completely turned off. -- Adam Kennedy Network Administrator Cyberlink International Phone: 888-293-3693 x4352 Fax: 888-293-3995 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Jun 4 23:15:13 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 4 Jun 2007 14:15:13 -0700 Subject: Old services - though removed from generic-service_nagios2.cfg - keep sending alerts In-Reply-To: <466476B5.2000506@anadelta.com> References: <466476B5.2000506@anadelta.com> Message-ID: <20070604211513.GX12840@pmorris.usa.hp.com> On Mon, 04 Jun 2007, Nikos Sarakenidis wrote: > Well the subject of this is really self-explanatory.. Although I have > removed certain service definitions from the .cfg file and restarted > nagios, the aforementioned services keep sending mail alerts as if no > change in the configuration was made.. Stop Nagios. Make sure it's fully stopped -- no processes anmed "nagios" running in a "ps". Then start it back up. If that doesn't work, you haven't removed the services. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.tjang at ask.com Tue Jun 5 02:40:27 2007 From: andrew.tjang at ask.com (Andrew Tjang) Date: Mon, 4 Jun 2007 20:40:27 -0400 Subject: Nagios Scalability Issues In-Reply-To: References: Message-ID: <57B8C921BBE8FF4982FA726D39BC60EF01CA5A32@SITE2MAIL01.jeeves.ask.info> Hello everyone, I think we are facing a scalability issue in nagios. We are currently monitoring appx 11000 services (spread out over a thousand or so hosts. (give or take) Everything is done in passive checks, so no active checks are done. We have a cron job that runs to feed the nagios.cmd file with external service checks. This is a nightmare, as nagios does not finish processing all of the passive service checks before the next set of service checks comes in. This leads to the forking of many nagios instances that never finish. In an attempt to fix this situation, we have broken up monitoring into smaller chunks, each with it's own nagios daemon (all integrated into one gui). We have managed to make sure the above mentioned fork bomb effect does not occur. We have divided the logical partitions into groups of 1000, 3000, and 4000. The multiple groups of 1000 run fine with the cron job feeding service checks at a frequency of 1 batch per 5 minutes. However, with the 3K/4K instances, we must set the frequency to greater than 15 minutes to avoid the fork bombing problem. My questions are these: 1) is this scalability problem normal? 2) is there a way to fix this scalability problem? 3) is there anything we can do to increase the frequency of the checks? - one idea is to spread the actual service checks out to give nagios time to process them (rather than 1K at a time, perhaps give a few hundred, sleep a bit, and then give a few more, etc. Thanks in advance for all your input. -Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at elan.net Tue Jun 5 06:45:09 2007 From: william at elan.net (william(at)elan.net) Date: Mon, 4 Jun 2007 21:45:09 -0700 (PDT) Subject: identifying the slow check In-Reply-To: <20070604175551.GA98761@bewilderbeast.blackhelicopters.org> References: <20070604175551.GA98761@bewilderbeast.blackhelicopters.org> Message-ID: http://william.leibzon.org/nagios/profile_nagios_executiontime.pl On Mon, 4 Jun 2007, Michael W. Lucas wrote: > Hi, > > I've followed the advice for optimizing Nagios from the FAQ, and get > the following performance stats. > > Check Execution Time: 0.01 sec 10.01 sec 0.248 sec > Check Latency: 0.00 sec 2.31 sec 0.144 sec > Percent State Change: 0.00% 6.25% 0.08% > > Overall, the times are pretty good, but my maximum check time is > pretty consistently about 10 seconds. > > I'd like to identify which check(s) that is. I'm sure it can either > be optimized away or performed in some other manner. Any suggestions? > > Thanks much, > ==ml ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arun26282 at gmail.com Tue Jun 5 08:14:20 2007 From: arun26282 at gmail.com (Arun Sharma) Date: Tue, 5 Jun 2007 11:44:20 +0530 Subject: help, not able to monitor windows machine using nagios Message-ID: <84cdda0f0706042314v684338fcjd0b6fd8a184ce8a@mail.gmail.com> I am using nagios version 2.3.1 and i want to monitor windows machine using it. I have configured it and added hosts and services. i am able to get the status( local disk , total processes) of local host of nagios server, but i am not able to view these details for windows systems. i have install the NSClient agent in windows machine and change its inf file, but still i am not able to monitor windows machine. the windows machine and NAGIOS server are in same subnet, i have written some command using check_nt plugin for local disk space, total process, but it is not working.some default values are showen for each system whether it is local host or any other windows machine the error is given below so plese tell me is there any other tools which i will have to install, or will i have to install nrpe for monitor windows, and please tell me the changes which we have to made in NSClient++ configuration file. i have used these coding for configuring nagios for windows *Monitoring Services* Now that the NSCLient++ addon has been installed on the Windows machine and you've configured a host definition for the machine in Nagios, you can addon some service definitions for things you want to monitor. All of the service examples I'll cover use the *check_nt* plugin to talk to the NSClient++ addon on the Windows machine. The *check_nt* plugin is included in the Nagios plugins distribution and a command definition for using the plugin has been defined in the *commands.cfg* file. It looks like this: define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ } Now let's go over some example service definitions for monitoring different aspects of the Windows machine... *Monitoring NSCLient++ Version* The following service definition will allow you to monitor the version of the NSClient++ addon that is running on the Windows server. This is useful when it comes time to upgrade your Windows servers to a newer version of the addon. define service{ use generic-service host_name winserver service_description NSClient++ Version check_command check_nt!CLIENTVERSION } *Monitoring Uptime* The following service definition will allow you to monitor the uptime of the Windows server. define service{ use generic-service host_name winserver service_description Uptime check_command check_nt!UPTIME } *Monitoring CPU Load* The following service definition will monitor the CPU utilization on the Windows server and generate a CRITICAL alert if the 5-minute CPU load is 90% or more or a WARNING alert if the 5-minute load is 80% or greater. define service{ use generic-service host_name winserver service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } *Monitoring Memory Usage* The following service definition will monitor memory usage on the Windows server and generate a CRITICAL alert if memory usage is 90% or more or a WARNING alert if memory usage is 80% or greater. define service{ use generic-service host_name winserver service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } *Monitoring Disk Usage* The following service definition will monitor usage of the C:\ drive on the Windows server and generate a CRITICAL alert if disk usage is 90% or more or a WARNING alert if disk usage is 80% or greater. define service{ use generic-service host_name winserver service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } *Monitoring A Windows Service* The following service definition will monitoring the W3SVC service state on the Windows machine and generate a CRITICAL alert if the service is stopped. define service{ use generic-service host_name winserver service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } *Monitoring A Windows Process* The following service definition will monitoring the Explorer.exe process on the Windows machine and generate a CRITICAL alert if the process is not running. define service{ use generic-service host_name winserver service_description Explorer check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jun 5 08:23:42 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 5 Jun 2007 07:23:42 +0100 Subject: Nagios box latancy + tuning In-Reply-To: <46647EE1.6010401@cyberlinkint.com> References: <46647EE1.6010401@cyberlinkint.com> Message-ID: <765d77c80706042323k44b368b6w8c93e030306a37b0@mail.gmail.com> On 04/06/07, Adam Kennedy wrote: > I'm having one heck of a time trying to get my service checks to be > something reasonable. They are 60 seconds or less for a few minutes > after starting nagios, then the service latency increases to 80 seconds > or higher (usually if left go, it ranges in 120 to 160seconds or higher). > > Host check latency is 0 seconds. > Host check is check_fping > > The various service checks are ping (via check_fping), roughly 5 snmp > services per host, and telnet for a handful of them. > > > There are 440 hosts, and roughly 1600 services being checked. > I've followed the tuning guide on the nagios website and have done all > applicable items, I think. The max_concurrent_checks is 900. > > > Server hardware specs: > - Intel Core 2 Duo 2.13Ghz > - 3Ware 9550SX RAID card > - Three Seagate 250Gb SATA drives running in RAID-5 > - Broadcom Gigabit NIC, onboard > - 3Gb of DDR2 5300 RAM > - Linux Kernel 2.6.21.3 > - Slackware 11.0 > > > Any ideas? I'm going insane over here trying to figure this out. The > same server also runs MySQL and Cacti. Cacti graphs roughly the same > amount of services and the same number of hosts. For the tuning of > nagios, I have cacti completely turned off. If you're running NDOUtils, try tuning the size of some of the tables down or set up a suitable index on the biggest tables. There's a problem with full table scans on the deletion of old records which was discussed on this list a few weeks ago which might be contributing to the problem. (did we every come to a conclusion about what index to use, I can't remember?) If all of your checks run once a minute, consider whether it's a appropriate for all of them to run that frequently and maybe configure some to run every 5 minutes. I run disk space checks every 30 minutes or so usually to free up time for other checks to run. I also categorise servers into Gold, Silver and Bronze and run the most frequent checks only on the Gold and Silver servers. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Tue Jun 5 09:50:28 2007 From: chiel at gmx.net (chiel) Date: Tue, 5 Jun 2007 09:50:28 +0200 Subject: Load on a nagios server that only does notifications Message-ID: <003501c7a746$2fbaa960$570010ac@michiel> Hi all, I thinking about to do all of my checks trough slave servers using nsca and to use one master server for notification (e-mail and sms) and the nagios website. The load will spread over the slave servers. But I wondering what load I can expect on the server that only does the notification and website. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcavoy at ca.afilias.info Tue Jun 5 10:06:44 2007 From: smcavoy at ca.afilias.info (Sean McAvoy) Date: Tue, 05 Jun 2007 04:06:44 -0400 Subject: Load on a nagios server that only does notifications In-Reply-To: <003501c7a746$2fbaa960$570010ac@michiel> References: <003501c7a746$2fbaa960$570010ac@michiel> Message-ID: <46651994.7080309@ca.afilias.info> Depends on the amount of alerts / hardware. I've got about 1000 checks, 120 hosts spread across 4 "slaves", we get few alerts per day (50 or so in 24hrs). I have it running in a VMware server VM using dual (2ghz opteron) processors and 1gb ram it sits between 0.00 an 0.23 so pretty much nothing It previously ran on one machine with 1 1.7ghz athlon and 1.5gb ram, along with many other custom tools, the average load was about 4.00 or so Hope that helps. chiel wrote: > Hi all, > > I thinking about to do all of my checks trough slave servers using nsca and to use one master server for notification (e-mail and sms) and the nagios website. > The load will spread over the slave servers. But I wondering what load I can expect on the server that only does the notification and website. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gerold.mauch at seag.de Tue Jun 5 11:45:46 2007 From: gerold.mauch at seag.de (Mauch Gerold IT10) Date: Tue, 5 Jun 2007 11:45:46 +0200 Subject: Missing "HOST UP" notifications after host recovery but Nagios seeing host as UP Message-ID: > Hi all, > > I'm using nagios to monitor ~300 hosts and ~3000 services. > When I host goes down, it often recovers without a nagios > notification. Nagios sees the host as up, but does send a recovery > notification. Notification history doesn't even show a "HOST UP" > notification. > Sometimes, I see a HOST UP. I'm working with a 24x7 interval, so it's > not an interval issue. > > myhost.mydomain.local N/A HOST DOWN 31-05-2007 07:30:57 > admins host-notify > > FPING CRITICAL - Myhost.mydomain.local (loss=100% ) > myhost.mydomain.local N/A HOST DOWN 31-05-2007 06:13:01 > admins host-notify > > FPING CRITICAL - Myhost.mydomain.local (loss=100% ) > myhost.mydomain.local N/A HOST DOWN 31-05-2007 06:12:09 > admins host-notify > > FPING CRITICAL - Myhost.mydomain.local (loss=100% ) > > As I don't see a HOST UP notification in nagios history I believe that > it is a bug or configuration issue. > HOST DOWN-Notifications are sent, so I don't believe it to be an error > calling the host-notify command. > > Pls can anybody help? > > define host { > name generic-host ; The name of this > host template > notifications_enabled 1 ; Host notifications > are enabled > event_handler_enabled 0 ; Host event handler > is enabled > flap_detection_enabled 0 ; Flap detection is > enabled > failure_prediction_enabled 0 ; Failure prediction > is enabled > process_perf_data 0 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > max_check_attempts 4 > notification_interval 0 > notification_period 24x7 > notification_options d,r > check_command check-host-alive > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > define host { > use generic-host ; Name of host template to use > host_name myhost.mydomain.local > alias myhost > address myhost.mydomain.local > contact_groups admins > } > > define contactgroup { > contactgroup_name admins > alias Nagios Administrators > members admin1 > } > > define contact { > contact_name admin1 > alias admin1 > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,c,r > host_notification_options d,r > service_notification_commands service-notify > host_notification_commands host-notify > email admin at mydomain.local > pager 0123456789 > } > > Cheers, > Gerold > > > Schweizer Electronic Aktiengesellschaft Vorsitzender des Aufsichtsrates: Dipl.-Ing. Christoph Schweizer Vorstand: Rainer Hartel (Vorsitzender), Rudolf Schmider, Dr. Marc Schweizer Sitz der Gesellschaft: Schramberg Registergericht: Amtsgericht Stuttgart, HRB 480540 UST-Idnr.: DE 142650000 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Tue Jun 5 13:05:55 2007 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 5 Jun 2007 13:05:55 +0200 Subject: Nagios - Plugin for FireFox Message-ID: <60721B67EAF0994EAFFB561767B700140125D863@nets13ha.ww300.siemens.net> ... you maybe already know: https://addons.mozilla.org/de/firefox/addon/3607 Chris ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trandism at anadelta.com Tue Jun 5 13:21:13 2007 From: trandism at anadelta.com (ns) Date: Tue, 05 Jun 2007 14:21:13 +0300 Subject: Old services - though removed from generic-service_nagios2.cfg - keep sending alerts In-Reply-To: <20070604211513.GX12840@pmorris.usa.hp.com> References: <466476B5.2000506@anadelta.com> <20070604211513.GX12840@pmorris.usa.hp.com> Message-ID: <46654729.80405@anadelta.com> Patrick Morris wrote: > On Mon, 04 Jun 2007, Nikos Sarakenidis wrote: > > >> Well the subject of this is really self-explanatory.. Although I have >> removed certain service definitions from the .cfg file and restarted >> nagios, the aforementioned services keep sending mail alerts as if no >> change in the configuration was made.. >> > > Stop Nagios. Make sure it's fully stopped -- no processes anmed "nagios" > running in a "ps". Then start it back up. > > If that doesn't work, you haven't removed the services. > You are right of course.. There was another nagios process stuck. After killing that one too, and restarting nagios, everything worked as expected.. Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Jun 5 14:22:19 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 05 Jun 2007 13:22:19 +0100 Subject: DHCP issue In-Reply-To: <2FAF78EDA2D2DF4EB656ABB3339FD1054499BD@mtlexchange.Duocom.local> References: <2FAF78EDA2D2DF4EB656ABB3339FD105449928@mtlexchange.Duocom.local> <46644B72.6030502@googlemail.com> <2FAF78EDA2D2DF4EB656ABB3339FD1054499BD@mtlexchange.Duocom.local> Message-ID: <4665557B.20103@googlemail.com> oh yeah, one more thing, have you checked that the interface is the right one? eg, on one server, the this doesn't work by default because eth0 is not used, instead eth1 is used. therefore I need to pass -i eth1 to the dhcp plugin in order to send it out of the right network port. Check you are using the right interface where the interface works and there is a dhcp server working on that lan segment. It would help to provide the exact command you are typing, perhaps with an ifconfig as well. -h Hari Sekhon Antonio Pereira wrote: > I am running it as root. > > Here is the result of the -vvv > > > > DHCP socket: 3 > Hardware address: 004854652fac > DHCPDISCOVER to 255.255.255.255 port 67 > DHCPDISCOVER XID: 1101264540 (0x41A3F69C) DHCDISCOVER ciaddr: 0.0.0.0 > DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER > giaddr: 0.0.0.0 send_dhcp_packet result: 548 > > > > > No (more) data received > Result=ERROR > Total responses seen on the wire: 0 > Valid responses for this machine: 0 > CRITICAL: No DHCPOFFERs were received. > > > > > > > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Sent: Monday, June 04, 2007 1:27 PM > To: Antonio Pereira > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] DHCP issue > > are you running it as root? it need root privs in order to manipulate > the socket for dhcp. > > also, have you tried running it with -vvv to see the debug output. > > paste that back here. > > it might be even be the case that there is no dhcp currently running or > it may be on a different subnet where the DHCPREQUEST broadcasts don't > reach or something... > > more info needed. > > -h > > Hari Sekhon > > > > Antonio Pereira wrote: > >> Hello, >> >> >> >> I am having a problem with the DHCP command. >> >> >> >> I am running >> >> >> >> Fedora 6 >> >> Nagios 2.7 >> >> Nagios Plugins 1.4.9 >> >> >> >> I added the command definition and then added it to the localhost file >> > > >> ad I am receiving this error message >> >> >> >> CRITICAL: No DHCPOFFERs were received. >> >> >> >> Any ideas? >> >> >> Thanks >> >> >> > ------------------------------------------------------------------------ > >> > ------------------------------------------------------------------------ > - > >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> >> > ------------------------------------------------------------------------ > >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Tue Jun 5 15:02:51 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 5 Jun 2007 14:02:51 +0100 Subject: Service check timing out Message-ID: I have a service check that takes more than 60 seconds to run. Despite calling check_nrpe with option "-t 120", the check times out with the message "NRPE: Command timed out after 60 seconds". The parameter "service_check_timeout" in nagios.cfg is set to 120 seconds as well. Any ideas ? Is there a maximum timeout in check_nrpe ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Tue Jun 5 15:43:12 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 5 Jun 2007 09:43:12 -0400 Subject: identifying the slow check In-Reply-To: References: <20070604175551.GA98761@bewilderbeast.blackhelicopters.org> Message-ID: <20070605134312.GA4897@bewilderbeast.blackhelicopters.org> Actually, this is very interesting. I found and killed my slow check (a fping, as someone else suggested). Running the profile script below gives me: Total Execution Time: 47 (sec) NumChecks: 144 Average Time: 0.332 (sec) >From reading status.dat, this is about what I'd expect. On the other hand, the "Active Service Checks" in the Web interface shows very different numbers: Active Service Checks: Time Frame Checks Completed <= 1 minute: 44 (30.6%) <= 5 minutes: 144 (100.0%) <= 15 minutes: 144 (100.0%) <= 1 hour: 144 (100.0%) Since program start: 144 (100.0%) Does the Web present a long-term average or some such? Thanks, ==ml On Mon, Jun 04, 2007 at 09:45:09PM -0700, william(at)elan.net wrote: > > http://william.leibzon.org/nagios/profile_nagios_executiontime.pl > > On Mon, 4 Jun 2007, Michael W. Lucas wrote: > > >Hi, > > > >I've followed the advice for optimizing Nagios from the FAQ, and get > >the following performance stats. > > > >Check Execution Time: 0.01 sec 10.01 sec 0.248 sec > >Check Latency: 0.00 sec 2.31 sec 0.144 sec > >Percent State Change: 0.00% 6.25% 0.08% > > > >Overall, the times are pretty good, but my maximum check time is > >pretty consistently about 10 seconds. > > > >I'd like to identify which check(s) that is. I'm sure it can either > >be optimized away or performed in some other manner. Any suggestions? > > > >Thanks much, > >==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Tue Jun 5 16:11:02 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Tue, 5 Jun 2007 10:11:02 -0400 Subject: Host shown down but not down on Nagios Message-ID: <7abcf48e0706050711x59b1c5dbn540f6ef4fd589eed@mail.gmail.com> Hey everyone i have nagios 2.4 and i am monitoring about 500 services i have a problem with one of my hosts is shown in critical can not ping state but it can ping everything else fine its not disconnected i ca even ping the device from my laptop its up but shown in red as down?? also my harddrive is filling up really quickly and i mean really quickly it writes like 5GB per 1hour to sql database how can i stop this? i am also running cacti just an fyi but everything has been working for 6 months with no problem of any sort -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 5 16:33:50 2007 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jun 2007 09:33:50 -0500 Subject: Host shown down but not down on Nagios In-Reply-To: <7abcf48e0706050711x59b1c5dbn540f6ef4fd589eed@mail.gmail.com> References: <7abcf48e0706050711x59b1c5dbn540f6ef4fd589eed@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nedim Bicic > Sent: Tuesday, June 05, 2007 9:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host shown down but not down on Nagios > > Hey everyone i have nagios 2.4 and i am monitoring about 500 services i > have a problem with one of my hosts is shown in critical can not ping > state but it can ping everything else fine its not disconnected i ca even > ping the device from my laptop its up but shown in red as down?? Verify that the host check returns the proper state when run as the nagios user from the command line. Verify that you can ping the host from the nagios command line. If you need help, provide the status information, host definition and referenced command definition. > also my harddrive is filling up really quickly and i mean really quickly > it writes like 5GB per 1hour to sql database how can i stop this? Fix or disable whatever is filling up your sql database. A standard Nagios install doesn't use sql and we can't/won't guess at what might be filling it up. You know your server better than anyone on this list (or should). -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 5 16:59:49 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 5 Jun 2007 16:59:49 +0200 Subject: error on nsclient++ Message-ID: <001301c7a782$2a7e3610$0900d40a@intranet.it.net> Hi all. Last night , NSClient++ gave me an error that I do not understand. error:.\PDHCollector.cpp:143: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: : -2147481642 Before to record that message in the log file, the Agent hang for about 6 hours. Any idea? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mab.lists at gmail.com Tue Jun 5 17:06:38 2007 From: mab.lists at gmail.com (MAB-L) Date: Tue, 5 Jun 2007 15:06:38 +0000 Subject: NRPE weird behavior Message-ID: <3fe582a60706050806v74839a8dt5fea2d95557f3623@mail.gmail.com> All the others checks are working fine. ideas? [root at tls ~]# /usr/local/libexec/nagios/check_disk -w 10% -c 5% -p /var/mysql/database DISK WARNING - free space: /var/mysql/database 4918 MB (7% inode=99%);| /var/mysql/database=65049MB;62970;66468;0;69967 [root at tls ~]# /usr/local/libexec/nagios/check_nrpe -n -H 127.0.0.1 -c check_disk_mysqldb DISK CRITICAL - /var/mysql/database does not exist nrpe.cfg pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=_nrpe nrpe_group=_nrpe allowed_hosts=127.0.0.1,*.*.*.* dont_blame_nrpe=0 debug=0 command_timeout=60 command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk_root]=/usr/local/libexec/nagios/check_disk -w 20% -c 10% -p / command[check_disk_mysql]=/usr/local/libexec/nagios/check_disk -w 10% -c 5% -p /var/mysql command[check_disk_mysqldb]=/usr/local/libexec/nagios/check_disk -w 10% -c 5% -p /var/mysql/databse command[check_mem]=/usr/local/libexec/nagios/check_mem -v -w 70% -c 90% command[check_swap]=/usr/local/libexec/nagios/check_swap -v -w 50% -c 30% -- Marcelo][MAB ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 5 17:16:33 2007 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jun 2007 10:16:33 -0500 Subject: NRPE weird behavior In-Reply-To: <3fe582a60706050806v74839a8dt5fea2d95557f3623@mail.gmail.com> References: <3fe582a60706050806v74839a8dt5fea2d95557f3623@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of MAB-L > Sent: Tuesday, June 05, 2007 10:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE weird behavior > > All the others checks are working fine. > > ideas? > > [root at tls ~]# /usr/local/libexec/nagios/check_disk -w 10% -c 5% -p > /var/mysql/database > DISK WARNING - free space: /var/mysql/database 4918 MB (7% > inode=99%);| /var/mysql/database=65049MB;62970;66468;0;69967 Of course, nagios _isn't_ executing this plugin as root so neither should you. > [root at tls ~]# /usr/local/libexec/nagios/check_nrpe -n -H 127.0.0.1 -c > check_disk_mysqldb > DISK CRITICAL - /var/mysql/database does not exist Smells like a permissions issue. Does the user '_nrpe' have read permissions for that mount point? Do you see success if you run your first test as _nrpe? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mab.lists at gmail.com Tue Jun 5 19:00:08 2007 From: mab.lists at gmail.com (MAB-L) Date: Tue, 5 Jun 2007 17:00:08 +0000 Subject: NRPE weird behavior In-Reply-To: <3fe582a60706050839r666bc6c0p197ad9f99dbb79e@mail.gmail.com> References: <3fe582a60706050806v74839a8dt5fea2d95557f3623@mail.gmail.com> <3fe582a60706050839r666bc6c0p197ad9f99dbb79e@mail.gmail.com> Message-ID: <3fe582a60706051000x537083b9je3840d9f82709941@mail.gmail.com> On 6/5/07, Marc Powell wrote: > > Of course, nagios _isn't_ executing this plugin as root so neither > should you. I know, I did the right tests, this is only the c&p. > Smells like a permissions issue. Does the user '_nrpe' have read > permissions for that mount point? Do you see success if you run your > first test as _nrpe? Smelled it too. (when I ran the nrpe as other users) Solved adding the user nrpe to the mysql grp. I didn't like it too much, but I ll figure out those permissions later. Thanks -- Marcelo][MAB ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David.Berg at Cerner.com Tue Jun 5 19:00:57 2007 From: David.Berg at Cerner.com (Berg,David) Date: Tue, 5 Jun 2007 12:00:57 -0500 Subject: AIX NRPE questions Message-ID: <12FB73B5B2D7374E8B9B93FB930688B205F57405@MSMBWHQ12.northamerica.cerner.net> Hi, I was hoping someone might have some advice for me regarding monitoring AIX nodes. I am attempting to get NRPE 2.8.1 running on AIX 5.3, so far without any luck. Following the NRPE.pdf documentation (http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf), I was able to configure without ssl and install using the GCC compiler. I then added a line to the /etc/inetd.conf file as follows: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -I Added this to /etc/services: nrpe 5666/tcp # NRPE for Nagios Netstat looks good: netstat -at | grep nrpe tcp4 0 0 *.nrpe *.* LISTEN I also added the ip address of the local node to the nrpe.cfg file and have confirmed that the nagios user and group own the related directories and files. However, when I try to start nrpe, via the command line or by refreshing inetd, it doesn't start and doesn't give me any errors. For example: /etc> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i /etc> ps -ef | grep nrpe root 2072804 2019568 0 15:47:11 pts/1 0:00 grep nrpe /etc> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d /etc> ps -ef | grep nrpe root 2478206 2019568 0 15:47:24 pts/1 0:00 grep nrpe Does anyone have any idea what I'm missing here? Also, does anyone know of any Nagios documentation for AIX? I have not had a lot of luck with http://www.nagioscommunity.org/wiki. Thanks for any help, David Berg ---------------------------------------------------------------------- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at groundworkopensource.com Tue Jun 5 19:21:49 2007 From: hmann at groundworkopensource.com (Harper Mann) Date: Tue, 05 Jun 2007 10:21:49 -0700 Subject: Nagios Scalability Issues In-Reply-To: <57B8C921BBE8FF4982FA726D39BC60EF01CA5A32@SITE2MAIL01.jeeves.ask.info> References: <57B8C921BBE8FF4982FA726D39BC60EF01CA5A32@SITE2MAIL01.jeeves.ask.info> Message-ID: <46659BAD.7010405@groundworkopensource.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Jun 5 19:24:11 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 5 Jun 2007 13:24:11 -0400 Subject: AIX NRPE questions In-Reply-To: <12FB73B5B2D7374E8B9B93FB930688B205F57405@MSMBWHQ12.northamerica.cerner.net> References: <12FB73B5B2D7374E8B9B93FB930688B205F57405@MSMBWHQ12.northamerica.cerner.net> Message-ID: <2274b9c30706051024s59eec9ccgec6a59ce2c169c24@mail.gmail.com> Are you running from inetd AND trying to start in daemon mode? If so, that's your problem. It's one or the other. --kyleo On 6/5/07, Berg,David wrote: > Hi, I was hoping someone might have some advice for me regarding > monitoring AIX nodes. > > I am attempting to get NRPE 2.8.1 running on AIX 5.3, so far without any > luck. > > Following the NRPE.pdf documentation > (http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf), I was able to > configure without ssl and install using the GCC compiler. I then added a > line to the /etc/inetd.conf file as follows: > > nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c > /usr/local/nagios/etc/nrpe.cfg -I > > Added this to /etc/services: > nrpe 5666/tcp # NRPE for Nagios > > Netstat looks good: > netstat -at | grep nrpe > tcp4 0 0 *.nrpe *.* > LISTEN > > I also added the ip address of the local node to the nrpe.cfg file and > have confirmed that the nagios user and group own the related > directories and files. > > However, when I try to start nrpe, via the command line or by refreshing > inetd, it doesn't start and doesn't give me any errors. For example: > > /etc> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > /etc> ps -ef | grep nrpe > root 2072804 2019568 0 15:47:11 pts/1 0:00 grep nrpe > /etc> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d > /etc> ps -ef | grep nrpe > root 2478206 2019568 0 15:47:24 pts/1 0:00 grep nrpe > > Does anyone have any idea what I'm missing here? Also, does anyone know > of any Nagios documentation for AIX? I have not had a lot of luck with > http://www.nagioscommunity.org/wiki. > > Thanks for any help, > David Berg > > ---------------------------------------------------------------------- > CONFIDENTIALITY NOTICE This message and any included attachments are from > Cerner Corporation and are intended only for the addressee. The information > contained in this message is confidential and may constitute inside or > non-public information under international, federal, or state securities > laws. Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you are not > the addressee, please promptly delete this message and notify the sender of > the delivery error by e-mail or you may call Cerner's corporate offices in > Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, > Registered in England no 2519305, Registered Office 37 North Wharf Road, > London W2 1AF. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 5 19:29:13 2007 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jun 2007 12:29:13 -0500 Subject: Nagios Scalability Issues In-Reply-To: <46659BAD.7010405@groundworkopensource.com> References: <46659BAD.7010405@groundworkopensource.com> Message-ID: Another not-so-random suggestion would be to try disabling notifications on a program-wide basis and see if there is a change. I assume that you've already set command_check_interval to -1. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Harper Mann > Sent: Tuesday, June 05, 2007 12:22 PM > To: Andrew Tjang > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Scalability Issues > > Are you running active host checks? > You might try turning off host checks altogether as an experiment to see > if scaling improves. > 1000 hosts and 11,000 services is large. > Regards, > - Harper > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Tue Jun 5 19:30:06 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Tue, 5 Jun 2007 13:30:06 -0400 Subject: service dependencies and failover In-Reply-To: References: <002e01c7a44f$38974d80$6601a8c0@Masoud> Message-ID: <001c01c7a797$29326fa0$910aa8c0@Masoud> I was thinking more towards using the event handlers and service dependencies; With the rapper it would be necessary to wrap each one of the checks in a separate wrapper script; (if I am not mistaken). +++++++++++++++++++++++++++ Masoud Tabrizi masoud.tabrizi at gmail.com +++++++++++++++++++++++++++ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Friday, June 01, 2007 10:00 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service dependencies and failover From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Masoud Tabrizi > Trying to monitor db services in a cluster/failover environment using check_oracle > plug-in; all NRPE checks are done against the virtual IP of the DB; I would like to > enable the same services on the secondary host yet with a dependency on the file > system mount point which would make the DB available. Theoretically once the file > system is available then the services should become active on the secondary host and > inactive on the other. > > Any idea how to do this? If I'm understanding what you want correctly, one way to do it would be to write a wrapper script for the checks that would look first at whether the filesystem is mounted. If it isn't, return OK and a message like "Currently inactive". If it is, call the actual plugin requested and return whatever that outputs. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for Nagios-users at lists.sourceforge.net. If you are not Nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Foundation IT Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE Registered in England Number 3281803 -------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at groundworkopensource.com Tue Jun 5 19:34:03 2007 From: hmann at groundworkopensource.com (Harper Mann) Date: Tue, 05 Jun 2007 10:34:03 -0700 Subject: Nagios Scalability Issues In-Reply-To: References: Message-ID: <46659E8B.8080708@groundworkopensource.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David.Berg at Cerner.com Tue Jun 5 20:26:47 2007 From: David.Berg at Cerner.com (Berg,David) Date: Tue, 5 Jun 2007 13:26:47 -0500 Subject: AIX NRPE questions In-Reply-To: <2274b9c30706051034yb2b4739rc5af419e06be15f2@mail.gmail.com> References: <12FB73B5B2D7374E8B9B93FB930688B205F57405@MSMBWHQ12.northamerica.cerner.net> <2274b9c30706051024s59eec9ccgec6a59ce2c169c24@mail.gmail.com> <12FB73B5B2D7374E8B9B93FB930688B205F574B2@MSMBWHQ12.northamerica.cerner.net> <2274b9c30706051034yb2b4739rc5af419e06be15f2@mail.gmail.com> Message-ID: <12FB73B5B2D7374E8B9B93FB930688B205F5762E@MSMBWHQ12.northamerica.cerner.net> Hmm... 127.0.0.1 is in the allowed_hosts, but "telnet localhost 5666" isn't connecting: > telnet localhost 5666 Trying... Connected to loopback. Escape character is '^]'. Connection closed. -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: Tuesday, June 05, 2007 12:35 PM To: Berg,David Subject: Re: [Nagios-users] AIX NRPE questions add 127.0.0.1 in the allowed_hosts and telnet localhost 5666 still nothing? On 6/5/07, Berg,David wrote: > No, just trying both and neither works. > > -----Original Message----- > From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf > Of kyle.odonnell at gmail.com > Sent: Tuesday, June 05, 2007 12:24 PM > To: Berg,David > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] AIX NRPE questions > > Are you running from inetd AND trying to start in daemon mode? > > If so, that's your problem. It's one or the other. > > --kyleo > On 6/5/07, Berg,David wrote: > > Hi, I was hoping someone might have some advice for me regarding > > monitoring AIX nodes. > > > > I am attempting to get NRPE 2.8.1 running on AIX 5.3, so far without > > any luck. > > > > Following the NRPE.pdf documentation > > (http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf), I was able to > > configure without ssl and install using the GCC compiler. I then > > added > > > a line to the /etc/inetd.conf file as follows: > > > > nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c > > /usr/local/nagios/etc/nrpe.cfg -I > > > > Added this to /etc/services: > > nrpe 5666/tcp # NRPE for Nagios > > > > Netstat looks good: > > netstat -at | grep nrpe > > tcp4 0 0 *.nrpe *.* > > LISTEN > > > > I also added the ip address of the local node to the nrpe.cfg file > > and > > > have confirmed that the nagios user and group own the related > > directories and files. > > > > However, when I try to start nrpe, via the command line or by > > refreshing inetd, it doesn't start and doesn't give me any errors. > > For > example: > > > > /etc> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg > > -i /etc> ps -ef | grep nrpe > > root 2072804 2019568 0 15:47:11 pts/1 0:00 grep nrpe > > /etc> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg > > -d /etc> ps -ef | grep nrpe > > root 2478206 2019568 0 15:47:24 pts/1 0:00 grep nrpe > > > > Does anyone have any idea what I'm missing here? Also, does anyone > > know of any Nagios documentation for AIX? I have not had a lot of > > luck > > > with http://www.nagioscommunity.org/wiki. > > > > Thanks for any help, > > David Berg > > > > -------------------------------------------------------------------- > > -- CONFIDENTIALITY NOTICE This message and any included attachments > > are from Cerner Corporation and are intended only for the addressee. > > The information contained in this message is confidential and may > > constitute inside or non-public information under international, > > federal, or state securities laws. Unauthorized forwarding, > > printing, copying, distribution, or use of such information is > > strictly prohibited and may be unlawful. If you are not the > > addressee, please promptly delete this message and notify the sender > > of the delivery error by e-mail or you may call Cerner's corporate > > offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. > > Cerner Limited, Registered in England no 2519305, Registered Office > > 37 North Wharf > Road, London W2 1AF. > > ---------------------------------------------------------------------- > CONFIDENTIALITY NOTICE This message and any included attachments are > from Cerner Corporation and are intended only for the addressee. The > information contained in this message is confidential and may > constitute inside or non-public information under international, > federal, or state securities laws. Unauthorized forwarding, printing, > copying, distribution, or use of such information is strictly > prohibited and may be unlawful. If you are not the addressee, please > promptly delete this message and notify the sender of the delivery > error by e-mail or you may call Cerner's corporate offices in Kansas > City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, > Registered in England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF. > ---------------------------------------------------------------------- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Tue Jun 5 20:35:02 2007 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Tue, 5 Jun 2007 11:35:02 -0700 Subject: AIX NRPE questions In-Reply-To: <12FB73B5B2D7374E8B9B93FB930688B205F5762E@MSMBWHQ12.northamerica.cerner.net> References: <12FB73B5B2D7374E8B9B93FB930688B205F57405@MSMBWHQ12.northamerica.cerner.net> <2274b9c30706051024s59eec9ccgec6a59ce2c169c24@mail.gmail.com> <12FB73B5B2D7374E8B9B93FB930688B205F574B2@MSMBWHQ12.northamerica.cerner.net> <2274b9c30706051034yb2b4739rc5af419e06be15f2@mail.gmail.com> <12FB73B5B2D7374E8B9B93FB930688B205F5762E@MSMBWHQ12.northamerica.cerner.net> Message-ID: On Jun 5, 2007, at 11:26 AM, Berg,David wrote: > Hmm... 127.0.0.1 is in the allowed_hosts, but "telnet localhost 5666" > isn't connecting: >> telnet localhost 5666 > Trying... > Connected to loopback. > Escape character is '^]'. > Connection closed. the fact that you got that response tells you that at least something is bound and listening to that port number. Contrast with the output when there is nothing bound on a port ... $ telnet localhost 12345 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused -- Sandor W. Sklar Unix Systems Administrator Stanford University Libraries & Academic Information Resources Digital Libraries Systems & Services ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Jun 5 21:08:06 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 5 Jun 2007 15:08:06 -0400 Subject: AIX NRPE questions In-Reply-To: References: <12FB73B5B2D7374E8B9B93FB930688B205F57405@MSMBWHQ12.northamerica.cerner.net> <2274b9c30706051024s59eec9ccgec6a59ce2c169c24@mail.gmail.com> <12FB73B5B2D7374E8B9B93FB930688B205F574B2@MSMBWHQ12.northamerica.cerner.net> <2274b9c30706051034yb2b4739rc5af419e06be15f2@mail.gmail.com> <12FB73B5B2D7374E8B9B93FB930688B205F5762E@MSMBWHQ12.northamerica.cerner.net> Message-ID: <2274b9c30706051208i334292cfs354a263e3ad20b75@mail.gmail.com> now try check_nrpe -H 127.0.0.1 -p 5666 (-n for no ssl) Should see the version number: NRPE v2.8.1 If you see this, nrpe is working as expected. On 6/5/07, Sandor W. Sklar wrote: > > On Jun 5, 2007, at 11:26 AM, Berg,David wrote: > > > Hmm... 127.0.0.1 is in the allowed_hosts, but "telnet localhost 5666" > > isn't connecting: > >> telnet localhost 5666 > > Trying... > > Connected to loopback. > > Escape character is '^]'. > > Connection closed. > > the fact that you got that response tells you that at least something > is bound and listening to that port number. Contrast with the output > when there is nothing bound on a port ... > > $ telnet localhost 12345 > Trying 127.0.0.1... > telnet: Unable to connect to remote host: Connection refused > > > -- > Sandor W. Sklar > Unix Systems Administrator > Stanford University Libraries & Academic Information Resources > Digital Libraries Systems & Services > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.tjang at ask.com Tue Jun 5 21:29:02 2007 From: andrew.tjang at ask.com (Andrew Tjang) Date: Tue, 5 Jun 2007 15:29:02 -0400 Subject: Nagios Scalability Issues In-Reply-To: References: Message-ID: <57B8C921BBE8FF4982FA726D39BC60EF01E0BF8D@SITE2MAIL01.jeeves.ask.info> Thank you for your responses! My answers appear below. -andrew > Are you running active host checks? > You might try turning off host checks altogether as an experiment to see if scaling improves. > 1000 hosts and 11,000 services is large. > Regards, > - Harper None of the hosts are checked by active host checks (everything is passive, including the host checks). > Another not-so-random suggestion would be to try disabling notifications on a program-wide basis and see if there is a > change. I assume that you've already set command_check_interval to -1. > -- > Marc I have already set the command_check_interval to -1 What does disabling notifications do? I still need to be able to see state changes on the gui. I will try this and get back to you. -thanks again, andrew ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BStover at NorcalMutual.com Tue Jun 5 21:38:24 2007 From: BStover at NorcalMutual.com (Stover, Beth) Date: Tue, 5 Jun 2007 12:38:24 -0700 Subject: SMS Notifications - Incomplete Output on Host Notification Message-ID: <712A35065082D1498246BF2070D864671845A4@norcalex2.norcalmutual.com> Hi, I've fully migrated to Nagios 2.8. My only problem seems to be that host notifications to my cell using sms_client have incomplete output. Service notifications using sms_client to my cell work just fine. I'm guessing this is just some kind of formatting problem on my command definition. Here are my notification command definitions: # 'notify-by-email' command definition (ORIGINAL) define command{ command_name notify-by-email command_line echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERV ICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$' | /usr/bin/mail -s ' $NOTIFICATIONTYPE$ (service_alert) - $HOSTALIAS$/$ SERVICEDESC$ is $SERVICESTATE$ ' $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line echo -e "Notification Type:$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:$HOSTADDRESS$\nInfo: $HOSTOUTPUT$ \n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "$NOTIFICATIONTYPE$ (host_alert) - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTEMAIL$ } # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/local/bin/sms_client -q $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($SERVICEOUTPUT$)' } #'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/local/bin/sms_client -q $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($HOSTOUTPUT$)' } Email notifications work fine. Service notifications via SMS work fine. Only the hsot notifications via SMS do no t work correctly. Here's the output I do receive from the host notification via SMS: Recovery: Server1: is () These command definitions worked fine on my Nagios v 1.3 system. Any help would be very appreciated. Thanks! Beth Stover Systems Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 5 21:51:19 2007 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jun 2007 14:51:19 -0500 Subject: Nagios Scalability Issues In-Reply-To: <57B8C921BBE8FF4982FA726D39BC60EF01E0BF8D@SITE2MAIL01.jeeves.ask.info> References: <57B8C921BBE8FF4982FA726D39BC60EF01E0BF8D@SITE2MAIL01.jeeves.ask.info> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andrew Tjang > Sent: Tuesday, June 05, 2007 2:29 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Scalability Issues > > Thank you for your responses! My answers appear below. > > Another not-so-random suggestion would be to try disabling > notifications on a program-wide basis and see if there is a > change. I > assume that you've already set command_check_interval to -1. > > > -- > > Marc > > I have already set the command_check_interval to -1 > What does disabling notifications do? I still need to be able to see > state changes on the gui. It disables e-mail notififications. For every check result that changes state, nagios needs to determine if someone should be notified. There's quite a bit of processing related to that and I suspect that it happens in a sequential as opposed to parallel fashion. I know that when I have an outage situation I see the kind of results you do, with check result processing held up a lot until I disable the notification logic. Once that's done, the thousands of pending results are almost immediately processed. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Jun 5 21:58:15 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 5 Jun 2007 15:58:15 -0400 Subject: SMS Notifications - Incomplete Output on HostNotification In-Reply-To: <712A35065082D1498246BF2070D864671845A4@norcalex2.norcalmutual.com> References: <712A35065082D1498246BF2070D864671845A4@norcalex2.norcalmutual.com> Message-ID: > I've fully migrated to Nagios 2.8. My only problem seems to > be that host notifications to my cell using sms_client have > incomplete output. Service notifications using sms_client to > my cell work just fine. I'm guessing this is just some kind > of formatting problem on my command definition. > > Here are my notification command definitions: > #'host-notify-by-sms' command definition define command{ > command_name host-notify-by-sms > command_line /usr/local/bin/sms_client -q $CONTACTPAGER$ > '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is > $SERVICESTATE$ ($HOSTOUTPUT$)' > > } You're using service-specific macros in a host notification. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Jun 5 22:01:58 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 5 Jun 2007 22:01:58 +0200 (CEST) Subject: Nagios - Plugin for FireFox In-Reply-To: <60721B67EAF0994EAFFB561767B700140125D863@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B700140125D863@nets13ha.ww300.siemens.net> Message-ID: On Tue, 5 Jun 2007, Masopust, Christian wrote: > ... you maybe already know: https://addons.mozilla.org/de/firefox/addon/3607 Not untill now. But this is a most interresting addon. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 5 22:06:31 2007 From: marc at ena.com (Marc Powell) Date: Tue, 5 Jun 2007 15:06:31 -0500 Subject: SMS Notifications - Incomplete Output on HostNotification In-Reply-To: <712A35065082D1498246BF2070D864671845A4@norcalex2.norcalmutual.com> References: <712A35065082D1498246BF2070D864671845A4@norcalex2.norcalmutual.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Stover, Beth > Sent: Tuesday, June 05, 2007 2:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Notifications - Incomplete Output on > HostNotification > > Hi, > > I've fully migrated to Nagios 2.8. My only problem seems to be that host > notifications to my cell using sms_client have incomplete output. Service > notifications using sms_client to my cell work just fine. I'm guessing > this is just some kind of formatting problem on my command definition. > > Here are my notification command definitions: > # 'notify-by-sms' command definition > define command{ > command_name notify-by-sms > command_line /usr/local/bin/sms_client -q $CONTACTPAGER$ > '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ > ($SERVICEOUTPUT$)' > > } > > #'host-notify-by-sms' command definition > define command{ > command_name host-notify-by-sms > command_line /usr/local/bin/sms_client -q $CONTACTPAGER$ > '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ > ($HOSTOUTPUT$)' > > } Not really related but $SERVICEDESC$ and $SERVICESTATE$ will always be null for a host notification. You should remove them. > Email notifications work fine. Service notifications via SMS work fine. > Only the hsot notifications via SMS do no t work correctly. > > Here's the output I do receive from the host notification via SMS: > > Recovery: > Server1: is () > > These command definitions worked fine on my Nagios v 1.3 system. Not likely since $HOSTOUTPUT$ wasn't valid then ;) In any event, I think they worked fine under 1.3 and you're seeing your current results because host-notify-by-sms is never actually used. Do you really have contact definitions that use host-notify-by-sms? It would seem more likely that they all use notify-by-sms for both service_notification_commands and host_notification_commands. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BStover at NorcalMutual.com Tue Jun 5 22:35:57 2007 From: BStover at NorcalMutual.com (Stover, Beth) Date: Tue, 5 Jun 2007 13:35:57 -0700 Subject: SMS Notifications - Incomplete Output onHostNotification In-Reply-To: References: Message-ID: <712A35065082D1498246BF2070D864671845A5@norcalex2.norcalmutual.com> You are correct. I had never added the host-notify-by-sms to my contact entry. Thanks for your help! Beth Stover Systems Administrator -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, June 05, 2007 1:07 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SMS Notifications - Incomplete Output onHostNotification > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Stover, Beth > Sent: Tuesday, June 05, 2007 2:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Notifications - Incomplete Output on > HostNotification > > Hi, > > I've fully migrated to Nagios 2.8. My only problem seems to be that host > notifications to my cell using sms_client have incomplete output. Service > notifications using sms_client to my cell work just fine. I'm guessing > this is just some kind of formatting problem on my command definition. > > Here are my notification command definitions: > # 'notify-by-sms' command definition > define command{ > command_name notify-by-sms > command_line /usr/local/bin/sms_client -q $CONTACTPAGER$ > '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ > ($SERVICEOUTPUT$)' > > } > > #'host-notify-by-sms' command definition define command{ > command_name host-notify-by-sms > command_line /usr/local/bin/sms_client -q $CONTACTPAGER$ > '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ > ($HOSTOUTPUT$)' > > } Not really related but $SERVICEDESC$ and $SERVICESTATE$ will always be null for a host notification. You should remove them. > Email notifications work fine. Service notifications via SMS work fine. > Only the hsot notifications via SMS do no t work correctly. > > Here's the output I do receive from the host notification via SMS: > > Recovery: > Server1: is () > > These command definitions worked fine on my Nagios v 1.3 system. Not likely since $HOSTOUTPUT$ wasn't valid then ;) In any event, I think they worked fine under 1.3 and you're seeing your current results because host-notify-by-sms is never actually used. Do you really have contact definitions that use host-notify-by-sms? It would seem more likely that they all use notify-by-sms for both service_notification_commands and host_notification_commands. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Jun 6 05:10:47 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 05 Jun 2007 23:10:47 -0400 Subject: Nagios Scalability Issues In-Reply-To: <57B8C921BBE8FF4982FA726D39BC60EF01E0BF8D@SITE2MAIL01.jeeves.ask.info> References: <57B8C921BBE8FF4982FA726D39BC60EF01E0BF8D@SITE2MAIL01.jeeves.ask.info> Message-ID: <466625B7.1000804@aei.ca> On 05/06/07 03:29 PM, Andrew Tjang wrote: > Thank you for your responses! My answers appear below. > > -andrew > >> Are you running active host checks? >> You might try turning off host checks altogether as an experiment to > see if scaling improves. >> 1000 hosts and 11,000 services is large. >> Regards, >> - Harper > > None of the hosts are checked by active host checks (everything is > passive, including the host checks). > >> Another not-so-random suggestion would be to try disabling > notifications on a program-wide basis and see if there is a > change. I > assume that you've already set command_check_interval to -1. > >> -- >> Marc > > I have already set the command_check_interval to -1 > What does disabling notifications do? I still need to be able to see > state changes on the gui. > I will try this and get back to you. One more possible pain point; do you have aggregate_status_updates=1 in nagios.cfg? If it's set to 0 Nagios will waste time writing the status file for each check result received. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Wed Jun 6 07:02:58 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Tue, 5 Jun 2007 22:02:58 -0700 Subject: Issue with configuring HP-UX as remote client Message-ID: <3B04628AC467E646A3C161C4C3831CBE61E295@rcpbex02.amer.bea.com> Hi. I have installed Nagios server on a linux machine successfully and am able to monitor Linux, Solaris and windows clients. Lastly I have to monitor HP-UX clients also but am unable to do so. On the hp-ux machine I followed the following configuration steps- 1. Create a shared (NFS) filesystem location for the depot and plug-in files. Download the files from the Internet and save them to the shared location. 2. Prior to installing the nrpe client onto the HP-UX machines, prepare a generic nrpe.cfg file that can be copied onto and subsequently modified on each workstation. Have it located in the shared filesystem mentioned in the previous step. 3. Copy the appropriate depot, plug-in, and generic nrpe.cfg files to the /tmp directory of the workstation. 4. At the workstation console, log in as root or a sudoer account. 5. Invoke SAM. The pathname to the binary is /usr/sbin/sam 6. Select the Software Management option. 7. Select Install Software to Local Host 8. Change the Source Depot Type to Local Directory. 9. Under Source Depot Path, provide the full pathname to the depot file. For example, if the depot file is in the /tmp directory, the pathname would be /tmp/nrpe-1.8-B.versionnumber.depot 10. Mark the depot for installation. SAM will first conduct an analysis of the file. Any errors or warnings should be corrected before proceeding. If there are no problems reported, the nrpe client can be installed onto the system. The location of the program will be /opt/nrpe. 11. Change to the /opt/nrpe directory and create the libexec directory using the mkdir command. 12. Move the plugin's gzip file from the /tmp directory to libexec. 13. Run the gzip and tar commands to uncompress and extract the plugins. 14. Copy the generic nrpe.cfg file to the /opt/nrpe directory, and modify it to accommodate the configuration and services of the HP workstation. 15. Change to the /sbin/init.d directory. 16. Run the vi, or comparable, text editor utility to create a file called nrpe. The file will have the following text: /opt/nrpe/bin/nrpe -c /opt/nrpe/nrpe.cfg -daemon The above command will have the nrpe client run as a daemon on the workstation. The -c option has the binary file reference the nrpe.cfg file in the directory shown above. 17. Change the permissions of the newly created file to read and execute for all users via the chmod 555 nrpe command syntax. 18. Change the ownership of the /sbin/init.d/nrpe file to user bin, group bin via the chown bin:bin nrpe command. 19. Change to the /sbin/rc2.d directory. 20. Create a symbolic link to the /sbin/init.d/nrpe file using the following command: ln -s /sbin/init.d/nrpe Snumbernrpe The number that is used can be anyone that is currently available. 21. Manually start the nrpe client program using the script that was created in the /sbin/init.d directory. 22. Modify the appropriate files on the Nagios server to accommodate the new client, and restart the application as necessary. I have added the required entries on my linux server. I start the daemon on hp-ux machine- $ /opt/nrpe/bin/nrpe -c /opt/nrpe/nrpe.cfg -d $ netstat -a|grep nrpe tcp 0 0 *.nrpe *.* LISTEN $ ps -ef|grep nrpe nagios 21853 1 0 May 25 ? 0:55 bin/nrpe -n -c nrpe.cfg -d nagios 950 929 1 12:36:05 pts/ta 0:00 grep nrpe the logs show- May 29 12:38:42 srirama nrpe[968]: Starting up daemon May 29 12:38:42 srirama nrpe[968]: Listening for connections on port 5666 May 29 12:38:42 srirama nrpe[968]: Allowing connections from: 127.0.0.1,172.22.56.40 Where 172.22.56.40 is the IP address of nagios server. But when I try to run nrpe on hp-ux machine I get the following error- $ /opt/nrpe/libexec/check_nrpe -H localhost CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? On the server I get the error- CHECK_NRPE: Received 0 bytes from daemon.check the remote server logs for error messages. I have tried whatever was possible but am unable to configure hp-ux for nagios. Only the ping check is working. Nrpe is not working, Kindly help. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w2kask at yahoo.com Wed Jun 6 07:20:37 2007 From: w2kask at yahoo.com (richard martin) Date: Tue, 5 Jun 2007 22:20:37 -0700 (PDT) Subject: CHECK_NRPE: Socket timeout after 20 seconds- nagios error Message-ID: <120765.51694.qm@web57005.mail.re3.yahoo.com> Hi..Dear all, We installed a nagios client in our oracle 10g server in Linux and we are monitoring it using a nagios server. But as and when we will get this kind of nagios fault alarm that telling us that the service that monitored is having NRPE error like below, but the service is actually okay. After a while the nagios error recovered itself. It happen very often like every 10 min and it happen for all the service intermitently and create a lot of false positive alarm. Any solution for me ? ***** Nagios ***** Notification Type: PROBLEM Service: Oracle Event Manager Host: DBDS1 Address: 172.16.11.10 State: CRITICAL Date/Time: Wed Jun 6 11:20:32 SGT 2007 Additional Info: CHECK_NRPE: Socket timeout after 20 seconds. ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jun 6 08:12:49 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 6 Jun 2007 08:12:49 +0200 (CEST) Subject: CHECK_NRPE: Socket timeout after 20 seconds- nagios error In-Reply-To: <120765.51694.qm@web57005.mail.re3.yahoo.com> References: <120765.51694.qm@web57005.mail.re3.yahoo.com> Message-ID: On Tue, 5 Jun 2007, richard martin wrote: > We installed a nagios client in our oracle 10g server in Linux and we are monitoring it using a > nagios server. > CHECK_NRPE: Socket timeout after 20 seconds. Run tcpdump on both sides with a sensible filter. Then you can tell if your traffic actually makes it from nagios to nrpe I would suspect something in between. (firewall?) Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w2kask at yahoo.com Wed Jun 6 08:59:44 2007 From: w2kask at yahoo.com (richard martin) Date: Tue, 5 Jun 2007 23:59:44 -0700 (PDT) Subject: No recovery alert for URL check error- Temporary failure in name resolution In-Reply-To: References: Message-ID: <354565.39171.qm@web57014.mail.re3.yahoo.com> Hi.. We are monitoring our URL using nagios, when there is a problem with the URL, we will get the problem alert email and when it recover,we get the recovery email too. But for one particular problem alert, we always don't get the recovery email. I checked on the maillog , it doesn't have at all. Any one know why ? ***** Nagios ***** Notification Type: PROBLEM Service: TravelTools CMS APAPP1 Host: YY-URL-CHECK Address: YY-URL-CHECK State: CRITICAL Date/Time: Tue Jun 5 19:58:33 SGT 2007 Additional Info: Temporary failure in name resolution The URL nagios config as below define service{ use generic-service ; Name of service template to use host_name YY-URL-CHECK service_description TravelTools XX APP1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 5 contact_groups J2EE-Support,Administrators2,Developers_sms,Singtel-Expan notification_interval 15 notification_period 24x7 notification_options w,u,c,r check_command "/usr/lib/nagios/plugins/check_http -H wsweb1-net12-18.xxx.com -u "http://wsweb1-net 12-18.xxx.com/web/applns/sg/traveltools/index.ctl" -w 90 -c 120 -f follow" } ___________________________________________________________________________________ You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Wed Jun 6 11:47:21 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Wed, 6 Jun 2007 02:47:21 -0700 Subject: Shell script for installing nrpe on clients. Message-ID: <3B04628AC467E646A3C161C4C3831CBE61E4F3@rcpbex02.amer.bea.com> Hi, I need to configure many linux and solaris clients to be monitored by Nagios server. This will take a lot of time. Can anyone suggest me a shell script which will solve the purpose. As we know the main steps involved are- Adding user and group Nagios. Logging in as Nagios. Installing Nagios-plugins and nrpe. Performing the configuration steps. Any help is most welcome. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jun 6 12:01:06 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Jun 2007 11:01:06 +0100 Subject: Shell script for installing nrpe on clients. In-Reply-To: <3B04628AC467E646A3C161C4C3831CBE61E4F3@rcpbex02.amer.bea.com> References: <3B04628AC467E646A3C161C4C3831CBE61E4F3@rcpbex02.amer.bea.com> Message-ID: <466685E2.7000108@googlemail.com> I have a script to do this but mainly for Gentoo servers. I could also modify it for debian servers although I run less of these. If you have some poor rpm based distro you could also be in luck if you can use yum or something to take care of the software installation automatically. In the most excellent Bash, this can be easily done in 250 lines (including option parsing and error handling, and includes both local and remote methods of installation and configuration deployment, starting etc) But I haven't released this script for a reason, it's kind of specific to what you want to do. Best advice, write this yourself. You should be able to write a shell script to do this, really if you know Bash then you should be able to do this by the end of today, at least for the linux systems. Having not got the solaris experience, I can't advise there, but I think generally the same principals can apply. SSH key authentication, Good package management systems like Gentoo Portage and Debian APT are the real wins here, most of the code will be error handling... -h Hari Sekhon Lalita Drolia wrote: > > Hi, > > I need to configure many linux and solaris clients to be monitored by > Nagios server. > > This will take a lot of time. Can anyone suggest me a shell script > which will solve the purpose. > > As we know the main steps involved are- > > Adding user and group Nagios. > > Logging in as Nagios. > > Installing Nagios-plugins and nrpe. > > Performing the configuration steps. > > > > Any help is most welcome. > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the > individual or entity named in this message. If you are not the > intended recipient, and have received this message in error, please > immediately return this by email and then delete it. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephen.Clark at seclark.us Wed Jun 6 14:05:11 2007 From: Stephen.Clark at seclark.us (Stephen Clark) Date: Wed, 06 Jun 2007 08:05:11 -0400 Subject: limit view of specific nodes to specific users Message-ID: <4666A2F7.4070208@seclark.us> Hello List, Can anyone tell me if Nagios has the ability to limit the view of a specific node or group of nodes to specific users? In other words if you have divisions in your company and want to have a specific set of users only be able to view/manipulate node that are in their division. Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Jun 6 14:17:14 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 6 Jun 2007 08:17:14 -0400 Subject: limit view of specific nodes to specific users In-Reply-To: <4666A2F7.4070208@seclark.us> References: <4666A2F7.4070208@seclark.us> Message-ID: <302ce8b50706060517m58ad4695p49c24dcff02e84e7@mail.gmail.com> On 6/6/07, Stephen Clark wrote: > Hello List, > > Can anyone tell me if Nagios has the ability to > limit the view of a > specific node or group > of nodes to specific users? > This is basically the default function. If folks aren't listed as contacts, they don't have access to see those items in the nagios web interface, and they won't get alerts. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Wed Jun 6 14:39:20 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Wed, 6 Jun 2007 07:39:20 -0500 Subject: Shell script for installing nrpe on clients. In-Reply-To: <466685E2.7000108@googlemail.com> References: <3B04628AC467E646A3C161C4C3831CBE61E4F3@rcpbex02.amer.bea.com> <466685E2.7000108@googlemail.com> Message-ID: I use Nagios in my Solaris environment and have made the nrpe installation into a Sun installable package. It creates the needed directories, sub-directories, copies the binaries along with the basic plug-in. All you have to do is edit the nrpe.cfg files, drop in the proper IP's and configure to your systems. Ed -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, June 06, 2007 5:01 AM To: Lalita Drolia Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Shell script for installing nrpe on clients. I have a script to do this but mainly for Gentoo servers. I could also modify it for debian servers although I run less of these. If you have some poor rpm based distro you could also be in luck if you can use yum or something to take care of the software installation automatically. In the most excellent Bash, this can be easily done in 250 lines (including option parsing and error handling, and includes both local and remote methods of installation and configuration deployment, starting etc) But I haven't released this script for a reason, it's kind of specific to what you want to do. Best advice, write this yourself. You should be able to write a shell script to do this, really if you know Bash then you should be able to do this by the end of today, at least for the linux systems. Having not got the solaris experience, I can't advise there, but I think generally the same principals can apply. SSH key authentication, Good package management systems like Gentoo Portage and Debian APT are the real wins here, most of the code will be error handling... -h Hari Sekhon Lalita Drolia wrote: > > Hi, > > I need to configure many linux and solaris clients to be monitored by > Nagios server. > > This will take a lot of time. Can anyone suggest me a shell script > which will solve the purpose. > > As we know the main steps involved are- > > Adding user and group Nagios. > > Logging in as Nagios. > > Installing Nagios-plugins and nrpe. > > Performing the configuration steps. > > > > Any help is most welcome. > > > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the > individual or entity named in this message. If you are not the > intended recipient, and have received this message in error, please > immediately return this by email and then delete it. > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by DB2 Express Download DB2 Express > C - the FREE version of DB2 express and take control of your XML. No > limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 6 14:46:10 2007 From: marc at ena.com (Marc Powell) Date: Wed, 6 Jun 2007 07:46:10 -0500 Subject: limit view of specific nodes to specific users In-Reply-To: <4666A2F7.4070208@seclark.us> References: <4666A2F7.4070208@seclark.us> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Stephen Clark > Sent: Wednesday, June 06, 2007 7:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] limit view of specific nodes to specific users > > Hello List, > > Can anyone tell me if Nagios has the ability to > limit the view of a > specific node or group > of nodes to specific users? Yes, configure authorization for the CGI's. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jun 6 15:01:43 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Jun 2007 14:01:43 +0100 Subject: Shell script for installing nrpe on clients. In-Reply-To: References: <3B04628AC467E646A3C161C4C3831CBE61E4F3@rcpbex02.amer.bea.com> <466685E2.7000108@googlemail.com> Message-ID: <4666B037.6060404@googlemail.com> I've done this in a slightly easier way in that my deployment script installs the nrpe stuff and also pushes one standard config to it so that it works instantly. I think that may be something you may want to do, since it saves you the bits at the end. Some plugins aren't relevent, but then you won't call them, right? Oh, also forgot to mention that I run my nrpe behind xinetd and this is also installed and a standard locked down config deployed at that time by my script. You probably want to put your nrpe through xinetd since I believe that modern nrpe doesn't support restricting hosts that may call it, and you most definitely want to do that since nrpe doesn't use a password for the connection. -h Hari Sekhon Edwin Zoeller wrote: > I use Nagios in my Solaris environment and have made the nrpe > installation into a Sun installable package. It creates the needed > directories, sub-directories, copies the binaries along with the basic > plug-in. All you have to do is edit the nrpe.cfg files, drop in the > proper IP's and configure to your systems. > > Ed > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: Wednesday, June 06, 2007 5:01 AM > To: Lalita Drolia > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Shell script for installing nrpe on clients. > > I have a script to do this but mainly for Gentoo servers. I could also > modify it for debian servers although I run less of these. If you have > some poor rpm based distro you could also be in luck if you can use yum > or something to take care of the software installation automatically. > > In the most excellent Bash, this can be easily done in 250 lines > (including option parsing and error handling, and includes both local > and remote methods of installation and configuration deployment, > starting etc) > > But I haven't released this script for a reason, it's kind of specific > to what you want to do. > > Best advice, write this yourself. You should be able to write a shell > script to do this, really if you know Bash then you should be able to do > this by the end of today, at least for the linux systems. Having not got > the solaris experience, I can't advise there, but I think generally the > same principals can apply. > > SSH key authentication, Good package management systems like Gentoo > Portage and Debian APT are the real wins here, most of the code will be > error handling... > > -h > > Hari Sekhon > > > > Lalita Drolia wrote: > >> Hi, >> >> I need to configure many linux and solaris clients to be monitored by >> Nagios server. >> >> This will take a lot of time. Can anyone suggest me a shell script >> which will solve the purpose. >> >> As we know the main steps involved are- >> >> Adding user and group Nagios. >> >> Logging in as Nagios. >> >> Installing Nagios-plugins and nrpe. >> >> Performing the configuration steps. >> >> >> >> Any help is most welcome. >> >> >> >> >> Notice: This email message, together with any attachments, may contain >> > > >> information of BEA Systems, Inc., its subsidiaries and affiliated >> entities, that may be confidential, proprietary, copyrighted and/or >> legally privileged, and is intended solely for the use of the >> individual or entity named in this message. If you are not the >> intended recipient, and have received this message in error, please >> immediately return this by email and then delete it. >> ---------------------------------------------------------------------- >> -- >> >> ---------------------------------------------------------------------- >> --- This SF.net email is sponsored by DB2 Express Download DB2 Express >> > > >> C - the FREE version of DB2 express and take control of your XML. No >> limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ---------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 DB2 Express Download DB2 Express C - > the FREE version of DB2 express and take control of your XML. No limits. > Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jun 6 15:47:17 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Jun 2007 14:47:17 +0100 Subject: Shell script for installing nrpe on clients. In-Reply-To: References: <3B04628AC467E646A3C161C4C3831CBE61E4F3@rcpbex02.amer.bea.com> <466685E2.7000108@googlemail.com> <4666B037.6060404@googlemail.com> Message-ID: <4666BAE5.9060605@googlemail.com> Since you've asked, here is my xinetd file for nrpe: service nrpe { flags = REUSE socket_type = stream wait = no user = nagiosuser server = /path/to/nrpe server_args = -c /path/to/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = x.x.x.x (replace this bit with the IP address of you nagios server) } -h Hari Sekhon Edwin Zoeller wrote: > Thanks you. Can I get how you have nrpe setup in xinetd > > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Sent: Wednesday, June 06, 2007 8:02 AM > To: Edwin Zoeller > Cc: Lalita Drolia; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Shell script for installing nrpe on clients. > > I've done this in a slightly easier way in that my deployment script > installs the nrpe stuff and also pushes one standard config to it so > that it works instantly. > > I think that may be something you may want to do, since it saves you the > bits at the end. > > Some plugins aren't relevent, but then you won't call them, right? > > Oh, also forgot to mention that I run my nrpe behind xinetd and this is > also installed and a standard locked down config deployed at that time > by my script. > > You probably want to put your nrpe through xinetd since I believe that > modern nrpe doesn't support restricting hosts that may call it, and you > most definitely want to do that since nrpe doesn't use a password for > the connection. > > -h > > Hari Sekhon > > > > Edwin Zoeller wrote: > >> I use Nagios in my Solaris environment and have made the nrpe >> installation into a Sun installable package. It creates the needed >> directories, sub-directories, copies the binaries along with the basic >> plug-in. All you have to do is edit the nrpe.cfg files, drop in the >> proper IP's and configure to your systems. >> >> Ed >> >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari >> Sekhon >> Sent: Wednesday, June 06, 2007 5:01 AM >> To: Lalita Drolia >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Shell script for installing nrpe on >> > clients. > >> I have a script to do this but mainly for Gentoo servers. I could also >> modify it for debian servers although I run less of these. If you have >> some poor rpm based distro you could also be in luck if you can use >> > yum > >> or something to take care of the software installation automatically. >> >> In the most excellent Bash, this can be easily done in 250 lines >> (including option parsing and error handling, and includes both local >> and remote methods of installation and configuration deployment, >> starting etc) >> >> But I haven't released this script for a reason, it's kind of specific >> to what you want to do. >> >> Best advice, write this yourself. You should be able to write a shell >> script to do this, really if you know Bash then you should be able to >> > do > >> this by the end of today, at least for the linux systems. Having not >> > got > >> the solaris experience, I can't advise there, but I think generally >> > the > >> same principals can apply. >> >> SSH key authentication, Good package management systems like Gentoo >> Portage and Debian APT are the real wins here, most of the code will >> > be > >> error handling... >> >> -h >> >> Hari Sekhon >> >> >> >> Lalita Drolia wrote: >> >> >>> Hi, >>> >>> I need to configure many linux and solaris clients to be monitored by >>> > > >>> Nagios server. >>> >>> This will take a lot of time. Can anyone suggest me a shell script >>> which will solve the purpose. >>> >>> As we know the main steps involved are- >>> >>> Adding user and group Nagios. >>> >>> Logging in as Nagios. >>> >>> Installing Nagios-plugins and nrpe. >>> >>> Performing the configuration steps. >>> >>> >>> >>> Any help is most welcome. >>> >>> >>> >>> >>> Notice: This email message, together with any attachments, may >>> > contain > >>> >>> >> >> >>> information of BEA Systems, Inc., its subsidiaries and affiliated >>> entities, that may be confidential, proprietary, copyrighted and/or >>> legally privileged, and is intended solely for the use of the >>> individual or entity named in this message. If you are not the >>> intended recipient, and have received this message in error, please >>> immediately return this by email and then delete it. >>> >>> > ---------------------------------------------------------------------- > >>> -- >>> >>> >>> > ---------------------------------------------------------------------- > >>> --- This SF.net email is sponsored by DB2 Express Download DB2 >>> > Express > >>> >>> >> >> >>> C - the FREE version of DB2 express and take control of your XML. No >>> limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> >>> > ---------------------------------------------------------------------- > >>> -- >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 DB2 Express Download DB2 Express C - >> the FREE version of DB2 express and take control of your XML. No >> > limits. > >> Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Wed Jun 6 15:56:07 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Wed, 6 Jun 2007 09:56:07 -0400 Subject: Scheduled service state resets Message-ID: <9306BFEA2F32414E817AEE76F66A950193851C@SXOM-103.fg.rbc.com> Hi there, I have an interesting requirement to fulfill. I have about 100 passive only service checks that need to be reset (currently to Unknown state) at a specified time of day (currently midnight). The reason they need this done is to be able to easily tell if the passive checks have occured on that day (because they return either one of the three other possible states). I came up with two possibilities of doing this: crontab or enable active service checks 5 minute before midnight for those services, and use a command that sends a notification to the service using send_nsca. Here are the ups and downs of each approach: Crontab Pros * Simple to setup scheduling * Can run multiple scripts easily * Control over the entire reset state process (once crond gets the script going) Cons * Cumbersome to configure which services need to be notified (need to implement my own config file separate from Nagios, create logic in bash to read it, update it everytime there is a change etc.) Nagios Command through active checks Pros * Simple to setup scheduling * Logic for which services to reset is easily configurable through service template definitions used for those services. Changes in the future are easily made and done in one place as opposed to two with the crontab version. Cons * By having Nagios send out parameters to a script that runs a send_nsca command via an "active check" method, Nagios expects the check to return information back to it. The "active check" basically returns an OK (Hard) state with the output being the commands I passed to my script. A few seconds later, Nagios processes the send_nsca command and changes to the new state (Unknown in this case). So as you see, Nagios goes through 2 hard state changes and two possible notifications. Now I will disable notifications on unknown but I do have it setup to notify on recovery as people need to get emails when a passive check returns an OK state. So with this method they'll get a notification at midnight for every service setup like that basically because it's been reset. Even if I could get away with not having to send any notifications other than the two other hard non-OK states, it still doesn't make sense to bombard Nagios with an extra state change for every service setup. Just spells bad news if this ever needs to be scaled imo. Conclusion I was very happy with setup 2 until I discovered that major con. That's the rason I stated that with the crontab I have full control over the entire process (other than what's handled by the other daemons necessary for crontab to work). I really don't feel like setting up a separate process, script, and config files, causing multiple locations to be updated to handling something so simple. I'm hoping I overlooked some easier solution that you guys can recommend. Waiting to hear back from you... Regards, Dimitry _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Wed Jun 6 17:09:45 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Wed, 6 Jun 2007 11:09:45 -0400 Subject: Active Checks Issue - Still run even when disabled Message-ID: <9306BFEA2F32414E817AEE76F66A950193851E@SXOM-103.fg.rbc.com> Hi, VER:Nagios 2.8 Just had another unexpected issue come up. I clicked on one of my hosts and set "Enable notifications on all services for this host". Now even if in the service template definition active checks are disabled for some/all of those services, active checks still run. At first I thought it wasn't getting the new values, but I checked the table in the View Config option for those services and the active checks column shows no. Seems like Nagios has another place it stores a value that enabled active checks of all services on that host. It also seems that this value overrides what's defined in the services.cfg definitions. Anyone experience/solve this before? What was the solution? Thanks. Regards, Dimitry _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riky.none at email.it Wed Jun 6 17:10:55 2007 From: riky.none at email.it (riky.none at email.it) Date: Wed, 6 Jun 2007 17:10:55 +0200 Subject: NAGIOS SNMP Message-ID: <99cdc70056bea23c85f8a580d2d933f6@62.160.76.23> hi i have install nagios and plugin in ubuntu linux-box (work it) knows you tutorial or howto to config nagios and snmp??? (step by step) i install plugin but i not have /usr/local/nagios/libexec/check_snmp i have only this plugin: -rwxr-xr-x 1 root root 17746 Apr 13 16:13 check_snmp_cpfw -rwxr-xr-x 1 root root 3032 Apr 13 16:18 check_snmp_openvz.sh grazie -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Fai squillare la PANTERA ROSA sul tuo cellulare: e' in REGALO Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6613&d=20070606 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jun 6 17:20:16 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Jun 2007 16:20:16 +0100 Subject: Active Checks Issue - Still run even when disabled In-Reply-To: <9306BFEA2F32414E817AEE76F66A950193851E@SXOM-103.fg.rbc.com> References: <9306BFEA2F32414E817AEE76F66A950193851E@SXOM-103.fg.rbc.com> Message-ID: <4666D0B0.5000204@googlemail.com> usually when this kind of weirdness is going on you have separate 2 instances of nagios running, perhaps one has checks disabled but the other has checks enabled. I would close all nagios instances and start a new one and see if the problem persists. beyond that I would suspect a bug. I am running 2.5 so I wouldn't know about 2.8. -h Hari Sekhon Sapon, Dimitry wrote: > Hi, > > VER:Nagios 2.8 > > Just had another unexpected issue come up. I clicked on one of my > hosts and set "Enable notifications on all services for this host". > Now even if in the service template definition active checks are > disabled for some/all of those services, active checks still run. At > first I thought it wasn't getting the new values, but I checked the > table in the View Config option for those services and the active > checks column shows no. > > Seems like Nagios has another place it stores a value that enabled > active checks of all services on that host. It also seems that this > value overrides what's defined in the services.cfg definitions. Anyone > experience/solve this before? What was the solution? > > Thanks. > > Regards, > Dimitry > _______________________________________________________________________ > > This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. > Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. > This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. > > Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. > Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. > Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramsden at mscd.edu Wed Jun 6 17:22:50 2007 From: ramsden at mscd.edu (Kurt Ramsden) Date: Wed, 06 Jun 2007 09:22:50 -0600 Subject: eventhandle not being executed. bug? Message-ID: <4666D14A.4050006@mscd.edu> Hi All, I'm trying to setup an eventhandler but it seems that it is never being called/executed. I have been over my configs with a fine-tooth comb, and I just can't figure this out. Here are my configs: misccommands.cfg: define command{ command_name restart_test.sh command_line $USER2$/restart_test $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ } # $USER2$ is a macro for /opt/nagios/libexec/eventhandle nagios.cfg: enable_event_handlers=1 services.cfg: # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_interval 120 notification_period 24x7 notification_options c,r,u process_perf_data 0 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } and the service: define service{ use generic-service ; Name of service template to use host_name tmail service_description msgStor Partition max_check_attempts 4 event_handler_enabled 1 event_handler restart_test contact_groups solaris-admins check_command snmp_disk!7!84!89 } at this point, all I have in restart_test.sh is this (I cannot get any output from this script into restart_test.log which is leading me to believe that its not being called): #!/bin/sh echo "$1" "$2" "$3" "$4" >>./restart_test.log exit 0 and directory perms: nagios at excalibur-mgt:~/libexec/eventhandlers> ls -la total 10 drwxr-xr-x 2 nagios nagios 112 2007-06-05 14:41 . drwxr-xr-x 3 root root 2168 2007-05-29 12:37 .. -rwxr-xr-- 1 nagios nagios 65 2007-06-05 14:41 restart_test.sh The nagios logs state that it is being called, but I don't think so: [1180991106] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;SOFT;1;No valid data returned [1180991106] SERVICE EVENT HANDLER: tmail;msgStor Partition;UNKNOWN;SOFT;1;restart_test [1180991126] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;SOFT;1;No valid data returned [1180991166] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;SOFT;2;No valid data returned [1180991166] SERVICE EVENT HANDLER: tmail;msgStor Partition;UNKNOWN;SOFT;2;restart_test [1180991186] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;SOFT;2;No valid data returned [1180991226] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;SOFT;3;No valid data returned [1180991226] SERVICE EVENT HANDLER: tmail;msgStor Partition;UNKNOWN;SOFT;3;restart_test [1180991246] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;SOFT;3;No valid data returned [1180991286] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;HARD;4;No valid data returned [1180991286] SERVICE EVENT HANDLER: tmail;msgStor Partition;UNKNOWN;HARD;4;restart_test [1180991306] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;HARD;4;No valid data returned by forcing an error (setting the script to no execute) I know that its being passed the args: [1181065075] Warning: Attempting to execute the command "/opt/nagios/libexec/eventhandlers/restart_test.sh UNKNOWN SOFT 1 " resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists... There you have it. Can anyone help? Thanks, Kurt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jun 6 17:41:33 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Jun 2007 16:41:33 +0100 Subject: eventhandle not being executed. bug? In-Reply-To: <4666D14A.4050006@mscd.edu> References: <4666D14A.4050006@mscd.edu> Message-ID: <4666D5AD.30905@googlemail.com> You have mislabeled your event handler in miscommands.cfg. The command_name should be "restart_test", not "restart_test.sh" as you are calling "restart_test" without the .sh ending in your event_handler definition in services.cfg. -h Hari Sekhon Kurt Ramsden wrote: > Hi All, > > I'm trying to setup an eventhandler but it seems that it is never > being called/executed. I have been over my configs with a fine-tooth > comb, and I just can't figure this out. Here are my configs: > > misccommands.cfg: > > define command{ > command_name restart_test.sh > command_line $USER2$/restart_test $SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ > } # $USER2$ is a macro for /opt/nagios/libexec/eventhandle > > > nagios.cfg: > > enable_event_handlers=1 > > > services.cfg: > > # Generic service definition template > define service{ > name generic-service ; The 'name' > of this service template, referenced in other service definitions > active_checks_enabled 1 ; Active service > checks are enabled > passive_checks_enabled 1 ; Passive service > checks are enabled/accepted > parallelize_check 1 ; Active service > checks should be parallelized (disabling this can lead to major > performance problems) > obsess_over_service 1 ; We should obsess > over this service (if necessary) > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_freshness 0 ; Default is to NOT > check service 'freshness' > notifications_enabled 1 ; Service > notifications are enabled > event_handler_enabled 1 ; Service event > handler is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > notification_interval 120 > notification_period 24x7 > notification_options c,r,u > process_perf_data 0 > > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > and the service: > define service{ > use generic-service ; Name > of service template to use > host_name tmail > service_description msgStor Partition > max_check_attempts 4 > event_handler_enabled 1 > event_handler restart_test > contact_groups solaris-admins > check_command snmp_disk!7!84!89 > } > > > at this point, all I have in restart_test.sh is this (I cannot get any > output from this script into restart_test.log which is leading me to > believe that its not being called): > > #!/bin/sh > > echo "$1" "$2" "$3" "$4" >>./restart_test.log > > exit 0 > > > and directory perms: > > nagios at excalibur-mgt:~/libexec/eventhandlers> ls -la > total 10 > drwxr-xr-x 2 nagios nagios 112 2007-06-05 14:41 . > drwxr-xr-x 3 root root 2168 2007-05-29 12:37 .. > -rwxr-xr-- 1 nagios nagios 65 2007-06-05 14:41 restart_test.sh > > > The nagios logs state that it is being called, but I don't think so: > > [1180991106] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;SOFT;1;No > valid data returned > [1180991106] SERVICE EVENT HANDLER: tmail;msgStor > Partition;UNKNOWN;SOFT;1;restart_test > [1180991126] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;SOFT;1;No > valid data returned > [1180991166] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;SOFT;2;No > valid data returned > [1180991166] SERVICE EVENT HANDLER: tmail;msgStor > Partition;UNKNOWN;SOFT;2;restart_test > [1180991186] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;SOFT;2;No > valid data returned > [1180991226] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;SOFT;3;No > valid data returned > [1180991226] SERVICE EVENT HANDLER: tmail;msgStor > Partition;UNKNOWN;SOFT;3;restart_test > [1180991246] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;SOFT;3;No > valid data returned > [1180991286] SERVICE ALERT: tmail;msgStor Partition;UNKNOWN;HARD;4;No > valid data returned > [1180991286] SERVICE EVENT HANDLER: tmail;msgStor > Partition;UNKNOWN;HARD;4;restart_test > [1180991306] SERVICE ALERT: tmail;iPlanet Partition;UNKNOWN;HARD;4;No > valid data returned > > > by forcing an error (setting the script to no execute) I know that its > being passed the args: > > [1181065075] Warning: Attempting to execute the command > "/opt/nagios/libexec/eventhandlers/restart_test.sh UNKNOWN SOFT 1 > " resulted in a return code of 126. Make sure the script or > binary you are trying to execute actually exists... > > > There you have it. Can anyone help? > Thanks, > Kurt > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Wed Jun 6 18:21:14 2007 From: snyper9311 at yahoo.com (abid dar) Date: Wed, 6 Jun 2007 09:21:14 -0700 (PDT) Subject: why are my notifications disabled when I add new hosts. Message-ID: <773402.40981.qm@web36813.mail.mud.yahoo.com> why are my notifications disabled when I add new hosts? I have to manually enable notifications for each host. Nagios 3.0a3 TIA.. ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jun 6 18:24:18 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 6 Jun 2007 12:24:18 -0400 Subject: eventhandle not being executed. bug? In-Reply-To: <4666D14A.4050006@mscd.edu> References: <4666D14A.4050006@mscd.edu> Message-ID: > I'm trying to setup an eventhandler but it seems that it is > never being called/executed. I have been over my configs > with a fine-tooth comb, and I just can't figure this out. > Here are my configs: [snip] > at this point, all I have in restart_test.sh is this (I > cannot get any output from this script into restart_test.log > which is leading me to believe that its not being called): > > #!/bin/sh > > echo "$1" "$2" "$3" "$4" >>./restart_test.log > > exit 0 If the logs state it's being run, it probably is. Is there a reason you don't give an absolute path for the log? Maybe you're just not looking in the right place for it, or it's trying to write it somewhere the Nagios user doesn't have write permissions. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Jun 6 18:25:21 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 6 Jun 2007 12:25:21 -0400 Subject: why are my notifications disabled when I add new hosts. In-Reply-To: <773402.40981.qm@web36813.mail.mud.yahoo.com> References: <773402.40981.qm@web36813.mail.mud.yahoo.com> Message-ID: <2274b9c30706060925r62beaecaoc83e55127f22c23b@mail.gmail.com> are you using a host template that has the notifications disabled? On 6/6/07, abid dar wrote: > why are my notifications disabled when I add new hosts? > > I have to manually enable notifications for each host. > > Nagios 3.0a3 > > TIA.. > > > > > > > ____________________________________________________________________________________ > Looking for earth-friendly autos? > Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. > http://autos.yahoo.com/green_center/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Wed Jun 6 18:50:19 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Wed, 6 Jun 2007 12:50:19 -0400 Subject: Active Checks Issue - Still run even when disabled In-Reply-To: <4666D0B0.5000204@googlemail.com> References: <9306BFEA2F32414E817AEE76F66A950193851E@SXOM-103.fg.rbc.com> <4666D0B0.5000204@googlemail.com> Message-ID: <9306BFEA2F32414E817AEE76F66A950193851F@SXOM-103.fg.rbc.com> Ok, just in case anyone come across the same thing, it seems like it is a bug. I'll state it here but also, where do I log such bugs so that the developers are aware of them? What I had to do to temporarily alleviate the problem was to comment out any definition that used or had anythign to do with that host (services, servicegroups, hostgroups etc). I then restarted Nagios and let it run for a bit to "clear out" any possible caching of values. I then uncommented those defitions back and the problem was gone. It seems like if you globally enable active services checks for a host through the "Enable notifications on all services for this host" option on the host's page, it stores the value somewhere and it always overrides the template definitions. There is no reset to default option on the page, only enable/disable which either turn on/off globally. Anyways, hope this helps future people who run into this. If anyone could point me to the webpage to log this bug, I'll do so also. Regards, Dimitry -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: Wednesday, June 06, 2007 11:20 AM To: Sapon, Dimitry Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Active Checks Issue - Still run even when disabled usually when this kind of weirdness is going on you have separate 2 instances of nagios running, perhaps one has checks disabled but the other has checks enabled. I would close all nagios instances and start a new one and see if the problem persists. beyond that I would suspect a bug. I am running 2.5 so I wouldn't know about 2.8. -h Hari Sekhon Sapon, Dimitry wrote: > Hi, > > VER:Nagios 2.8 > > Just had another unexpected issue come up. I clicked on one of my > hosts and set "Enable notifications on all services for this host". > Now even if in the service template definition active checks are > disabled for some/all of those services, active checks still run. At > first I thought it wasn't getting the new values, but I checked the > table in the View Config option for those services and the active > checks column shows no. > > Seems like Nagios has another place it stores a value that enabled > active checks of all services on that host. It also seems that this > value overrides what's defined in the services.cfg definitions. Anyone > experience/solve this before? What was the solution? > > Thanks. > > Regards, > Dimitry > ______________________________________________________________________ > _ > > This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. > Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. > This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. > > Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. > Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. > Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by DB2 Express Download DB2 Express > C - the FREE version of DB2 express and take control of your XML. No > limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 6 19:18:31 2007 From: marc at ena.com (Marc Powell) Date: Wed, 6 Jun 2007 12:18:31 -0500 Subject: Active Checks Issue - Still run even whendisabled In-Reply-To: <9306BFEA2F32414E817AEE76F66A950193851F@SXOM-103.fg.rbc.com> References: <9306BFEA2F32414E817AEE76F66A950193851F@SXOM-103.fg.rbc.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sapon, Dimitry > Sent: Wednesday, June 06, 2007 11:50 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Active Checks Issue - Still run even > whendisabled > > It seems like if you globally enable active services checks for a host > through the "Enable notifications on all services for this host" option on > the host's page, it stores the value somewhere and it always overrides the > template definitions. There is no reset to default option on the page, > only enable/disable which either turn on/off globally. > > Anyways, hope this helps future people who run into this. > > If anyone could point me to the webpage to log this bug, I'll do so also. Documented and configured behavior isn't a bug -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html, specifically 'Retention Notes'. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Jun 6 19:43:26 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 6 Jun 2007 12:43:26 -0500 (CDT) Subject: Distributed to Central Configuration Message-ID: Hi Nagios Users, I'm migrating my Nagios monitoring setup from three standalone Nagios servers to a Distributed/Central configuration. In a past job, I had written some fancy rsync/perl scripts to push the configs to Central, whack them up, and then restart the nagios daemon on Central to take in the new configs. This was a great solution and allowed the smarts to live on the Distributed side while still allowing for ease of syncing between the Distribute and Central. Does anyone on the list do anything similar they'd care to share? I'm looking over my scripts and thinking they were good but before I sit down to rewrite them I'd appreciate any input/suggestions. I'll post my end results by the end of this week. Thanks. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Wed Jun 6 19:43:42 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Wed, 6 Jun 2007 13:43:42 -0400 Subject: Active Checks Issue - Still run even whendisabled In-Reply-To: References: <9306BFEA2F32414E817AEE76F66A950193851F@SXOM-103.fg.rbc.com> Message-ID: <9306BFEA2F32414E817AEE76F66A9501938520@SXOM-103.fg.rbc.com> Marc, Gotcha, thanks. I missed that part of the documentation when looking for this. One question then is, once you enter into this "state" where notstatus information is retained, how do you get out of it? Do you have to disable/enable the retain_nonstatus_information directive and restart Nagios? Reason I'm asking is lets say you do change something like this during runtime and Nagios starts to get it's info from the state renetion file. How do you get it back to its default behaviour for that host/service etc to start picking up the values from the config files? Dimitry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, June 06, 2007 1:19 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Active Checks Issue - Still run even whendisabled > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sapon, Dimitry > Sent: Wednesday, June 06, 2007 11:50 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Active Checks Issue - Still run even > whendisabled > > It seems like if you globally enable active services checks for a host > through the "Enable notifications on all services for this host" option on > the host's page, it stores the value somewhere and it always overrides the > template definitions. There is no reset to default option on the page, > only enable/disable which either turn on/off globally. > > Anyways, hope this helps future people who run into this. > > If anyone could point me to the webpage to log this bug, I'll do so also. Documented and configured behavior isn't a bug -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html, specifically 'Retention Notes'. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Wed Jun 6 19:55:44 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Wed, 6 Jun 2007 13:55:44 -0400 Subject: Scheduled service state resets In-Reply-To: <9306BFEA2F32414E817AEE76F66A950193851C@SXOM-103.fg.rbc.com> References: <9306BFEA2F32414E817AEE76F66A950193851C@SXOM-103.fg.rbc.com> Message-ID: <9306BFEA2F32414E817AEE76F66A9501938521@SXOM-103.fg.rbc.com> I just realized I don't have to use NSCA to do this at all. I rewrote my script to simply push the information it gets from Nagios back to Nagios. In case anyone needs to configure something similar, below is my setup: SCRIPT --------------------------------------------- #!/bin/bash ######################################################################################## #Script requires 2 parameters to function with a 2 optional ones. From the information #parameters, only STATUS and OUTPUT are necessary to function. HOST/SERVICE are for logs ######################################################################################## #Log info variables SCRIPTNAME=$0 LOGDIR= LOGFILE=${LOGDIR}/${SCRIPTNAME}/${SCRIPTNAME}_`date '+%m%d%Y'`.log" SCRIPTDIR= #Information parameters HOST=$1 SERVICE=$2 STATUS=$3 OUTPUT=$4 #Check if log file exists. If it doesn't, create it and give everyone permissions #the last part is necessary so other users calling this script can log commands also if [ ! -e $LOGFILE ]; then echo "###########################################################################################" >> $LOGFILE echo "# script (${SCRIPTDIR}) log file for `date '+%m/%d/%Y'`" >> $LOGFILE echo -e "###########################################################################################\n\n" >> $LOGFILE chmod a+w $LOGFILE fi #Log the values passed for parameters echo $(date) >> $LOGFILE echo -e "$HOST\t$SERVICE\t$STATUS\t$OUTPUT\n" >> $LOGFILE #Send the output back to Nagios via echo command and exit with the specified STATUS echo "$OUTPUT" exit $STATUS -------------------------------------------------- COMMAND DEFINITION -------------------------------------------------- # run this for EOD checks that need to reset state define command{ command_name reset_state command_line /app/edeliver/nagiosTEST/libexec/reset_state $HOSTNAME$ $SERVICEDESC$ -1 "Reset...`date`" } -------------------------------------------------- SERVICE DEFINITION -------------------------------------------------- I then have the service template with a check_period set to a specific timeperiod. That period is set to run (in my case) Monday to Friday between 11:54-11:59PM (enough time for all my checks to go through). Just so a service wouldn't run it's command twice, I set the check_intervals to 5 minutes which would pass the alloted timeperiod for this check command to run. -------------------------------------------------- So basically the command runs and returns the status/output specified by that service check command back to that service. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sapon, Dimitry Sent: Wednesday, June 06, 2007 9:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Scheduled service state resets Hi there, I have an interesting requirement to fulfill. I have about 100 passive only service checks that need to be reset (currently to Unknown state) at a specified time of day (currently midnight). The reason they need this done is to be able to easily tell if the passive checks have occured on that day (because they return either one of the three other possible states). I came up with two possibilities of doing this: crontab or enable active service checks 5 minute before midnight for those services, and use a command that sends a notification to the service using send_nsca. Here are the ups and downs of each approach: Crontab Pros * Simple to setup scheduling * Can run multiple scripts easily * Control over the entire reset state process (once crond gets the script going) Cons * Cumbersome to configure which services need to be notified (need to implement my own config file separate from Nagios, create logic in bash to read it, update it everytime there is a change etc.) Nagios Command through active checks Pros * Simple to setup scheduling * Logic for which services to reset is easily configurable through service template definitions used for those services. Changes in the future are easily made and done in one place as opposed to two with the crontab version. Cons * By having Nagios send out parameters to a script that runs a send_nsca command via an "active check" method, Nagios expects the check to return information back to it. The "active check" basically returns an OK (Hard) state with the output being the commands I passed to my script. A few seconds later, Nagios processes the send_nsca command and changes to the new state (Unknown in this case). So as you see, Nagios goes through 2 hard state changes and two possible notifications. Now I will disable notifications on unknown but I do have it setup to notify on recovery as people need to get emails when a passive check returns an OK state. So with this method they'll get a notification at midnight for every service setup like that basically because it's been reset. Even if I could get away with not having to send any notifications other than the two other hard non-OK states, it still doesn't make sense to bombard Nagios with an extra state change for every service setup. Just spells bad news if this ever needs to be scaled imo. Conclusion I was very happy with setup 2 until I discovered that major con. That's the rason I stated that with the crontab I have full control over the entire process (other than what's handled by the other daemons necessary for crontab to work). I really don't feel like setting up a separate process, script, and config files, causing multiple locations to be updated to handling something so simple. I'm hoping I overlooked some easier solution that you guys can recommend. Waiting to hear back from you... Regards, Dimitry _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 6 19:57:10 2007 From: marc at ena.com (Marc Powell) Date: Wed, 6 Jun 2007 12:57:10 -0500 Subject: Active Checks Issue - Still run even whendisabled In-Reply-To: <9306BFEA2F32414E817AEE76F66A9501938520@SXOM-103.fg.rbc.com> References: <9306BFEA2F32414E817AEE76F66A9501938520@SXOM-103.fg.rbc.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sapon, Dimitry > Sent: Wednesday, June 06, 2007 12:44 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Active Checks Issue - Still run even > whendisabled > > Marc, > > Gotcha, thanks. I missed that part of the documentation when looking for > this. One question then is, once you enter into this "state" where > notstatus information is retained, how do you get out of it? Do you have > to disable/enable the retain_nonstatus_information directive and restart > Nagios? You could change the parameter via the GUI as you've been doing or stop nagios and remove the retention file if you want to just start retention from scratch globally. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erkdog at fiftypounds.com Wed Jun 6 19:59:33 2007 From: erkdog at fiftypounds.com (erkdog at fiftypounds.com) Date: Wed, 06 Jun 2007 13:59:33 -0400 Subject: Compiliong Nagios on HPUX 11 Message-ID: <20070606135933.omau4erzco48os0c@webmail.tuffmail.net> Unfortunately all the archives appear to be inaccessible to me. Otherwise I would have searched. Since I cannot access either of them I will proceed with my specific issue. I am attempting to compile Nagios 2.9 on an HP-UX 11 machine. I began working on this and was informed that one of the problems was that GCC 3 was not installed on HP-UX. I proceeded to get a working binary installation of GCC 3.0.1 installed. I have confirmed that GCC 3.0.1 indeed works by compiling and using a simple program (datapipe.c). I was confused by the report that GCC 3 was required to compile Nagios on HP-UX and that this existed in the documentation... As far as I've seen the documentation mentions only, "a c compiler" as necessary. Furthermore GCC 3 is rather old and buggy. Furthermore when a certain version of something is required, usually it's newer counterpart (GCC 4 in this case) will also work... anyway... HP-UX is so proprietary and bare when it comes to GNU/OpenSource software it's mindboggling why anyone would use it, but that's neither here nor there. When I attempt to compile at this point I do the following: ./configure It executes properly. make all. I get an error along the lines of it being unable to do something with ../include/filename I apologize for not providing more complete information at this point. However, I am not at my home computer. I can provide additional information such as exact output later this evening. I am unable to find any documentation anywhere about what needs to be done to get Nagios compiled from source on HP-UX 11. Does anyone know where I can find such information? Thanks, Matt ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed Jun 6 20:33:31 2007 From: palleje at gmail.com (Palle Jensen) Date: Wed, 6 Jun 2007 14:33:31 -0400 Subject: FW: NSClient++ on windows machine Message-ID: <006801c7a869$30ad6190$bdac38a6@na.dsmain.com> Hi to all, I have been trying to find out how you get the graphs for monitored service on Windows/Nsclient++. It is working fine for the locahost (FC9) Memory, load, procs and users. I added a windows machine with NSClient++, I added the service Ping to both localhost and the windows machine, and the graphs are showing up fine. But when I add Memory, procs, load service to the windows machine no graphs shows. How come it works with ping for both localhost and Windows machine? Even though I made sure that the service_description is the same as for the localhost I am about to go insain, please help? I know this belongs under NagiosGrapher mailinglist, and I posted there as well, but I got 0 answers there, hoping that someone can help me here. - Palle Fedora Core 6 - Nagios-2.9 - Nagios-Plugins-1.4.8 - NagiosGrapher 1.6.1-rc3 - NSClient++ 0.2.7. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhagbali at ghanatel.com.gh Wed Jun 6 20:55:26 2007 From: rhagbali at ghanatel.com.gh (Rita H. Agbali) Date: Wed, 6 Jun 2007 18:55:26 -0000 Subject: Unknown status for ntp and ather services Message-ID: <003401c7a86c$450a0f50$2b405750@CANHIX> hi all, I have installed nagios and its working ok. There are these services which are nttp, http, ssh, mysql and athers whose plugins are installed and check commands configured. However when monitoring the status is unknown and Information status says Usage:check_udp -H host -p port [-w ] [-c ] [-s ]. Someone please help me fix this problem. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Wed Jun 6 21:28:04 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Wed, 06 Jun 2007 14:28:04 -0500 Subject: Unknown status for ntp and ather services In-Reply-To: <003401c7a86c$450a0f50$2b405750@CANHIX> References: <003401c7a86c$450a0f50$2b405750@CANHIX> Message-ID: <46670AC4.10107@epsiia.com> Rita H. Agbali wrote: > hi all, > > I have installed nagios and its working ok. There are these services which are nttp, http, ssh, mysql and athers whose plugins are installed and check commands configured. However when monitoring the status is unknown and Information status says Usage:check_udp -H host -p port [-w ] [-c ] [-s ]. Someone please help me fix this problem. > Thanks > my first thought would be to check your usage. I'm also assuming you're not trying to monitor mysql, http, or ssh with check_udp (not very clear from the post). How are the commands defined? What args are you passing the command? Did you use bad flags or misspell something? Have you tried running the command from the command line **as the nagios user**? feel free to post the relevant command and service definitions to the list, and somebody will be able to offer much more help than this. - Josh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jun 6 21:30:36 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 6 Jun 2007 12:30:36 -0700 Subject: Unknown status for ntp and ather services In-Reply-To: <003401c7a86c$450a0f50$2b405750@CANHIX> References: <003401c7a86c$450a0f50$2b405750@CANHIX> Message-ID: <20070606193036.GD12840@pmorris.usa.hp.com> On Wed, 06 Jun 2007, Rita H. Agbali wrote: > I have installed nagios and its working ok. There are these services which are nttp, http, ssh, mysql and athers whose plugins are installed and check commands configured. However when monitoring the status is unknown and Information status says Usage:check_udp -H host -p port [-w ] [-c ] [-s ]. Someone please help me fix this problem. All we can tell from that is that your check command is conigured incorrectly. Without actually seeing the check you're using, though, it's impossible to say what you'd need to do to fix it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsalaz at meteostar.com Wed Jun 6 21:34:34 2007 From: jsalaz at meteostar.com (Jason Salaz) Date: Wed, 06 Jun 2007 13:34:34 -0600 Subject: Unknown status for ntp and ather services In-Reply-To: <003401c7a86c$450a0f50$2b405750@CANHIX> References: <003401c7a86c$450a0f50$2b405750@CANHIX> Message-ID: <46670C4A.3010409@meteostar.com> Rita H. Agbali wrote: > [...] However when monitoring the > status is unknown and Information status says Usage:check_udp -H host -p > port [-w ] [-c ] [-s ]. Someone please help me fix this problem. You're likely either passing a -h (note the case difference between -H and -h) or you're not passing the script a host address. Look at your command definitions. If you can't figure it out, send them to the list. -- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Jun 6 22:23:17 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 06 Jun 2007 22:23:17 +0200 Subject: FW: NSClient++ on windows machine In-Reply-To: <006801c7a869$30ad6190$bdac38a6@na.dsmain.com> References: <006801c7a869$30ad6190$bdac38a6@na.dsmain.com> Message-ID: <466717B5.8030107@telcotec.se> Palle Jensen wrote: > Hi to all, Hej:) > I have been trying to find out how you get the graphs for monitored > service on Windows/Nsclient++. > > It is working fine for the locahost (FC9) Memory, load, procs and users. > I added a windows machine with NSClient++, I added the service Ping to > both localhost and the windows machine, and the graphs are showing up > fine. But when I add Memory, procs, load service to the windows machine > no graphs shows. How come it works with ping for both localhost and > Windows machine? Even though I made sure that the service_description is > the same as for the localhost > > I am about to go insain, please help? I know this belongs under > NagiosGrapher mailinglist, and I posted there as well, but I got 0 > answers there, hoping that someone can help me here. I'll just assume that you remembered to restart/reload both NagiosGrapher and nagios when adding stuff in config. There might be a difference in the performance data handed back by NSClient as compared to the native check plugins. The check_load, for instance, can be run manually. Now run the check_load for the Windows boxes (whatever it's called) and compare the output, especially the output to the righ of the '|' character, i.e. the performance data delimiter. If they are not the same, they wont fit the same graph definition. Min you, I have no experience with NSClient at all, but still. Cheers /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Thu Jun 7 02:30:41 2007 From: surcouf at debianfr.net (Raphael SurcouF Bordet) Date: Thu, 07 Jun 2007 02:30:41 +0200 Subject: NAGIOS SNMP In-Reply-To: <99cdc70056bea23c85f8a580d2d933f6@62.160.76.23> References: <99cdc70056bea23c85f8a580d2d933f6@62.160.76.23> Message-ID: <1181176241.7133.0.camel@xiombarg.debianfr.net> Le mercredi 06 juin 2007 ? 17:10 +0200, riky.none at email.it a ?crit : > hi > i have install nagios and plugin in ubuntu linux-box (work it) > knows you tutorial or howto to config nagios and snmp??? (step by step) > > i install plugin but i not have /usr/local/nagios/libexec/check_snmp > i have only this plugin: > -rwxr-xr-x 1 root root 17746 Apr 13 16:13 check_snmp_cpfw > -rwxr-xr-x 1 root root 3032 Apr 13 16:18 check_snmp_openvz.sh Hi, What do you want to monitor, using SNMP ? Regards, -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.joyce.lists at gmail.com Thu Jun 7 03:52:41 2007 From: matt.joyce.lists at gmail.com (Matthew Joyce) Date: Thu, 7 Jun 2007 11:52:41 +1000 Subject: NAGIOS SNMP In-Reply-To: <1181176241.7133.0.camel@xiombarg.debianfr.net> References: <99cdc70056bea23c85f8a580d2d933f6@62.160.76.23> <1181176241.7133.0.camel@xiombarg.debianfr.net> Message-ID: apt-get install snmp test, using snmpwalk and snmpget there's also a good Nagios plugin for querying windows servers, check_snmp_win, have a look on Nagios Exchange. Of course this assumes you want simple snmp checking and not traps, or agents. On 6/7/07, Raphael SurcouF Bordet wrote: > Le mercredi 06 juin 2007 ? 17:10 +0200, riky.none at email.it a ?crit : > > hi > > i have install nagios and plugin in ubuntu linux-box (work it) > > knows you tutorial or howto to config nagios and snmp??? (step by step) > > > > i install plugin but i not have /usr/local/nagios/libexec/check_snmp > > i have only this plugin: > > -rwxr-xr-x 1 root root 17746 Apr 13 16:13 check_snmp_cpfw > > -rwxr-xr-x 1 root root 3032 Apr 13 16:18 check_snmp_openvz.sh > > Hi, > > What do you want to monitor, using SNMP ? > > Regards, > > -- > Rapha?l 'SurcouF' Bordet > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william at elan.net Thu Jun 7 05:57:13 2007 From: william at elan.net (william(at)elan.net) Date: Wed, 6 Jun 2007 20:57:13 -0700 (PDT) Subject: nagios performance Message-ID: If any of you have nagios server configured that does 500+ (or even better at 1000+) service checks per minute can you share tips and problems you may have seen when trying to get it to this performance. Thanks. -- William Leibzon Elan Networks william at elan.net ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdiehl at diehlnet.com Thu Jun 7 06:00:57 2007 From: mdiehl at diehlnet.com (Mike Diehl) Date: Wed, 6 Jun 2007 22:00:57 -0600 Subject: Not getting notifications Message-ID: <200706062200.57734.mdiehl@diehlnet.com> Hi all. I'm setting up a new nagios server and I just can't seem to get it to notify me. Right now, I'd even be happy to get notified by email, but I've got nothing. The service checks to turn red and green as expected, though. Here is a typical contacts definition: =========================== define contact { # use daytime_page contact_name mdiehl alias Mike email mdiehl-alerts at localhost service_notification_options f,u host_notification_options f,u service_notification_period 24_7 host_notification_period 24_7 service_notification_commands notify-by-email,notify_by_phone host_notification_commands host-notify-by-email,notify_by_phone } =========================== The user mdiehl is a member of the "diehl" contact group. And the definition of notify_by_phone: =========================== define command{ command_name notify_by_phone command_line /etc/nagios/local/notify_by_phone.pl } =========================== And finally, a typical service definition: =========================== define service { use generic-service name webmin host_name dominion service_description Webmin check_command check_webmin notification_options w,c,u contact_groups diehl } =========================== Any ideas what I'm doing wrong? TIA, -- Mike Diehl ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Thu Jun 7 06:22:27 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Thu, 7 Jun 2007 14:22:27 +1000 Subject: Nagios 2.9 and Escalations. Message-ID: <1BAD86FA20172C449C56A8E5D51977AB05B5BB24@pimel-mx1.ozpacnet.office.pacific.net.au> Hi all, I'm currently upgrading our Nagios monitoring system from v1.1 to v2.9 and I notice that the hostgroupescalation functions that we were previously using no longer exist in v2.9. I've read through the docs of serviceescalation and hostescalation and there's one thing that remains unclear to me. If a hostescalation is defined, does this ONLY activate when the host check fails (ie check-host-alive) or if any of the services on the host fails? If it's only triggered on the check-host-alive failing, is there an easy way (ie a wildcard or similar) to activate escalation based on ALL services for a host? Does this require a serviceescalation definition for EVERY service on a host? I sure hope not! Regards, Steven Haigh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jun 7 08:33:45 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 7 Jun 2007 02:33:45 -0400 Subject: Not getting notifications In-Reply-To: <200706062200.57734.mdiehl@diehlnet.com> References: <200706062200.57734.mdiehl@diehlnet.com> Message-ID: > I'm setting up a new nagios server and I just can't seem to > get it to notify me. Right now, I'd even be happy to get > notified by email, but I've got nothing. The service checks > to turn red and green as expected, though. > > > Here is a typical contacts definition: > =========================== > define contact { > # use daytime_page > contact_name mdiehl > alias Mike > email mdiehl-alerts at localhost > service_notification_options f,u > host_notification_options f,u > service_notification_period 24_7 > host_notification_period 24_7 > service_notification_commands > notify-by-email,notify_by_phone > host_notification_commands > host-notify-by-email,notify_by_phone > } You've set this contact to only receiving flapping and unknown notifications. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyrille.Bollu at fedasil.be Thu Jun 7 09:40:36 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Thu, 7 Jun 2007 09:40:36 +0200 Subject: RE Nagios 2.9 and Escalations. In-Reply-To: <1BAD86FA20172C449C56A8E5D51977AB05B5BB24@pimel-mx1.ozpacnet.office.pacific.net.au> References: <1BAD86FA20172C449C56A8E5D51977AB05B5BB24@pimel-mx1.ozpacnet.office.pacific.net.au> Message-ID: > > If it's only triggered on the check-host-alive failing, is there an easy > way (ie a wildcard or similar) to activate escalation based on ALL > services for a host? Does this require a serviceescalation definition > for EVERY service on a host? I sure hope not! > Ok, I will give my understanding since nobody answers. When that's false somebody will certainly slap my head :-) AFAIU, host escalation is only triggered by the "check-host-alive" command. So a serviceescalation definition must me defined for every service on every host. Cyrille -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Thu Jun 7 10:23:38 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Thu, 07 Jun 2007 18:23:38 +1000 Subject: Nagios 2.9 and Escalations. In-Reply-To: <466789D8.80103@publishingtechnology.com> References: <466789D8.80103@publishingtechnology.com> Message-ID: Ahhhh ? Thanks Robert. I think it would be of great help if the wildcard information was on the pages detailing service and host escalations! :) On 7/6/07 2:30 PM, "Robert King" wrote: > Steven Haigh wrote: >> >> I've read through the docs of serviceescalation and hostescalation and >> there's one thing that remains unclear to me. If a hostescalation is >> defined, does this ONLY activate when the host check fails (ie >> check-host-alive) or if any of the services on the host fails? >> >> > The host escalation will only be used for host checks. You'll need to escalate > the services on the host separately. > >> >> If it's only triggered on the check-host-alive failing, is there an easy >> way (ie a wildcard or similar) to activate escalation based on ALL >> services for a host? Does this require a serviceescalation definition >> for EVERY service on a host? I sure hope not! >> >> > Yes, you can use a wildcard, e.g.: > > define serviceescalation { > hostgroups important-hosts > service_description * > contact_groups all-page > first_notification 5 > last_notification 20 > notification_interval 2 > } > > For more information on this, see the Nagios manual section entitled > "Time-saving tips for object definitions": > > http://nagios.sourceforge.net/docs/2_0/templatetricks.html > > > Hope this helps, > > Rob > > -- > Robert King > UNIX Systems Administrator > Publishing Technology plc > T: +1 401 331 2014 x120 > F: +1 401 331 2015 > robert.king at publishingtechnology.com > http://www.publishingtechnology.com > GPG Public key: http://tinyurl.com/9zmws > -- Regards, Steven Haigh | IT Operations Pacific Internet Australia Pty Ltd Email: steven_haigh at pacific.net.au Direct Tel: +61 3 9674-7623 Fax: +61 3 9698-4866 www.pacific.net.au Level 1, 1 Southbank Boulevard Southbank VIC 3006 Pacific Internet is a next-generation IP communication solutions provider, and the largest telco-independent Internet Communications Service Provider by geographic reach in the Asia Pacific region. www.pacnet.com SINGAPORE | HONG KONG | PHILIPPINES | AUSTRALIA | INDIA | THAILAND | MALAYSIA -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Thu Jun 7 10:27:14 2007 From: chiel at gmx.net (chiel) Date: Thu, 7 Jun 2007 10:27:14 +0200 Subject: Problem with nagios mailinglist mailman Message-ID: <004d01c7a8dd$a771f290$570010ac@michiel> https://lists.sourceforge.net/lists/listinfo/nagios-users The above url doesn't work anymore (reports some bug). Its for (un)subscribing.. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Thu Jun 7 10:42:14 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Thu, 7 Jun 2007 10:42:14 +0200 Subject: (no subject) Message-ID: >Hi to all, >I have been trying to find out how you get the graphs for monitored service on Windows/Nsclient++. >It is working fine for the locahost (FC9) Memory, load, procs and users. I added a windows machine with NSClient++, I added the service Ping to both localhost and the windows machine, and the graphs are >showing up fine. But when I add Memory, procs, load service to the windows machine no graphs shows. How come it works with ping for both localhost and Windows machine? Even though I made sure that >the service_description is the same as for the localhost >I am about to go insain, please help? I know this belongs under NagiosGrapher mailinglist, and I posted there as well, but I got 0 answers there, hoping that someone can help me here. Could be a number of things, but my top guesses would be: 1. Performance data collection not ticked in the service definition for the extra NSClient++ services 2. No regular expression in the map file to collect the data 3. No addition to serviceext info.cfg to display the icon/link to the graphs in the web interface You could try to tail the perfdata.dat to see if anything is being written to check '1' Copy the map file and edit it offline to check '2' - switching on debugging in nagios graph should return errors to its log along the lines of unrecognised data if you have no mappings If there are RRD files being created, and there is no icon, check the serviceextinfo.cfg file I'm betting its '2' though, here's an example from NSClient++ for Memory check graphing # Service type: ntmem # check command: # output: # perfdata: 'physical memory'=63%;85;95; /perfdata:.*memory'=([.0-9]+)%;([.0-9]+);([.0-9]+)/ and push @s, [ ntmem, [ memused, GAUGE, $1], [ memwarn, GAUGE, $2], [ memcrit, GAUGE, $3] ]; .. there isn't any performance data, the graph is drawn from the output - at least, this is how I did it. :-) ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA RSU Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu Jun 7 11:15:48 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 7 Jun 2007 10:15:48 +0100 Subject: (no subject) In-Reply-To: References: Message-ID: glynn.seymour at bayerbbs.com wrote: >> Hi to all, > >> I have been trying to find out how you get the graphs for monitored >> service on Windows/Nsclient++. It is working fine for the locahost >> (FC9) Memory, load, procs and users. > I added a windows machine with NSClient++, I added the service Ping > to both localhost and the windows machine, and the graphs are > >showing up fine. But when I add Memory, procs, load service to the > windows machine no graphs shows. How come it works with ping for both > localhost and Windows machine? Even though I made sure that >the > service_description is the same as for the localhost >> I am about to go insain, please help? I know this belongs under > NagiosGrapher mailinglist, and I posted there as well, but I got 0 > answers there, hoping that someone can help me here. > > Could be a number of things, but my top guesses would be: > > 1. Performance data collection not ticked in the service > definition > for the extra NSClient++ services > 2. No regular expression in the map file to collect the data [snip] > I'm betting its '2' though, here's an example from NSClient++ for > Memory check graphing > > # Service type: ntmem > # check command: > # output: > # perfdata: 'physical memory'=63%;85;95; > /perfdata:.*memory'=([.0-9]+)%;([.0-9]+);([.0-9]+)/ > and push @s, [ ntmem, > [ memused, GAUGE, $1], > [ memwarn, GAUGE, $2], > [ memcrit, GAUGE, $3] ]; I agree with your analysis, it probably is just a matter of configuring the graph tool to recognise the output. But the OP mentioned NagiosGrapher and that's an example from a Nagiosgraph map file. Those two letters in the name make all the difference. :) -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 7 13:52:00 2007 From: marc at ena.com (Marc Powell) Date: Thu, 7 Jun 2007 06:52:00 -0500 Subject: Problem with nagios mailinglist mailman In-Reply-To: <004d01c7a8dd$a771f290$570010ac@michiel> References: <004d01c7a8dd$a771f290$570010ac@michiel> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of chiel > Sent: Thursday, June 07, 2007 3:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with nagios mailinglist mailman > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > The above url doesn't work anymore (reports some bug). Its for > (un)subscribing.. Until it's fixed, if you're still interested in unsubscribing, the instructions are in the headers of every list message. You can unsubscribe by going to the sourcefourge link or sending an e-mail. List-Unsubscribe: , -- marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Thu Jun 7 16:07:15 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Thu, 7 Jun 2007 07:07:15 -0700 Subject: error while running make command on HP_UX Message-ID: <3B04628AC467E646A3C161C4C3831CBE6B5465@rcpbex02.amer.bea.com> I am trying to install nagios plugins on an HP_UX client but when I run the make command it gives me the following error- /usr/ccs/bin/ld: Unsatisfied symbols: floorf (first referenced in check_swap.o) (code) collect2: ld returned 1 exit status Kindly help as I really need to get it fixed. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Thu Jun 7 17:06:34 2007 From: apereira at duocom.ca (Antonio Pereira) Date: Thu, 7 Jun 2007 11:06:34 -0400 Subject: NSClient++ or NRPE Message-ID: <2FAF78EDA2D2DF4EB656ABB3339FD10548F10C@mtlexchange.Duocom.local> Hello, I am trying to figure out which one is better to use and I am having a difficult time to determine which is better. So I figured I would ask all of you. Which one is better NRPE or NSClient++? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Thu Jun 7 17:07:51 2007 From: jcall at verio.net (Jonathan Call) Date: Thu, 7 Jun 2007 11:07:51 -0400 Subject: Host/Ping check and Nagios performance. Message-ID: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> Is there any reason why Nagios stops running all service checks while it executes check-host-alive/ping on hosts? Can I change that? I cannot find a setting to do it. With the large number of service checks I'm running (1300+) whenever a host goes down (or in some cases just stops answering ICMP) it kills performance on the Nagios server. Jonathan Call ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Jun 7 17:26:30 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Thu, 07 Jun 2007 09:26:30 -0600 Subject: Host/Ping check and Nagios performance. In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <1181229990.7485.10.camel@localhost> That's just how Nagios 2.x works. I hear-tell that 3.x doesn't have this "problem". On Thu, 2007-06-07 at 11:07 -0400, Jonathan Call wrote: > Is there any reason why Nagios stops running all service checks while it > executes check-host-alive/ping on hosts? Can I change that? I cannot > find a setting to do it. > > With the large number of service checks I'm running (1300+) whenever a > host goes down (or in some cases just stops answering ICMP) it kills > performance on the Nagios server. > > > Jonathan Call > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Jun 7 17:29:37 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 7 Jun 2007 17:29:37 +0200 Subject: R: NSClient++ or NRPE In-Reply-To: <2FAF78EDA2D2DF4EB656ABB3339FD10548F10C@mtlexchange.Duocom.local> References: <2FAF78EDA2D2DF4EB656ABB3339FD10548F10C@mtlexchange.Duocom.local> Message-ID: <00c201c7a918$a9522270$0900d40a@intranet.it.net> On unix/linux system you can use only NRPE. On Microsoft system you can use NSClient++ (that contains both features of old NSClient and NRPE). Regards Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.07 A: Nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] NSClient++ or NRPE Hello, I am trying to figure out which one is better to use and I am having a difficult time to determine which is better. So I figured I would ask all of you. Which one is better NRPE or NSClient++? Thanks _____ Avis Le present message n'est destine qu'a la personne ou a l'entite a qui il est adresse et peut contenir des renseignements de nature privilegiee et confidentielle. Si le lecteur du present message n'est pas le destinataire prevu ou encore la personne chargee de remettre ce message au destinataire prevu, veuillez nous aviser immediatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Thu Jun 7 17:35:37 2007 From: apereira at duocom.ca (Antonio Pereira) Date: Thu, 7 Jun 2007 11:35:37 -0400 Subject: R: NSClient++ or NRPE In-Reply-To: <00c201c7a918$a9522270$0900d40a@intranet.it.net> References: <2FAF78EDA2D2DF4EB656ABB3339FD10548F10C@mtlexchange.Duocom.local> <00c201c7a918$a9522270$0900d40a@intranet.it.net> Message-ID: <2FAF78EDA2D2DF4EB656ABB3339FD10548F173@mtlexchange.Duocom.local> The way I have set up is Nagios 2.7 on Linux and installed NSClient++ on windows servers. I am monitoring the windows servers using NSClient++. Is this the best option? I want to make sure before I go any further in configuration. I am presently monitoring 2 windows servers. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Thursday, June 07, 2007 11:30 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: NSClient++ or NRPE On unix/linux system you can use only NRPE. On Microsoft system you can use NSClient++ (that contains both features of old NSClient and NRPE). Regards Marco ________________________________ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.07 A: Nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] NSClient++ or NRPE Hello, I am trying to figure out which one is better to use and I am having a difficult time to determine which is better. So I figured I would ask all of you. Which one is better NRPE or NSClient++? Thanks ________________________________ Avis Le present message n'est destine qu'a la personne ou a l'entite a qui il est adresse et peut contenir des renseignements de nature privilegiee et confidentielle. Si le lecteur du present message n'est pas le destinataire prevu ou encore la personne chargee de remettre ce message au destinataire prevu, veuillez nous aviser immediatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Thu Jun 7 17:51:04 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Thu, 7 Jun 2007 16:51:04 +0100 Subject: Nagios-users Digest, Vol 13, Issue 11 In-Reply-To: References: Message-ID: >I agree with your analysis, it probably is just a matter of configuring >the graph tool to recognise the output. But the OP mentioned >NagiosGrapher and that's an example from a Nagiosgraph map file. Those >two letters in the name make all the difference. :) LoL, my brain suffered a buffer overrun and dumped the last 2 characters :-) all of my post refers to Nagiosgraph. Sorry palleje, but the principals the same - check whether the translation can take place - don't know Nagiosgrapher but if it creates RRD files I'd check to see if any are being created for these services, and switch on any debugging to its log files it has - tailing this whilst rerunning a check might return a few clues. Again, apologies for the confusion. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Thu Jun 7 17:52:57 2007 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 7 Jun 2007 07:52:57 -0800 Subject: check_mrtg In-Reply-To: <46641952.5090506@2020media.com> References: <46641952.5090506@2020media.com> Message-ID: To the best of my knowledge, all such plugins are designed to alert only when traffic exceeds a certain threshold, not when it drops below. I THINK MRTG itself has some built-in notification options that may be settable for when traffic drops below a threshold, and I wouldn't think it would be a terribly complicated matter to modify an existing plugin to alert for a floor threshold (assuming you know some basic programing at least), but I don't believe there are any existing plugins that have that functionality. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Jun 4, 2007, at 5:53 AM, Rex Wickham (2020Media.com) wrote: > Can anyone tell me how to check for a decrease rather than an increase > in traffic (in the check_mrtg plugin or any other plugin)? > > The help message says > If the value exceeds the threshold, a WARNING status is > returned. > If the value exceeds the threshold, a CRITICAL status is > returned. > > I want to get an alert if traffic drops suddenly as well as increases > suddenly > > Thanks in advance > > REX > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jun 7 17:52:27 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 7 Jun 2007 11:52:27 -0400 Subject: Host/Ping check and Nagios performance. In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: > Is there any reason why Nagios stops running all service > checks while it executes check-host-alive/ping on hosts? Can > I change that? I cannot find a setting to do it. Yes. So that it can determine host state and not notify for services if the parent host is down. There is no setting to change that, so your best bet is to use as lightweight a host check as possible. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 7 18:01:17 2007 From: marc at ena.com (Marc Powell) Date: Thu, 7 Jun 2007 11:01:17 -0500 Subject: Host/Ping check and Nagios performance. In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jonathan Call > Sent: Thursday, June 07, 2007 10:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host/Ping check and Nagios performance. > > Is there any reason why Nagios stops running all service checks while it > executes check-host-alive/ping on hosts? Can I change that? I cannot > find a setting to do it. You cannot change it with Nagios 2 and its necessary behavior if you perform host checks. The only alternative is to not perform host checks at all but the you lose network outage detection, suppression of multiple notifications of service on down hosts and some other things that may or may not matter to you. The links below provide some understanding and suggestions. We do not use host checks here at all. > > With the large number of service checks I'm running (1300+) whenever a > host goes down (or in some cases just stops answering ICMP) it kills > performance on the Nagios server. > The Host Checks section of http://nagios.sourceforge.net/docs/2_0/checkscheduling.html and 7, 8 and 9 of http://nagios.sourceforge.net/docs/2_0/tuning.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 7 18:09:08 2007 From: marc at ena.com (Marc Powell) Date: Thu, 7 Jun 2007 11:09:08 -0500 Subject: check_mrtg In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Israel Brewster > Sent: Thursday, June 07, 2007 10:53 AM > To: Rex Wickham (2020Media.com) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_mrtg > > To the best of my knowledge, all such plugins are designed to alert > only when traffic exceeds a certain threshold, not when it drops I haven't followed this thread too closely but it sounds like the negate plugin might be useful. negate changes OK to CRITICAL and vice-versa. You'll need two separate tests though. For example say normal was between 4 and 7, critical above 7 or below 4. check_mrtg -c 8 # CRITICAL if 8 or above, everything else is OK negate check_mrtg -c 3 # CRITICAL if 3 or below everything else is OK -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Thu Jun 7 18:09:44 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Thu, 7 Jun 2007 09:09:44 -0700 Subject: Host/Ping check and Nagios performance. In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701FB31A6@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: check_ping is a pig :) It's okay for services since they can run in parallel but host checks are serialized which can b0rk your whole system if many hosts go down at the same time. A faster way to do this is to use check_icmp, which does 5 pings at the same time (concurrently) as opposed to 5 in a row (consecutive) like check_ping does. An even faster check is using check_host as a symlink to check_icmp, which still sends the 5 concurrent pings but only requires one to be okay, which is great for hostchecks IMHO. There is a slight security hit using check_icmp or check_host as you must SetUID it. Read the docs, this is all from memory but should be correct, hope this helps! Here is an example: ######################################################################## ### bash-3.1# time ./check_ping -H 192.168.22.1 -w 100.0,20% -c 500.0,60%, 100 PING OK - Packet loss = 0%, RTA = 0.31 ms real 0m4.009s user 0m0.000s sys 0m0.000s ######################################################################## ### bash-3.1# time ./check_icmp -H 192.168.22.1 -w 100.0,20% -c 500.0,60%, 100 OK - 192.168.22.1: rta 0.225ms, lost 0%|rta=0.225ms; 100.000;500.000;0; pl=0%;20;100;; real 0m0.004s user 0m0.000s sys 0m0.004s ######################################################################## ### bash-3.1# time ./check_host -H 192.168.22.1 -w 100.0,20% -c 500.0,60%, 100 OK - 192.168.22.1 responds to ICMP. Packet 1, rta 0.666ms|pkt=1;;0;5 rta=0.666;100.000;500.000;; real 0m0.003s user 0m0.000s sys 0m0.004s ######################################################################## ### On Jun 7, 2007, at 8:07 AM, Jonathan Call wrote: > Is there any reason why Nagios stops running all service checks > while it > executes check-host-alive/ping on hosts? Can I change that? I cannot > find a setting to do it. > > With the large number of service checks I'm running (1300+) whenever a > host goes down (or in some cases just stops answering ICMP) it kills > performance on the Nagios server. > > > Jonathan Call > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Thu Jun 7 17:55:39 2007 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Thu, 7 Jun 2007 16:55:39 +0100 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 07/06/2007. End Date: 08/06/2007. I will be out of the office until 8th June please contact the service desk if your enquiry is service based. For escelations please contact Andy Johnson on 07841726771 ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Thu Jun 7 18:48:06 2007 From: scubacuda at gmail.com (RR) Date: Thu, 7 Jun 2007 09:48:06 -0700 Subject: bug on this listserv's subscribe Message-ID: <2b7af7c40706070948k787891d4t7b4d74a52b977d3a@mail.gmail.com> I sent a friend the URL to subscribe to this list https://lists.sourceforge.net/lists/listinfo/nagios-devel and he tells me that he's getting this error Bug in Mailman version 2.1.8 We're sorry, we hit a bug! Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Thu Jun 7 19:10:12 2007 From: scubacuda at gmail.com (RR) Date: Thu, 7 Jun 2007 10:10:12 -0700 Subject: creating elegant cfg ? Message-ID: <2b7af7c40706071010q756f9a27yc92d7a33f77cc378@mail.gmail.com> I'm relatively new at Nagios, and my cfg files are ugly. Any HOWTOs (or better, examples!) on creating elegant Nagios cfg files? Roger -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Jun 7 19:12:22 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 07 Jun 2007 13:12:22 -0400 Subject: creating elegant cfg ? In-Reply-To: <2b7af7c40706071010q756f9a27yc92d7a33f77cc378@mail.gmail.com> References: <2b7af7c40706071010q756f9a27yc92d7a33f77cc378@mail.gmail.com> Message-ID: <46683C76.1090108@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 RR wrote: > I'm relatively new at Nagios, and my cfg files are ugly. > > Any HOWTOs (or better, examples!) on creating elegant Nagios cfg files? > There is a ton of information available on the Nagios Wiki: http://www.nagioscommunity.org/wiki/index.php/Main_Page Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGaDx1HoeeepPau2ERAkeOAKC9CFQaAqcWtZsj+XiS1OvcaGT8nQCgyGHO gXmovPM9AhoYM/MtVA81Ti0= =TZNM -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhagbali at ghanatel.com.gh Thu Jun 7 19:48:40 2007 From: rhagbali at ghanatel.com.gh (Rita H. Agbali) Date: Thu, 7 Jun 2007 17:48:40 -0000 Subject: Unknown status for ntp and ather services References: <003401c7a86c$450a0f50$2b405750@CANHIX> <46670AC4.10107@epsiia.com> Message-ID: <002101c7a92c$1b873750$2b405750@CANHIX> Thanks Josh, sorry for delay response i have been out on another assignment. i think i have left some arguments out. i have been able to get nttp up and working around the others. Next time i will post the necessaryonf figurations. ----- Original Message ----- From: "Josh Yost" To: "Rita H. Agbali" Cc: Sent: Wednesday, June 06, 2007 7:28 PM Subject: Re: [Nagios-users] Unknown status for ntp and ather services > Rita H. Agbali wrote: >> hi all, >> >> I have installed nagios and its working ok. There are these services >> which are nttp, http, ssh, mysql and athers whose plugins are installed >> and check commands configured. However when monitoring the status is >> unknown and Information status says Usage:check_udp -H host -p port [-w ] >> [-c ] [-s ]. Someone please help me fix this problem. >> Thanks >> > > my first thought would be to check your usage. I'm also assuming you're > not trying to monitor mysql, http, or ssh with check_udp (not very clear > from the post). > > How are the commands defined? What args are you passing the command? > Did you use bad flags or misspell something? Have you tried running the > command from the command line **as the nagios user**? > > feel free to post the relevant command and service definitions to the > list, and somebody will be able to offer much more help than this. > > - Josh > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhagbali at ghanatel.com.gh Thu Jun 7 19:50:13 2007 From: rhagbali at ghanatel.com.gh (Rita H. Agbali) Date: Thu, 7 Jun 2007 17:50:13 -0000 Subject: Unknown status for ntp and ather services References: <003401c7a86c$450a0f50$2b405750@CANHIX> <20070606193036.GD12840@pmorris.usa.hp.com> Message-ID: <002a01c7a92c$52a70080$2b405750@CANHIX> Thanks for your corection Patrick ----- Original Message ----- From: "Patrick Morris" To: "Rita H. Agbali" Cc: Sent: Wednesday, June 06, 2007 7:30 PM Subject: Re: [Nagios-users] Unknown status for ntp and ather services > On Wed, 06 Jun 2007, Rita H. Agbali wrote: > >> I have installed nagios and its working ok. There are these services >> which are nttp, http, ssh, mysql and athers whose plugins are installed >> and check commands configured. However when monitoring the status is >> unknown and Information status says Usage:check_udp -H host -p port [-w ] >> [-c ] [-s ]. Someone please help me fix this problem. > > All we can tell from that is that your check command is conigured > incorrectly. Without actually seeing the check you're using, though, > it's impossible to say what you'd need to do to fix it. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhagbali at ghanatel.com.gh Thu Jun 7 19:59:42 2007 From: rhagbali at ghanatel.com.gh (Rita H. Agbali) Date: Thu, 7 Jun 2007 17:59:42 -0000 Subject: Unknown status for ntp and ather services References: <003401c7a86c$450a0f50$2b405750@CANHIX> <46670C4A.3010409@meteostar.com> Message-ID: <003d01c7a92d$a619a730$2b405750@CANHIX> I was paassing -H ----- Original Message ----- From: "Jason Salaz" To: "Rita H. Agbali" Cc: Sent: Wednesday, June 06, 2007 7:34 PM Subject: Re: [Nagios-users] Unknown status for ntp and ather services > Rita H. Agbali wrote: >> [...] However when monitoring the status is unknown and Information >> status says Usage:check_udp -H host -p port [-w ] [-c ] [-s ]. Someone >> please help me fix this problem. > > You're likely either passing a -h (note the case difference between -H > and -h) or you're not passing the script a host address. > > Look at your command definitions. > > If you can't figure it out, send them to the list. > > -- > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Thu Jun 7 21:44:18 2007 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 07 Jun 2007 14:44:18 -0500 Subject: Progess Exchange 2007 Conference Message-ID: <46686012.2050704@nagios.org> Apologies for cross posting... If anyone is planning on attending the Progress Exchange 2007 conference (http://www.progress.com/exchange/2007/index.ssp) in Phoenix next week, please get in touch with me asap. I have some undercover Nagios work that is in need of a volunteer. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ From marcus.fleige at de.rhenus.com Thu Jun 7 22:03:12 2007 From: marcus.fleige at de.rhenus.com (Marcus Fleige) Date: Thu, 7 Jun 2007 22:03:12 +0200 Subject: Distributed to Central Configuration In-Reply-To: References: Message-ID: <46686480.1060508@de.rhenus.com> Hi Demetri, Demetri Mouratis schrieb: > Does anyone on the list do anything similar they'd care to share? I'm > looking over my scripts and thinking they were good but before I sit > down to rewrite them I'd appreciate any input/suggestions. I store my nagios config files in an svn repository with a dedicated nagios main config file for each slave, telling it which config dirs to include. After updating configs on the master server, the repository is commited. Afterwards, i run a small shell script which connects to the nagios slave servers, updates the local replica of the repository and reloads the nagios daemon. The only thing that has to be done once for every slave is the manual change of the rc-startscript to tell the daemon which config to use (master uses nagios.cfg including all config dirs, slave1 uses nagios-slaveserver1.cfg incl. dir1-dirX etc.) Hope this is worth mentioning it. ;-) Regards, Marcus Fleige -- EOF ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Thu Jun 7 22:50:17 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Thu, 7 Jun 2007 16:50:17 -0400 Subject: Nagios end-user interfaces Message-ID: <20070607205017.GA3041@bewilderbeast.blackhelicopters.org> Hi, I've searched through Nagiosexchange for options here, but wanted to ask for input before installing and evaluating thirty different tools. Any suggestions would be appreciated. I'm running Nagios 2.9 on FreeBSD/amd64. I need to offer Nagios information to end users without granting them access to the CGIs. Ideally, I don't want users to even know that the CGIs exist. The users need a bank of green/red lights and a network map. It appears that Nagios Looking Glass will handle the green and red lights. The network map is a little more complicated, but it appears that I could use Dashboard (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=962) to create a custom map without any further access, and offer a generic user for that map. Is this correct? Are there better tools for this problem? While Nagiosexchange is grand, it's hard to tell which tools are good and which aren't... Thanks for any shared experience, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Jun 7 23:01:28 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Thu, 07 Jun 2007 22:01:28 +0100 Subject: Nagios end-user interfaces In-Reply-To: <20070607205017.GA3041@bewilderbeast.blackhelicopters.org> References: <20070607205017.GA3041@bewilderbeast.blackhelicopters.org> Message-ID: <46687228.1000102@mailnetwork.co.uk> Hi Michael, I'm the lead developer on the Nagios Looking Glass project, and I'm currently in the middle of a new website for the project, as well as co-ordinating development on the next major release, code-named "Padlock." Feel free to suggest any features you would like to the NLG project tracker (http://arctic.mailnetwork.co.uk) and I can investigate how viable they are. A full status-map such as the one in the Nagios CGIs will be very tricky, but I am planning some form of improved dashboard for Padlock, based on the use of host/service groups as defined in Nagios. Regards, Andy. Michael W. Lucas wrote: > Hi, > > I've searched through Nagiosexchange for options here, but wanted to > ask for input before installing and evaluating thirty different tools. > Any suggestions would be appreciated. > > I'm running Nagios 2.9 on FreeBSD/amd64. > > I need to offer Nagios information to end users without granting them > access to the CGIs. Ideally, I don't want users to even know that the > CGIs exist. The users need a bank of green/red lights and a network > map. > > It appears that Nagios Looking Glass will handle the green and red > lights. The network map is a little more complicated, but it appears > that I could use Dashboard > (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=962) > to create a custom map without any further access, and offer a generic > user for that map. > > Is this correct? Are there better tools for this problem? > > While Nagiosexchange is grand, it's hard to tell which tools are good > and which aren't... > > Thanks for any shared experience, > ==ml > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Fri Jun 8 02:04:34 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 7 Jun 2007 19:04:34 -0500 (CDT) Subject: Distributed to Central Configuration In-Reply-To: <46686480.1060508@de.rhenus.com> References: <46686480.1060508@de.rhenus.com> Message-ID: On Thu, 7 Jun 2007, Marcus Fleige wrote: > Afterwards, i run a small shell script which connects to the nagios > slave servers, > updates the local replica of the repository and reloads the nagios daemon. Hi Marcus, Thanks for your note. You are the second person to reply saying you have a master/slave type config with all the data pushed from master->slave. The main difference from my setup is that the data flows in mine the opposite direction. Part of my problem is that my master (Central Nagios) does not have routing/firewall privileges into each and every slave (Distributed Nagios). This makes things a a push from Distributed to Central, which I can always do, easier/more straight forward. I'm still contemplating my eventual config and I'll post details when I'm "done." Thanks. -D ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdiehl at diehlnet.com Fri Jun 8 04:02:38 2007 From: mdiehl at diehlnet.com (Mike Diehl) Date: Thu, 7 Jun 2007 20:02:38 -0600 Subject: Not getting notifications In-Reply-To: References: <200706062200.57734.mdiehl@diehlnet.com> Message-ID: <200706072002.39057.mdiehl@diehlnet.com> Well, I corrected the notification_options lines and I'm still not getting anything... service_notification_options u,r,f host_notification_options d,u,r,f What ELSE am I missing? Thanx for your time and help, Mike On Thursday 07 June 2007 00:33, Morris, Patrick wrote: > > I'm setting up a new nagios server and I just can't seem to > > get it to notify me. Right now, I'd even be happy to get > > notified by email, but I've got nothing. The service checks > > to turn red and green as expected, though. > > > > > > Here is a typical contacts definition: > > =========================== > > define contact { > > # use daytime_page > > contact_name mdiehl > > alias Mike > > email mdiehl-alerts at localhost > > service_notification_options f,u > > host_notification_options f,u > > service_notification_period 24_7 > > host_notification_period 24_7 > > service_notification_commands > > notify-by-email,notify_by_phone > > host_notification_commands > > host-notify-by-email,notify_by_phone > > } > > You've set this contact to only receiving flapping and unknown > notifications. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Mike Diehl ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Fri Jun 8 04:18:58 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 7 Jun 2007 22:18:58 -0400 Subject: Not getting notifications In-Reply-To: <200706072002.39057.mdiehl@diehlnet.com> References: <200706072002.39057.mdiehl@diehlnet.com> Message-ID: Hello Mike, You are only allowing Unknown, Recovery, and Flap for service notifications. You should add w (for warning), or c (for critical). Thanks, Janet -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Diehl Sent: June 7, 2007 10:03 PM To: nagios-users at lists.sourceforge.net Cc: Morris, Patrick Subject: Re: [Nagios-users] Not getting notifications Well, I corrected the notification_options lines and I'm still not getting anything... service_notification_options u,r,f host_notification_options d,u,r,f What ELSE am I missing? Thanx for your time and help, Mike On Thursday 07 June 2007 00:33, Morris, Patrick wrote: > > I'm setting up a new nagios server and I just can't seem to > > get it to notify me. Right now, I'd even be happy to get > > notified by email, but I've got nothing. The service checks > > to turn red and green as expected, though. > > > > > > Here is a typical contacts definition: > > =========================== > > define contact { > > # use daytime_page > > contact_name mdiehl > > alias Mike > > email mdiehl-alerts at localhost > > service_notification_options f,u > > host_notification_options f,u > > service_notification_period 24_7 > > host_notification_period 24_7 > > service_notification_commands > > notify-by-email,notify_by_phone > > host_notification_commands > > host-notify-by-email,notify_by_phone > > } > > You've set this contact to only receiving flapping and unknown > notifications. > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Mike Diehl ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdiehl at diehlnet.com Fri Jun 8 07:44:41 2007 From: mdiehl at diehlnet.com (Mike Diehl) Date: Thu, 7 Jun 2007 23:44:41 -0600 Subject: Not getting notifications In-Reply-To: References: Message-ID: <200706072344.41263.mdiehl@diehlnet.com> On Thursday 07 June 2007 08:18:58 pm Janet Post wrote: > Hello Mike, > > You are only allowing Unknown, Recovery, and Flap for service > notifications. You should add w (for warning), or c (for critical). Well, I spent the last 2 hours pouring over my config and STILL haven't gotten it working..... This time I think I've turned everyting on that can be turned on and still no notification. Hope someone can see something that I've missed. TIA, Here is my revised excerpt: ============================================== define contact { contact_name mdiehl alias Mike Diehl email mdiehl-alerts at diehlnet.nospam service_notification_options u,r,f,w,c host_notification_options d,u,r,f service_notification_period 24_7 host_notification_period 24_7 service_notification_commands notify-by-email,notify_by_phone host_notification_commands host-notify-by-email,notify_by_phone } define service { name generic-service host_name dominion service_description Default service check_command check_ping active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24_7 notification_options w,u,c,r,f normal_check_interval 2 retry_check_interval 5 max_check_attempts 3 check_period 24_7 contact_groups diehl register 0 } define service { use generic-service name webmin host_name dominion service_description Webmin check_command check_webmin contact_groups diehl notification_options w,c,u,r,f notification_period 24_7 } define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 active_checks_enabled 1 check_command check-host-alive max_check_attempts 5 process_perf_data 1 notification_interval 60 notifications_enabled 1 event_handler check_ping register 0 } define host { use generic-host host_name dominion alias dominion.diehlnet.com contact_groups diehl,pcc address 10.0.1.1 notifications_enabled 1 notification_options d,u,r,f notification_interval 10 notification_period 24_7 check_period 24_7 max_check_attempts 2 } ============================================== -- Mike Diehl ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Fri Jun 8 07:51:02 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 8 Jun 2007 01:51:02 -0400 Subject: Not getting notifications In-Reply-To: <200706072344.41263.mdiehl@diehlnet.com> References: <200706072344.41263.mdiehl@diehlnet.com> Message-ID: Hello Mike, One of the first problems I see is the use of the "register 0" in your host and service definitions. The "register 0" option is for when you are defining a template to be used in a service or host definition. No checks are done on these services or hosts. Remove the register 0 completely and it should (hopefully) work for you. Janet -----Original Message----- From: Mike Diehl [mailto:mdiehl at diehlnet.com] Sent: June 8, 2007 1:45 AM To: Janet Post Cc: nagios-users at lists.sourceforge.net; Morris, Patrick Subject: Re: [Nagios-users] Not getting notifications On Thursday 07 June 2007 08:18:58 pm Janet Post wrote: > Hello Mike, > > You are only allowing Unknown, Recovery, and Flap for service > notifications. You should add w (for warning), or c (for critical). Well, I spent the last 2 hours pouring over my config and STILL haven't gotten it working..... This time I think I've turned everyting on that can be turned on and still no notification. Hope someone can see something that I've missed. TIA, Here is my revised excerpt: ============================================== define contact { contact_name mdiehl alias Mike Diehl email mdiehl-alerts at diehlnet.nospam service_notification_options u,r,f,w,c host_notification_options d,u,r,f service_notification_period 24_7 host_notification_period 24_7 service_notification_commands notify-by-email,notify_by_phone host_notification_commands host-notify-by-email,notify_by_phone } define service { name generic-service host_name dominion service_description Default service check_command check_ping active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24_7 notification_options w,u,c,r,f normal_check_interval 2 retry_check_interval 5 max_check_attempts 3 check_period 24_7 contact_groups diehl register 0 } define service { use generic-service name webmin host_name dominion service_description Webmin check_command check_webmin contact_groups diehl notification_options w,c,u,r,f notification_period 24_7 } define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 active_checks_enabled 1 check_command check-host-alive max_check_attempts 5 process_perf_data 1 notification_interval 60 notifications_enabled 1 event_handler check_ping register 0 } define host { use generic-host host_name dominion alias dominion.diehlnet.com contact_groups diehl,pcc address 10.0.1.1 notifications_enabled 1 notification_options d,u,r,f notification_interval 10 notification_period 24_7 check_period 24_7 max_check_attempts 2 } ============================================== -- Mike Diehl ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Fri Jun 8 08:10:51 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Thu, 7 Jun 2007 23:10:51 -0700 Subject: Cancel Downtime? Message-ID: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> IIRC, there used to be a "Cancel Downtime" link, am I blind or did this go away? How do you cancel scheduled downtime? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Jun 8 08:17:42 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 8 Jun 2007 02:17:42 -0400 Subject: Cancel Downtime? In-Reply-To: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> References: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Wil Schultz > Sent: Thursday, June 07, 2007 11:11 PM > To: nagios-users > Subject: [Nagios-users] Cancel Downtime? > > IIRC, there used to be a "Cancel Downtime" link, am I blind > or did this go away? > > How do you cancel scheduled downtime? Click the 'Downtime" link in the left-side menu. It should be pretty self-explanatory from there. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at onetruemedia.com Fri Jun 8 08:18:03 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Thu, 7 Jun 2007 23:18:03 -0700 Subject: Cancel Downtime? In-Reply-To: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> References: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> Message-ID: <0DF07F9E09E49040A9AAF1BB36EA723112B000F0@ehost011-5.exch011.intermedia.net> Click "Downtime" and then the Trash can icon to the right of the service/host you want to cancel. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Wil Schultz > Sent: Thursday, June 07, 2007 11:11 PM > To: nagios-users > Subject: [Nagios-users] Cancel Downtime? > > IIRC, there used to be a "Cancel Downtime" link, am I blind or did > this go away? > > How do you cancel scheduled downtime? > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Fri Jun 8 08:24:16 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Thu, 7 Jun 2007 23:24:16 -0700 Subject: Cancel Downtime? In-Reply-To: <0DF07F9E09E49040A9AAF1BB36EA723112B000F0@ehost011-5.exch011.intermedia.net> References: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> <0DF07F9E09E49040A9AAF1BB36EA723112B000F0@ehost011-5.exch011.intermedia.net> Message-ID: <0F3C2DF5-2B67-4616-8685-F873FD352BB6@bsdboy.com> Blind I am :-) Thank you! On Jun 7, 2007, at 11:18 PM, Anthony Mendoza wrote: > Click "Downtime" and then the Trash can icon to the right of the > service/host you want to cancel. > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Wil Schultz >> Sent: Thursday, June 07, 2007 11:11 PM >> To: nagios-users >> Subject: [Nagios-users] Cancel Downtime? >> >> IIRC, there used to be a "Cancel Downtime" link, am I blind or did >> this go away? >> >> How do you cancel scheduled downtime? >> > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jun 8 08:42:45 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 8 Jun 2007 07:42:45 +0100 Subject: Nagios end-user interfaces In-Reply-To: <20070607205017.GA3041@bewilderbeast.blackhelicopters.org> References: <20070607205017.GA3041@bewilderbeast.blackhelicopters.org> Message-ID: <765d77c80706072342y1bbbda42k9db9a1205f5704f3@mail.gmail.com> On 07/06/07, Michael W. Lucas wrote: > I need to offer Nagios information to end users without granting them > access to the CGIs. Ideally, I don't want users to even know that the > CGIs exist. The users need a bank of green/red lights and a network > map. Have a look at Nagvis: http://www.nagvis.org/doku.php hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Jun 8 10:24:13 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 8 Jun 2007 10:24:13 +0200 Subject: R: R: NSClient++ or NRPE In-Reply-To: <2FAF78EDA2D2DF4EB656ABB3339FD10548F173@mtlexchange.Duocom.local> References: <2FAF78EDA2D2DF4EB656ABB3339FD10548F10C@mtlexchange.Duocom.local><00c201c7a918$a9522270$0900d40a@intranet.it.net> <2FAF78EDA2D2DF4EB656ABB3339FD10548F173@mtlexchange.Duocom.local> Message-ID: <003501c7a9a6$6580e5c0$0900d40a@intranet.it.net> I have Nagios 1.4 on Linux server. 374 hosts (Linux/Unix,Windows and network equipment) 877 services More than 40 windows systems have NSClient++ installed Regards Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.36 A: Nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: NSClient++ or NRPE The way I have set up is Nagios 2.7 on Linux and installed NSClient++ on windows servers. I am monitoring the windows servers using NSClient++. Is this the best option? I want to make sure before I go any further in configuration. I am presently monitoring 2 windows servers. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Thursday, June 07, 2007 11:30 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: NSClient++ or NRPE On unix/linux system you can use only NRPE. On Microsoft system you can use NSClient++ (that contains both features of old NSClient and NRPE). Regards Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.07 A: Nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] NSClient++ or NRPE Hello, I am trying to figure out which one is better to use and I am having a difficult time to determine which is better. So I figured I would ask all of you. Which one is better NRPE or NSClient++? Thanks _____ Avis Le present message n'est destine qu'a la personne ou a l'entite a qui il est adresse et peut contenir des renseignements de nature privilegiee et confidentielle. Si le lecteur du present message n'est pas le destinataire prevu ou encore la personne chargee de remettre ce message au destinataire prevu, veuillez nous aviser immediatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. _____ Avis Le pr?sent message n'est destin? qu'? la personne ou ? l'entit? ? qui il est adress? et peut contenir des renseignements de nature privil?gi?e et confidentielle. Si le lecteur du pr?sent message n'est pas le destinataire pr?vu ou encore la personne charg?e de remettre ce message au destinataire pr?vu, veuillez nous aviser imm?diatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Hollick at porthosp.nhs.uk Fri Jun 8 10:44:22 2007 From: Matthew.Hollick at porthosp.nhs.uk (Hollick Matthew - ICT Systems) Date: Fri, 8 Jun 2007 09:44:22 +0100 Subject: NSClient++ or NRPE Message-ID: Hi there, We currently have nsclient++ installed across 200+ w2k3 servers. We get about 4 crashes a day. The service has been set to auto-restart so it is not a _huge_ problem. Nevertheless we are looking at moving away from nsclient++ possible to nrpe_nt or even a completely different monitoring platform :( Although it appears that practically everybody else has a great deal of success with nsclient++ we can not at the moment endorse it. Hopefully the issue will turn out to be a configuration error on our part. Regards, Matthew. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Fri Jun 8 15:40:02 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 8 Jun 2007 09:40:02 -0400 Subject: NSClient++ or NRPE In-Reply-To: <003501c7a9a6$6580e5c0$0900d40a@intranet.it.net> References: <003501c7a9a6$6580e5c0$0900d40a@intranet.it.net> Message-ID: <7F477BD26F545A4C8E4779754A38EFB3018C023E@PEPWMV00043.corp.pep.pvt> This discussion intrigues me... We've been using NRPE_NT with our Windows boxes (probably around 200 that we're monitoring) because I think I had the impression that this was the more commonly used of the two (NRPE/nsclient++). We primarily use it to call the wincheck_counter.exe file to probe Windows' PDH counters. However, from seeing the responses so far I'd say it appears that the majority of folks are using nsclient++ instead. I had considered nsclient++ at one time because it doesn't appear that nrpe_nt is actively developed anymore, yet nsclient++ has a lot of activity. When I tried it out, I did have some difficulty getting it working properly and eventually gave up on it. Then again, I maybe just didn't give it enough time and didn't understand how it worked well enough. It seemed to me that you mostly were able to probe things that it gave you the opportunity to probe. With NRPE_NT and wincheck_counter.exe (which doesn't seem to me to be run by all that many people either...) we could probe anything that was returnable by the PDH lib. I also had the impression that nsclient++ carried a bigger footprint than NRPE_NT did. One problem we've seen with NRPE_NT and wincheck_counter.exe is that it seems rather unreliable on Win2k machines -- at least for the things we commonly check like cpu, memory and disk space. A number of times it will just time out. Another list member indicated that they'd had crashes with Win2k3 -- we've never seen that. Given that nsclient++ seems much more widely used and is still actively developed, I'm considering giving it another shot. This issue of figuring out what's widely used has come up for me before with Nagios. When I was trying to figure out whether to use nagiosgraph or nagiosgrapher, for example. Just because something's in the Nagios Exchange, doesn't mean it's any good, actively supported, or perhaps even worth using. I wish I could send out a poll :-) Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Friday, June 08, 2007 4:24 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: R: NSClient++ or NRPE I have Nagios 1.4 on Linux server. 374 hosts (Linux/Unix,Windows and network equipment) 877 services More than 40 windows systems have NSClient++ installed Regards Marco ________________________________ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.36 A: Nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: NSClient++ or NRPE The way I have set up is Nagios 2.7 on Linux and installed NSClient++ on windows servers. I am monitoring the windows servers using NSClient++. Is this the best option? I want to make sure before I go any further in configuration. I am presently monitoring 2 windows servers. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Thursday, June 07, 2007 11:30 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: NSClient++ or NRPE On unix/linux system you can use only NRPE. On Microsoft system you can use NSClient++ (that contains both features of old NSClient and NRPE). Regards Marco ________________________________ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.07 A: Nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] NSClient++ or NRPE Hello, I am trying to figure out which one is better to use and I am having a difficult time to determine which is better. So I figured I would ask all of you. Which one is better NRPE or NSClient++? Thanks ________________________________ Avis Le present message n'est destine qu'a la personne ou a l'entite a qui il est adresse et peut contenir des renseignements de nature privilegiee et confidentielle. Si le lecteur du present message n'est pas le destinataire prevu ou encore la personne chargee de remettre ce message au destinataire prevu, veuillez nous aviser immediatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. ________________________________ Avis Le pr?sent message n'est destin? qu'? la personne ou ? l'entit? ? qui il est adress? et peut contenir des renseignements de nature privil?gi?e et confidentielle. Si le lecteur du pr?sent message n'est pas le destinataire pr?vu ou encore la personne charg?e de remettre ce message au destinataire pr?vu, veuillez nous aviser imm?diatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From munroes at cawinet.com Fri Jun 8 16:01:20 2007 From: munroes at cawinet.com (munroes at cawinet.com) Date: Fri, 8 Jun 2007 10:01:20 -0400 Subject: notification inheritance issue Message-ID: <85cc0f38f87c9d55eace52e213708562@mx0.cawinet.com> I have 30 or so hosts defined using 2 layers of inheritance. The parent template is: # Generic host definition template - This is NOT a real host, just a template! define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information acro ss program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r contact_groups admins register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! ---------------------------------- Then I defined a more specific template: #Parent Class that all objects will inherit from define host { host_name 58ants check_command check-host-alive notification_options d,u,r notification_period never max_check_attempts 8 hostgroups Customers58 name 58ant use generic-host register 0 } ------------------------------------------- by my calculations, I should not be receiving any notifications for hosts using this template. But I am and I don't know why. I'm using nagios2 on a debian etch system by the way. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Fri Jun 8 16:38:24 2007 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Fri, 8 Jun 2007 10:38:24 -0400 Subject: Nagios monitoring limits: hosts and services In-Reply-To: <46687228.1000102@mailnetwork.co.uk> References: <20070607205017.GA3041@bewilderbeast.blackhelicopters.org> <46687228.1000102@mailnetwork.co.uk> Message-ID: I'm starting to get complaints from our Operations group that the Nagios web GUI is "getting slow". This is on a version 1.x Nagios server. The server is monitoring 678 hosts and 3481 services organized in 29 host groups. Most checks are done on 5 minutes intervals. I've gone over all of the documented "tweaks" to improve performance. The hardware seems adequate and isn't starved for CPU; loads seem reasonable; although the "Check Latency" under the "Performance Info" screen continually creeps up - currently at Max. 23 seconds. Time to load the "Status Overview" screen: 8,5,6,6 seconds Time to load the "Status Summary" screen: 42,35 I guess my first question is what do your uses expect in terms of performance? Am I missing the boat on something real basic here? How many hosts/services do you manage per Nagios host? Thanks in advance ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Jun 8 16:44:30 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 8 Jun 2007 10:44:30 -0400 Subject: Nagios monitoring limits: hosts and services In-Reply-To: References: <20070607205017.GA3041@bewilderbeast.blackhelicopters.org><46687228.1000102@mailnetwork.co.uk> Message-ID: > I'm starting to get complaints from our Operations group that > the Nagios web GUI is "getting slow". This is on a version > 1.x Nagios server. The server is monitoring 678 hosts and > 3481 services organized in 29 host groups. Most checks are > done on 5 minutes intervals. I've gone over all of the > documented "tweaks" to improve performance. The hardware > seems adequate and isn't starved for CPU; loads seem > reasonable; although the "Check Latency" under the > "Performance Info" screen continually creeps up - currently > at Max. 23 seconds. > > Time to load the "Status Overview" screen: 8,5,6,6 seconds > Time to load the "Status Summary" screen: 42,35 > > I guess my first question is what do your uses expect in > terms of performance? > Am I missing the boat on something real basic here? > How many hosts/services do you manage per Nagios host? Those times seem long for that number of hosts. In most cases (including a system I'm looking at now with around 2100 hosts and 11,000 services being monitored) the bottleneck's bandwidth more than the server on the big pages like the service detail, but I haven't used a Nagios 1.x system for quite some time. Have you tried keeping your status data in RAM? I've seen some pretty decent performance gains from doing that in other cases. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernandoaben at hotmail.com Fri Jun 8 17:41:03 2007 From: fernandoaben at hotmail.com (Fernando A Ben) Date: Fri, 08 Jun 2007 15:41:03 +0000 Subject: Nagios Host Dependencie In-Reply-To: References: Message-ID: Hello I configure two host on my nagios config. HOST A HOST B define hostdependency{ host_name Host A dependent_host_name Host B notification_failure_criteria d,u } I Need that when HOST B is mark down, Nagios sent notification: Warning HOST A Dependend of HOST B, but HOST B is Down. Is Posible? Thant _________________________________________________________________ Consigue aqu? las mejores y mas recientes ofertas de trabajo EE.UU. http://latino.msn.com/empleos ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Jun 8 17:57:03 2007 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 8 Jun 2007 11:57:03 -0400 Subject: NSClient++ or NRPE In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB3018C023E@PEPWMV00043.corp.pep.pvt> References: <003501c7a9a6$6580e5c0$0900d40a@intranet.it.net> <7F477BD26F545A4C8E4779754A38EFB3018C023E@PEPWMV00043.corp.pep.pvt> Message-ID: <2FAF78EDA2D2DF4EB656ABB3339FD1054D0375@mtlexchange.Duocom.local> I have continued on the NSClient++ path. I have recently added windows counters such as thread count and paging on the windows machines. It seems to work well for now. I will continue to keep expanding and see what it does. Thanks for all the input. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} Sent: Friday, June 08, 2007 9:40 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient++ or NRPE This discussion intrigues me... We've been using NRPE_NT with our Windows boxes (probably around 200 that we're monitoring) because I think I had the impression that this was the more commonly used of the two (NRPE/nsclient++). We primarily use it to call the wincheck_counter.exe file to probe Windows' PDH counters. However, from seeing the responses so far I'd say it appears that the majority of folks are using nsclient++ instead. I had considered nsclient++ at one time because it doesn't appear that nrpe_nt is actively developed anymore, yet nsclient++ has a lot of activity. When I tried it out, I did have some difficulty getting it working properly and eventually gave up on it. Then again, I maybe just didn't give it enough time and didn't understand how it worked well enough. It seemed to me that you mostly were able to probe things that it gave you the opportunity to probe. With NRPE_NT and wincheck_counter.exe (which doesn't seem to me to be run by all that many people either...) we could probe anything that was returnable by the PDH lib. I also had the impression that nsclient++ carried a bigger footprint than NRPE_NT did. One problem we've seen with NRPE_NT and wincheck_counter.exe is that it seems rather unreliable on Win2k machines -- at least for the things we commonly check like cpu, memory and disk space. A number of times it will just time out. Another list member indicated that they'd had crashes with Win2k3 -- we've never seen that. Given that nsclient++ seems much more widely used and is still actively developed, I'm considering giving it another shot. This issue of figuring out what's widely used has come up for me before with Nagios. When I was trying to figure out whether to use nagiosgraph or nagiosgrapher, for example. Just because something's in the Nagios Exchange, doesn't mean it's any good, actively supported, or perhaps even worth using. I wish I could send out a poll :-) Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Friday, June 08, 2007 4:24 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: R: NSClient++ or NRPE I have Nagios 1.4 on Linux server. 374 hosts (Linux/Unix,Windows and network equipment) 877 services More than 40 windows systems have NSClient++ installed Regards Marco ________________________________ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.36 A: Nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: NSClient++ or NRPE The way I have set up is Nagios 2.7 on Linux and installed NSClient++ on windows servers. I am monitoring the windows servers using NSClient++. Is this the best option? I want to make sure before I go any further in configuration. I am presently monitoring 2 windows servers. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Thursday, June 07, 2007 11:30 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] R: NSClient++ or NRPE On unix/linux system you can use only NRPE. On Microsoft system you can use NSClient++ (that contains both features of old NSClient and NRPE). Regards Marco ________________________________ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Antonio Pereira Inviato: gioved? 7 giugno 2007 17.07 A: Nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] NSClient++ or NRPE Hello, I am trying to figure out which one is better to use and I am having a difficult time to determine which is better. So I figured I would ask all of you. Which one is better NRPE or NSClient++? Thanks ________________________________ Avis Le present message n'est destine qu'a la personne ou a l'entite a qui il est adresse et peut contenir des renseignements de nature privilegiee et confidentielle. Si le lecteur du present message n'est pas le destinataire prevu ou encore la personne chargee de remettre ce message au destinataire prevu, veuillez nous aviser immediatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. ________________________________ Avis Le pr?sent message n'est destin? qu'? la personne ou ? l'entit? ? qui il est adress? et peut contenir des renseignements de nature privil?gi?e et confidentielle. Si le lecteur du pr?sent message n'est pas le destinataire pr?vu ou encore la personne charg?e de remettre ce message au destinataire pr?vu, veuillez nous aviser imm?diatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klaus.bonaparte at globalcrossing.com Fri Jun 8 18:48:03 2007 From: klaus.bonaparte at globalcrossing.com (Klaus Bonaparte) Date: Fri, 8 Jun 2007 18:48:03 +0200 (CEST) Subject: service check intervals ignored Message-ID: <20070608164803.A54FA4F4045@desire.netways.de> My service check intervals seem to be ignored and Nagios is checking every service once a day at 0:00. I've never seen this problem with older Nagios. The scheduling queue has almost every check running at 0:00 the next day, instead of spreading checks out. Help!? $ ../bin/nagios -v nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 502 services. Checking hosts... Checked 61 hosts. Checking host groups... Checked 8 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 21 contacts. Checking contact groups... Checked 32 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 36 commands. Checking time periods... Checked 9 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 $ ../bin/nagios -s -d nagios.cfg Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 61 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 502 Total scheduled services: 502 Service inter-check delay method: SMART Average service check interval: 3600.00 sec Inter-check delay: 7.17 sec Interleave factor method: SMART Average services per host: 8.23 Service interleave factor: 9 Max service check spread: 720 min First scheduled check: Fri Jun 8 16:37:04 2007 Last scheduled check: Sat Jun 9 00:00:00 2007 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Fri Jun 8 19:14:53 2007 From: sschwartz at gracenote.com (Steven Schwartz) Date: Fri, 8 Jun 2007 10:14:53 -0700 Subject: An odd question Message-ID: <119461A3B1C2A847BABA421E6EB62CEA10CEFC@EMAIL1.gracenote.gracenote.com> I'm working in Nagios 2.x, so this may be possible in 3, and I just can't find it in 2. Is there a way to specify more frequent checks on a service in a non-OK state? Essentially, we have a service where catching the moment it goes down is not critical, but once it *does*, we'd like to know as closely as possible when it comes back up. (It's a long story) (i.e. have a different check interval for Hard OK and Hard Critical states.) S. CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to Gracenote, Inc. may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message (and all attachments) to anyone else. In such case, you should destroy this message (and all attached documents) and are asked to notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Fri Jun 8 19:20:54 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Fri, 8 Jun 2007 10:20:54 -0700 Subject: An odd question In-Reply-To: <119461A3B1C2A847BABA421E6EB62CEA10CEFC@EMAIL1.gracenote.gracenote.com> References: <119461A3B1C2A847BABA421E6EB62CEA10CEFC@EMAIL1.gracenote.gracenote.com> Message-ID: <3A4C2113-4A04-46D3-B81B-0F5D5D8D38C7@bsdboy.com> There is the "negate" plugin. ############################################################ bash-3.1# ./negate --help negate (nagios-plugins 1.4.3) 1.24 Copyright (c) 2002-2004 Nagios Plugin Development Team Negates the status of a plugin (returns OK for CRITICAL, and vice- versa). Usage: negate [-t timeout] Options: -h, --help Print detailed help screen -V, --version Print version information -t, --timeout=INTEGER Seconds before connection times out (default: 9) [keep timeout than the plugin timeout to retain CRITICAL status] negate "/usr/local/nagios/libexec/check_ping -H host" Run check_ping and invert result. Must use full path to plugin negate "/usr/local/nagios/libexec/check_procs -a 'vi negate.c'" Use single quotes if you need to retain spaces This plugin is a wrapper to take the output of another plugin and invert it. If the wrapped plugin returns STATE_OK, the wrapper will return STATE_CRITICAL. If the wrapped plugin returns STATE_CRITICAL, the wrapper will return STATE_OK. Otherwise, the output state of the wrapped plugin is unchanged. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net ############################################################ On Jun 8, 2007, at 10:14 AM, Steven Schwartz wrote: > I?m working in Nagios 2.x, so this may be possible in 3, and I just > can?t find it in 2. > > > > Is there a way to specify more frequent checks on a service in a > non-OK state? Essentially, we have a service where catching the > moment it goes down is not critical, but once it *does*, we?d like > to know as closely as possible when it comes back up. (It?s a long > story) > > > > (i.e. have a different check interval for Hard OK and Hard Critical > states.) > > > > S. > > > > > > CONFIDENTIALITY NOTICE: Proprietary/Confidential Information > belonging to Gracenote, Inc. may be contained in this message. If > you are not a recipient indicated or intended in this message (or > responsible for delivery of this message to such person), or you > think for any reason that this message may have been addressed to > you in error, you may not use or copy or deliver this message (and > all attachments) to anyone else. In such case, you should destroy > this message (and all attached documents) and are asked to notify > the sender by reply email. > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Jun 8 20:23:09 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 8 Jun 2007 11:23:09 -0700 Subject: Nagios Host Dependencie In-Reply-To: References: Message-ID: <20070608182309.GD18116@pmorris.usa.hp.com> On Fri, 08 Jun 2007, Fernando A Ben wrote: > Hello > I configure two host on my nagios config. > HOST A > HOST B > > define hostdependency{ > host_name Host A > dependent_host_name Host B > notification_failure_criteria d,u > } > > I Need that when HOST B is mark down, Nagios sent notification: > Warning HOST A Dependend of HOST B, but HOST B is Down. > > > Is Posible? I'm not 100% surte I'm understanding what you want, but if I am, there are easier ways to handle it (and, in any case, you have your dependencies backwards). If you make host B a parent of Host B, and enable Unreachable notifications, you'll receive a "Host Unreachable" notification for host A if Host B goes down. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at eliasprobst.eu Fri Jun 8 20:40:23 2007 From: mail at eliasprobst.eu (Elias Probst) Date: Fri, 8 Jun 2007 20:40:23 +0200 Subject: An odd question In-Reply-To: <3A4C2113-4A04-46D3-B81B-0F5D5D8D38C7@bsdboy.com> References: <119461A3B1C2A847BABA421E6EB62CEA10CEFC@EMAIL1.gracenote.gracenote.com> <3A4C2113-4A04-46D3-B81B-0F5D5D8D38C7@bsdboy.com> Message-ID: <200706082040.23671.mail@eliasprobst.eu> Am Freitag, 8. Juni 2007 19:20:54 schrieb Wil Schultz: > There is the "negate" plugin. > ..... > On Jun 8, 2007, at 10:14 AM, Steven Schwartz wrote: > > Is there a way to specify more frequent checks on a service in a > > non-OK state? Essentially, we have a service where catching the > > moment it goes down is not critical, but once it *does*, we?d like > > to know as closely as possible when it comes back up. (It?s a long > > story) If i understood this right, you're not looking for the negate plugin, you're looking for something like: define service { use critical-service name recheck-for-ok register 0 max_check_attempts 99 # I whish this could be value for neverending retries retry_check_interval 1 } Regards, Elias P. -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 8 21:49:00 2007 From: marc at ena.com (Marc Powell) Date: Fri, 8 Jun 2007 14:49:00 -0500 Subject: Nagios monitoring limits: hosts and services In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mark.Law at thomson.com > Sent: Friday, June 08, 2007 9:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios monitoring limits: hosts and services > > I'm starting to get complaints from our Operations group that the Nagios > web GUI is "getting slow". This is on a version 1.x Nagios server. The > server is monitoring 678 hosts and 3481 services organized in 29 host > groups. Most checks are done on 5 minutes intervals. I've gone over > all of the documented "tweaks" to improve performance. The hardware > seems adequate and isn't starved for CPU; loads seem reasonable; > although the "Check Latency" under the "Performance Info" screen > continually creeps up - currently at Max. 23 seconds. > > Time to load the "Status Overview" screen: 8,5,6,6 seconds > Time to load the "Status Summary" screen: 42,35 > > I guess my first question is what do your uses expect in terms of > performance? This is not unusual for a 1.x installation with large numbers of hosts/services. I had hostgroup overview pages that were taking up to 5 minutes to generate and I needed to cron them. There were significant optimizations done in 2.x to correct the way the CGI's internally traversed host and service entries resulting in the same pages generating in about 6 _seconds_. You should upgrade. 1.x is getting very old now. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri Jun 8 23:41:01 2007 From: scubacuda at gmail.com (RR) Date: Fri, 8 Jun 2007 17:41:01 -0400 Subject: cfg file considerations for Nagios? Message-ID: <2b7af7c40706081441t5fa0f094hec7b80c2adad54f1@mail.gmail.com> I am making some Nagios 2.x config files that will be installed at probably 100 locations for various administrators to monitor some specific appliances on their network. Is there anything that I need to take into consideration before creating these cfg files if I am to make this completely compatible with, say, GUI tools like Fruity or NagiosQL? Some of the end users who might use these config files might be wanting to use programs that make more tweaks configures easy, and I want to make sure that my cfg files will be properly work with whatever s/he installs. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Sat Jun 9 04:29:29 2007 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Fri, 8 Jun 2007 20:29:29 -0600 Subject: Can Nagios/Lynx/wget/curl/links do NTLM authentication? Message-ID: <26face530706081929y2b9826afrd41f75eb59eafd03@mail.gmail.com> I want to use Nagios to monitor a site (running on Windows/IIS) that uses NTLM for authentication. Is there a plugin/script/library/etc that can help? Reason I'm cc'ing the lynx/wget/curl/links lists: if lynx/wget/curl/links can do NTLM, I can easily write a nagios wrapper. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at etmiesje.de Sat Jun 9 13:44:07 2007 From: mail at etmiesje.de (Christian Mies) Date: Sat, 09 Jun 2007 13:44:07 +0200 Subject: [Nagios-users] Can Nagios/Lynx/wget/curl/links do NTLM authentication? In-Reply-To: <26face530706081929y2b9826afrd41f75eb59eafd03@mail.gmail.com> References: <26face530706081929y2b9826afrd41f75eb59eafd03@mail.gmail.com> Message-ID: <466A9287.7030607@etmiesje.de> Kelly Jones schrieb: > I want to use Nagios to monitor a site (running on Windows/IIS) that > uses NTLM for authentication. Is there a plugin/script/library/etc > that can help? > > Reason I'm cc'ing the lynx/wget/curl/links lists: if > lynx/wget/curl/links can do NTLM, I can easily write a nagios wrapper. > > Hi Kelly, yesterday I've had a simular situation and have read that curl can authenticate via NTLM. IIRC you can also use perl.with lwp. regards Christian _______________________________________________ Lynx-dev mailing list Lynx-dev at nongnu.org http://lists.nongnu.org/mailman/listinfo/lynx-dev From daniel at haxx.se Sat Jun 9 22:19:48 2007 From: daniel at haxx.se (Daniel Stenberg) Date: Sat, 9 Jun 2007 22:19:48 +0200 (CEST) Subject: Can Nagios/Lynx/wget/curl/links do NTLM authentication? In-Reply-To: <26face530706081929y2b9826afrd41f75eb59eafd03@mail.gmail.com> References: <26face530706081929y2b9826afrd41f75eb59eafd03@mail.gmail.com> Message-ID: On Fri, 8 Jun 2007, Kelly Jones wrote: > I want to use Nagios to monitor a site (running on Windows/IIS) that > uses NTLM for authentication. Is there a plugin/script/library/etc > that can help? > > Reason I'm cc'ing the lynx/wget/curl/links lists: if > lynx/wget/curl/links can do NTLM, I can easily write a nagios wrapper. Both curl and wget can, curl is slightly better at it though. I can't speak for the others since I don't know. -- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html From jeffrey at hyves.nl Sun Jun 10 09:28:22 2007 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Sun, 10 Jun 2007 09:28:22 +0200 Subject: Problems with distributed setup, master overload? Message-ID: <466BA816.7050200@hyves.nl> Hello all, I recently extend our distributed Nagios setup of 1 master and 2 distributed slaves (in which the master also had a lot of checks running), to 1 master and 5 distributed slaves (in which the master does no checking at all, except for host checks). This setup had 556 hosts and roughly 7000 service checks. Ever since I modified this setup, the Nagios master host has been giving me problems. The symptoms: - When starting both Nagios and NSCA, I see NSCA accepting checks in my logfiles, but none get processed by Nagios. - After a few minutes NSCA processes are starting to build up, increasing with 5-10 processes per second. In a few minutes it reaches a few thousand processes and the machine starts hanging. - Sometimes the number of Nagios processes start increasing, instead of the NSCA processes. Same result, the machine starts hanging. I have tried versions 2.5, 2.7, 2.8 and 2.9 of Nagios and versions 2.5 and 2.7.1 of NSCA, but none made the problems go away. The config of NSCA: pid_file=/var/run/nsca.pid server_port=5667 nsca_user=nagios nsca_group=nagios debug=1 command_file=/var/nagios/rw/nagios.cmd alternate_dump_file=/var/nagios/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 decryption_method=1 Pretty basic. I have also experimented abit with append_to_file and aggregate_writes, but no change. Relevant nagios.cfg options: check_external_commands=1 command_check_interval=-1 (has been experimented with, no changes) command_file=/var/nagios/rw/nagios.cmd service_reaper_frequency=10 accept_passive_service_checks=1 check_service_freshness=1 If there is anything else you'd like to know, let me know. I'm hoping someone can help me out here. Thanks. - Jeffrey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Sun Jun 10 16:55:40 2007 From: palleje at gmail.com (Palle Jensen) Date: Sun, 10 Jun 2007 10:55:40 -0400 Subject: (no subject) In-Reply-To: References: Message-ID: <003501c7ab6f$6c3969d0$bdac38a6@na.dsmain.com> That is what I suspect as well, because in the ngraph.log I see that for the service a no block was found. I am not sure though how to add the correct value in the check_ntmem.ncfg file? Could you please show me how the done ncfg file would look like? The value you suggested: > # perfdata: 'physical memory'=63%;85;95; > /perfdata:.*memory'=([.0-9]+)%;([.0-9]+);([.0-9]+)/ > and push @s, [ ntmem, > [ memused, GAUGE, $1], > [ memwarn, GAUGE, $2], > [ memcrit, GAUGE, $3] ]; Right now it (check_ntmem.ncfg) looks like this: define ngraph { graph_legend Memory Used graph_perf_regex MemUsed=([0-9]+)% graph_value MemUsed hide yes rrd_color 00a000 rrd_plottype AREA service_name Memuse } define ngraph { graph_legend Warning graph_perf_regex MemUsed=[0-9]+%;([0-9]+); graph_value MemWarning hide yes rrd_color 00a000 rrd_plottype HRULE service_name Memuse } define ngraph { graph_legend Critical graph_perf_regex MemUsed=[0-9]+%;[0-9]+;([0-9]+) graph_value MemCritical hide yes rrd_color 00a000 rrd_plottype HRULE service_name Memuse } define ngraph { graph_legend Total Space graph_perf_regex ([0-9]+)$ graph_value MemTotal hide yes rrd_color 00ff00 rrd_plottype AREA service_name Memuse } define ngraph { graph_calc MemTotal,MemUsed,- graph_legend Free Space graph_value MemFree hide yes rrd_color ff0000 rrd_plottype AREA service_name Memuse type CDEF } define ngraph { graph_calc MemUsed,100,*,MemTotal,/ graph_legend Used Space graph_units Percent (%) graph_value percentused hide yes rrd_color 1C2B53 rrd_plottype LINE service_name Memuse type CDEF } define ngraph { graph_calc MemWarning,100,*,MemTotal,/ graph_legend Warning graph_units Percent (%) graph_value percentwarning hide yes rrd_color FF7700 rrd_plottype LINE service_name Memuse type CDEF } define ngraph { graph_calc MemCritical,100,*,MemTotal,/ graph_legend Critical graph_units Percent (%) graph_value percentcritical hide yes rrd_color FF0000 rrd_plottype LINE service_name Memuse type CDEF } define ngraph { graph_calc percentused,UN,0,percentused,percentwarning,GT,percentwarning,percentused,IF ,IF graph_legend Used Memory graph_value Regular hide no rrd_color AABBFF rrd_plottype AREA service_name Memuse type CDEF } define ngraph { graph_calc percentused,UN,0,percentused,percentwarning,-,0,LE,0,percentused,percentcrit ical,GE,100,percentcritical,-,percentused,percentwarning,-,IF,IF,IF graph_units Percent (%) graph_upper_limit 100 graph_value Warning hide no rrd_color FFDD66 rrd_plottype STACK service_name Memuse type CDEF } define ngraph { graph_calc percentused,UN,0,percentused,percentcritical,-,0,LE,0,percentused,percentcri tical,-,IF,IF graph_units Percent (%) graph_upper_limit 100 graph_value Critical hide no rrd_color FF0000 rrd_plottype STACK service_name Memuse type CDEF } define ngraph { graph_calc percentused,AVERAGE graph_legend Average Usage graph_units Percent (%) graph_value vdef_swap_average hide no rrd_color 66CC33 rrd_plottype LINE1 service_name Memuse type VDEF } define ngraph { graph_calc percentwarning,AVERAGE graph_legend Warning graph_units Percent (%) graph_value vdef_warning_average hide no rrd_color FF7700 rrd_plottype LINE1 service_name Memuse type VDEF } define ngraph { graph_calc percentcritical,AVERAGE graph_legend Critical graph_legend_eol LEFT graph_units Percent (%) graph_value vdef_critical_average hide no rrd_color FF0000 rrd_plottype LINE1 service_name Memuse type VDEF } define ngraph { print_eol justify service_name Memuse type COMMENT } define ngraph { print_description Latest Usage: print_format %11.2lf MB print_function LAST print_source MemUsed service_name Memuse type GPRINT } define ngraph { print_format (%3.2lf %%) print_function LAST print_source percentused service_name Memuse type GPRINT } #define ngraph { # print_description This is a comment # service_name Memuse # type COMMENT #} #define ngraph { # print_description This is another comment # service_name Memory # type COMMENT #} define ngraph { print_description Free Space: print_eol justify print_format %11.2lf MB print_function LAST print_source MemFree service_name Memuse type GPRINT } define ngraph { print_description Average Usage: print_format %11.2lf MB print_function AVERAGE print_source MemUsed service_name Memuse type GPRINT } define ngraph { print_format (%3.2lf %%) print_function AVERAGE print_source percentused service_name Memuse type GPRINT } #define ngraph { # print_description More comment # service_name Memuse # type COMMENT #} #define ngraph { # print_description And comment # service_name Memuse # type COMMENT #} define ngraph { print_description Used Space: print_eol justify print_format %11.2lf MB print_function LAST print_source MemUsed service_name Memuse type GPRINT } define ngraph { print_description Maximum Usage: print_format %11.2lf MB print_function MAX print_source MemUsed service_name Memuse type GPRINT } define ngraph { print_format (%3.2lf %%) print_function MAX print_source percentused service_name Memuse type GPRINT } #define ngraph { # print_description Tired of comments? # service_name Memuse # type COMMENT #} #define ngraph { # print_description A comment # service_name Memuse # type COMMENT #} define ngraph { print_description Total Space: print_eol justify print_format %11.2lf MB print_function LAST print_source MemTotal service_name Memuse type GPRINT } #EOF-- This is how the service defenition looks: define service{ use generic-service host_name winserver service_description Memuse check_command check_ntmem!MEMUSE!-w 80 -c 90 } And this is how the commands.cfg looks: define command{ command_name check_ntmem command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ $ARG2$ } Thanks, - Palle -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Thursday, June 07, 2007 5:16 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] (no subject) glynn.seymour at bayerbbs.com wrote: >> Hi to all, > >> I have been trying to find out how you get the graphs for monitored >> service on Windows/Nsclient++. It is working fine for the locahost >> (FC9) Memory, load, procs and users. > I added a windows machine with NSClient++, I added the service Ping > to both localhost and the windows machine, and the graphs are > >showing up fine. But when I add Memory, procs, load service to the > windows machine no graphs shows. How come it works with ping for both > localhost and Windows machine? Even though I made sure that >the > service_description is the same as for the localhost >> I am about to go insain, please help? I know this belongs under > NagiosGrapher mailinglist, and I posted there as well, but I got 0 > answers there, hoping that someone can help me here. > > Could be a number of things, but my top guesses would be: > > 1. Performance data collection not ticked in the service > definition > for the extra NSClient++ services > 2. No regular expression in the map file to collect the data [snip] > I'm betting its '2' though, here's an example from NSClient++ for > Memory check graphing > > # Service type: ntmem > # check command: > # output: > # perfdata: 'physical memory'=63%;85;95; > /perfdata:.*memory'=([.0-9]+)%;([.0-9]+);([.0-9]+)/ > and push @s, [ ntmem, > [ memused, GAUGE, $1], > [ memwarn, GAUGE, $2], > [ memcrit, GAUGE, $3] ]; I agree with your analysis, it probably is just a matter of configuring the graph tool to recognise the output. But the OP mentioned NagiosGrapher and that's an example from a Nagiosgraph map file. Those two letters in the name make all the difference. :) -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Mon Jun 11 10:30:56 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Mon, 11 Jun 2007 10:30:56 +0200 Subject: NSClient++ or NRPE In-Reply-To: References: Message-ID: Hmm, this isn't entirely unfamiliar... I couldn't get the NSClient++ version (latest release when I tried it) to work properly, but it had features older versions didn't support. I ended up rolling my own install of it - a combination of Op5's excellent distribution (which was stable, easy to install but lagged on a few features) and some of the newer DLLs from NSClient++ latest - it allowed a few extra disk checks via NRPE I needed. Been a while since I revisited it, maybe Op5 have updated their client or the 'standard' release is more stable/works?? https://support.op5.se/agents/agents.html?Itemid=9 .. is their latest release, might be worth a shot for those who want to test something else (I have no affiliation with them etc.). @ Matthew - I think you might want to look at your config or any scripts you are calling via NSClient++, I'm pretty sure the core is good, from my experience. That said, I can't think of much that'd cause crashes on that scale :-( ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA RSU Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fishback at email.unc.edu Mon Jun 11 21:16:13 2007 From: fishback at email.unc.edu (Steven Fishback) Date: Mon, 11 Jun 2007 15:16:13 -0400 Subject: AIX & NRPE v2.5.1 Message-ID: <466D9F7D.6070201@email.unc.edu> Nagios v2.5 with NRPE plug-in v2.5.1 on AIX v5.3 (ppc 64 processor) I've seen this thread before concerning AIX and NRPE but no resolution or good suggestions as to what's going on. If I compile with openssl 0.9.7l-1 I get the "SSL handshaking" error. If I compile without openssl enabled I get the "Response packet had invalid CRC32" error. I've done all the normal FAQ checks. My /etc/services I have: nrpe 5666/tcp # NRPE My /etc/inetd.conf I have: nrpe stream tcp nowait nagios /usr/sbin/nrpe -c /etc/nrpe.cfg --inetd For testing purposes I have no tcp wrappers and SSL is not enabled. Logged into the local host: $ /usr/bin/telnet localhost 5666 Trying... Connected to localhost.localdomain. Escape character is '^]'. NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) Version: 2.5.1 Last Modified: 04-09-2006 License: GPL v2 with exemptions (-l for more info) *************************************************************** ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! ** ** Read the NRPE SECURITY file for more information ** *************************************************************** Usage: nrpe [-n] -c Options: -n = Do not use SSL = Name of config file to use = One of the following two operating modes: -i = Run as a service under inetd or xinetd -d = Run as a standalone daemon Connection closed. $ /opt/local/bin/check_nrpe -H localhost CHECK_NRPE: Response packet had invalid CRC32. $ /opt/local/bin/check_nrpe -H localhost -p 5666 -n CHECK_NRPE: Response packet had invalid CRC32. Any idea as to the problem? -- Steven Fishback ITS Research Computing, Systems Programmer University of North Carolina-CH CB# 3420, ITS Manning, Rm 2509 Office: 919-843-9142 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klaus.bonaparte at globalcrossing.com Mon Jun 11 21:22:28 2007 From: klaus.bonaparte at globalcrossing.com (Klaus Bonaparte) Date: Mon, 11 Jun 2007 21:22:28 +0200 (CEST) Subject: Problems on Solaris 10? Message-ID: <20070611192228.B20FA4F4045@desire.netways.de> Has anyone else had problems running the latest Nagios 2.9 on Solaris 10 (SPARC)? I've noticed a few issues, but most notably that hundreds of service checks are not scheduled with 24 hours of starting Nagios, even though the check interval is 10 minutes for most checks. Just wondering if perhaps some dependencies need to get updated or similar. - Klaus ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Jun 11 21:46:29 2007 From: scubacuda at gmail.com (RR) Date: Mon, 11 Jun 2007 12:46:29 -0700 Subject: problems passing check_log into check_nrpe Message-ID: <2b7af7c40706111246l38248d83wb7a62987e14613e4@mail.gmail.com> Not sure what I'm doing wrong, but this command isn't working. Perhaps I'm passing in the parameter wrong? [root at NagiosServer plugins]# ./check_nrpe -H 192.168.1.156 -c check_log -F /opt/program/jboss/server/default/log/server.log \ -O /opt/program/jboss/server/default/log/serverPrev.log -q "error" I'm running this from my Nagios console station. NRPE is properly installed on the remote station (I tested it by passing the check_disk to the server running the NRPE client), and I'm wondering if there is some other stupid thing I missed? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam.rajagopal at etrade.com Tue Jun 12 05:32:35 2007 From: sam.rajagopal at etrade.com (Rajagopal, Sam) Date: Mon, 11 Jun 2007 23:32:35 -0400 Subject: Help with error msg in nagios 2.8 Message-ID: <4037F727F6DBBA4489687F2DDD55DF647CF148@ATL1EX11.corp.etradegrp.com> Trying to monitor a host in nagios2.8 env. For basic monitoring items, I get the following error - CPULoad (Return code of 127 is out of bounds - plugin may be missing) Disk [/x] (Return code of 127 is out of bounds - plugin may be missing) Process (Return code of 127 is out of bounds - plugin may be missing) However ping checks ok. What am I missing here ? Is there any error log for basic plugins ? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Tue Jun 12 07:57:28 2007 From: simon.kainz at tugraz.at (Simon Kainz) Date: Tue, 12 Jun 2007 07:57:28 +0200 Subject: CGI authenticated contacts/users view only ? Message-ID: <466E35C8.2040400@tugraz.at> Hello! I'm using Nagios Version 2.6. I am monitoring several hosts and want to give users view only access to specific hosts. I know that authenticated contacs can only see their "own" hosts/services, but they still can disable notifications (and afterwards annoy the nagios-operator why they didn't get notifications...) and several other things... So, has then been done some work yet ? Otherwise i was thinking about patching Nagios to need my fits.. Thanks in advance, -- Simon Kainz Graz, University of Technology Department Computing Phone: 043 (0) 316 / 873 6885 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 12 10:19:36 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 12 Jun 2007 10:19:36 +0200 Subject: sensor temperature Message-ID: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> Hi all. I am looking for a sensor to monitoring the temperature in our server farms. Does anybody do it ? How do you do it ? Which sensor do you use ? I see on www.nagios.org the Websensor EM01B, but it is quite expensive .. Does it work with Nagios 1.4 ? Many thanks Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Tue Jun 12 12:09:05 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Tue, 12 Jun 2007 03:09:05 -0700 Subject: No display on web interface Message-ID: <2402BA0C1F52594E8E271233F62EB6A9037D80F0@repbex02.amer.bea.com> Hi, I have just finished installing Nagios server on a linux machine. Strangely all links on the web interface on the left hand side are showing a blank page except home and documentation. I really need to fix this at the earliest. Please help. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Tue Jun 12 13:14:46 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Tue, 12 Jun 2007 04:14:46 -0700 Subject: blank pages on web interface Message-ID: <2402BA0C1F52594E8E271233F62EB6A9037D815D@repbex02.amer.bea.com> Hi, I have just finished installing Nagios server on a linux machine. Strangely all links on the web interface on the left hand side are showing a blank page except home and documentation. I really need to fix this at the earliest. Please help. Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Tue Jun 12 16:27:24 2007 From: scubacuda at gmail.com (RR) Date: Tue, 12 Jun 2007 07:27:24 -0700 Subject: how to allow all hosts in nrpe.cfg ? Message-ID: <2b7af7c40706120727m69eae061m2581bec3db6ae366@mail.gmail.com> in nrpe.cfg of my nrpe-monitored host, I have: allowed_hosts=127.0.0.1, 192.168.1.159, 192.168.1.156 What format do I use for (something like) 0.0.0.0/0 (in other words, allow *all* hosts). These boxes will be in extremely secure environments (with no internet access), so this setting is ok. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kerry.Milestone at CacheLogic.com Tue Jun 12 18:03:51 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Tue, 12 Jun 2007 17:03:51 +0100 Subject: VPN Monitoring In-Reply-To: References: Message-ID: <466EC3E7.8050604@CacheLogic.com> Hello, does anyone have any hints on how to monitor Checkpoint VPN status? Also of interest is how to monitor Sonicwalls, again preferably with SNMP trying to keep scripts and processing simple. However I am guessing a little more in depth trickery such as checking traceroutes and routing tables may be required? Am looking at star network topologies with multiple links and VPNs to each site. Any ideas would be kindly recieved. Regards, Kerry. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admitriev at mentora.com Tue Jun 12 19:27:14 2007 From: admitriev at mentora.com (Andrey Dmitriev) Date: Tue, 12 Jun 2007 13:27:14 -0400 Subject: Good front end tool for Nagios Message-ID: <"L2118904BFBA14e3aA404497EF257F7B6.1181669220.mt-adm.mentora.biz*"@MHS> All, Is there are a good front end tool for Nagios that can A) have profiles that we can apply to multiple hosts B) ideally stores in MySQL db (well, this is not really a requirement, as apparently there are perl modules that can potentially load a mysql db). Please don't recommend Fruity/GroundWork, as apparently it pukes on 2500+ monitors, or a certain number of hosts (at least GroundWork did for us in version 4.51, which is why we plan to ditch it) Thanks, Andrey ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Tue Jun 12 23:56:12 2007 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Tue, 12 Jun 2007 14:56:12 -0700 (PDT) Subject: Problems with distributed setup, master overload? In-Reply-To: <466BA816.7050200@hyves.nl> References: <466BA816.7050200@hyves.nl> Message-ID: <62270.71.140.186.204.1181685372.squirrel@ssl.monsoonwind.com> > Hello all, > > I recently extend our distributed Nagios setup of 1 master and 2 > distributed slaves (in which the master also had a lot of checks > running), to 1 master and 5 distributed slaves (in which the master > does no checking at all, except for host checks). Try this: Turn off host checks Just use a check_icmp service check, in place of the host check. -- And, did Galoka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmdempse at tva.gov Wed Jun 13 00:08:02 2007 From: tmdempse at tva.gov (Dempsey, Thomas M) Date: Tue, 12 Jun 2007 18:08:02 -0400 Subject: Statusmap image problem Message-ID: Ok, I have been googling, reading docs and FAQs with no luck. So here goes. Basically it appears that no images will show up on the status map page. The default Question mark images will not even show up on the map. However, when you mouse over where the image is suppose to be (which is only a black transparent box), you can see the image in the popup window. Everything I have found online seems to point to the gd libraries. I have confirmed that we are using a version of gd that is newer than that suggested. Information about my setup is below. Please let me know if there is anything else I can provide. OS: Fedora Core 6 Nagios: 2.7-2.fc6 Gd-devel: 2.0.33-11.fc6 Not sure what else would be helpful, but, again, let me know what else I can provide. Thanks, Tommy Dempsey ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Klaus.Bonaparte at GlobalCrossing.com Wed Jun 13 00:57:32 2007 From: Klaus.Bonaparte at GlobalCrossing.com (Bonaparte, Klaus) Date: Tue, 12 Jun 2007 18:57:32 -0400 Subject: Debugging Nagios? Message-ID: <304BF6AEA3DA71488B9EC776A03D6FFB068C707A@EVS3.ams.gblxint.com> How do you debug Nagios to determine why it is no longer running any checks? I see checks scheduled in the queue, but then time passes and they get removed from the top of the queue as if they were run but their status never changes, nothing is logged in nagios.log or syslogs, and once in a while you can see nagios processes running? Any help? Debug flags or common things to look for? Klaus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fishback at email.unc.edu Wed Jun 13 01:34:53 2007 From: fishback at email.unc.edu (Steven Fishback) Date: Tue, 12 Jun 2007 19:34:53 -0400 Subject: AIX & NRPE v2.5.1 Message-ID: <466F2D9D.9050102@email.unc.edu> Nagios v2.5 with NRPE plug-in v2.5.1 on AIX v5.3 (ppc 64 processor) I've seen this thread before concerning AIX and NRPE but no resolution or good suggestions as to what's going on. If I compile with openssl 0.9.7l-1 I get the "SSL handshaking" error. If I compile without openssl enabled I get the "Response packet had invalid CRC32" error. I've done all the normal FAQ checks. My /etc/services I have: nrpe 5666/tcp # NRPE My /etc/inetd.conf I have: nrpe stream tcp nowait nagios /usr/sbin/nrpe -c /etc/nrpe.cfg --inetd For testing purposes I have no tcp wrappers and SSL is not enabled. Logged into the local host: $ /usr/bin/telnet localhost 5666 Trying... Connected to localhost.localdomain. Escape character is '^]'. NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) Version: 2.5.1 Last Modified: 04-09-2006 License: GPL v2 with exemptions (-l for more info) *************************************************************** ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! ** ** Read the NRPE SECURITY file for more information ** *************************************************************** Usage: nrpe [-n] -c Options: -n = Do not use SSL = Name of config file to use = One of the following two operating modes: -i = Run as a service under inetd or xinetd -d = Run as a standalone daemon Connection closed. $ /opt/local/bin/check_nrpe -H localhost CHECK_NRPE: Response packet had invalid CRC32. $ /opt/local/bin/check_nrpe -H localhost -p 5666 -n CHECK_NRPE: Response packet had invalid CRC32. Any idea as to the problem? -- Steven Fishback ITS Research Computing, Systems Programmer University of North Carolina-CH CB# 3420, ITS Manning, Rm 2509 Office: 919-843-9142 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joe.DeBattista at ucsf.edu Wed Jun 13 02:49:36 2007 From: Joe.DeBattista at ucsf.edu (DeBattista, Joe) Date: Tue, 12 Jun 2007 17:49:36 -0700 Subject: Upgrading nagios and plugins in a mixed environment In-Reply-To: References: Message-ID: <54E202BF6A15E743A390ECC5CD28D6AC8AEEE7@EXVS07.net.ucsf.edu> Greetings, I've been running nagios for a few months. We have a mixed environment of Windows, Solaris, AIX and Linux servers with about 100 servers and about 600 services. I'm looking to upgrade to newer nagios versions soon, but I'm not looking forward to getting on each client and server. I curious how those of you do upgrades of new versions and plugins of nagios. Joe DeBattista UCSF, OAAIS Internet: joe.debattista at ucsf.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Jun 13 03:01:37 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Tue, 12 Jun 2007 21:01:37 -0400 Subject: Help with error msg in nagios 2.8 In-Reply-To: <4037F727F6DBBA4489687F2DDD55DF647CF148@ATL1EX11.corp.etradegrp.com> References: <4037F727F6DBBA4489687F2DDD55DF647CF148@ATL1EX11.corp.etradegrp.com> Message-ID: <466F41F1.8020009@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rajagopal, Sam wrote: > Trying to monitor a host in nagios2.8 env. For basic monitoring items, I > get the following error - > > CPULoad (Return code of 127 is out of bounds - plugin may be missing) > Disk [/x] (Return code of 127 is out of bounds - plugin may be missing) > Process (Return code of 127 is out of bounds - plugin may be missing) > > However ping checks ok. What am I missing here ? Is there any error log > for basic plugins ? > http://www.nagios.org/faqs/viewfaq.php?faq_id=17 Make sure the executable path is good, make sure the scripts are actually executable, and make sure the permissions are ok. Make sure the Nagios user can execute them. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGb0HxHoeeepPau2ERAp6zAKCXb/gjfTK6gFzlEOGsu2Trv/emYwCgtl1A HKcgTE4HW+xwTZeUkQrKqJA= =36iQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Wed Jun 13 03:32:39 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Tue, 12 Jun 2007 18:32:39 -0700 Subject: No display on web interface In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A9037D80F0@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A9037D80F0@repbex02.amer.bea.com> Message-ID: <88828F4E-4A41-45EB-AE59-1D34B5885683@bsdboy.com> Sounds line the Nagios process isn't running. -wil On Jun 12, 2007, at 3:09 AM, Lalita Drolia wrote: > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stucky101 at gmail.com Wed Jun 13 03:35:59 2007 From: stucky101 at gmail.com (stucky) Date: Tue, 12 Jun 2007 18:35:59 -0700 Subject: host down notification but no host up notification ? Message-ID: <30997e260706121835v253a20e8x8e1fd80f3a465e25@mail.gmail.com> Guys I'm testing nagios 3.0a and I'm thinking there is a notification bug. I have the following config: define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define contact{ name generic-contact ; The name of this contact template service_notification_period 24x7 ; service notifications can be sent anytime host_notification_period 24x7 ; host notifications can be sent anytime service_notification_options w,u,c,r,f,s ; send notifications for all service states, flapping events, and scheduled downtime events host_notification_options d,u,r,f,s ; send notifications for all host states, flapping events, and scheduled downtime events service_notification_commands notify-service-by-email ; send service notifications via email host_notification_commands notify-host-by-email ; send host notifications via email register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE! } define contact{ contact_name astuck use generic-contact alias SysAdmin1 email {my email} } define contactgroup{ contactgroup_name admins alias SysAdmins members astuck } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ name generic-linux use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_interval 120 notification_options d,u,r register 0 } define host{ name nonprod use generic-linux contact_groups admins register 0 } define host{ use nonprod host_name lithium alias Oracle Dev 2 address lithium } As far as I see it I should get all host/service notification 24/7. However, when I reboot 'lithium' I get a host down notification but when it comes back I don't get anything. I turned on notification debugging : [1181695731.149796:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Wed Dec 31 16:00:00 1969 [1181695731.149852:032.0] Notification viability test passed. [1181695731.149861:032.1] Current notification number: 1 [1181695731.149867:032.2] Creating list of contacts to be notified. [1181695731.149873:032.1] Host notification will NOT be escalated. [1181695731.149879:032.2] Adding contact 'astuck' to notification list. [1181695731.149985:032.2] ** Attempting to notifying contact 'astuck'... [1181695731.149994:032.2] ** Checking host notification viability for contact 'astuck'... [1181695731.150005:032.2] ** Host notification viability for contact 'astuck' PASSED. [1181695731.150014:032.2] ** Notifying contact 'astuck' [1181695731.150071:032.2] Raw Command: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ [1181695731.150078:032.2] Processed Command: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\nHost: lithium\nState: DOWN\nAddress: lithium\nInfo: (No output returned from host check)\n\nDate/Time: Tue Jun 12 17:48:51 PDT 2007\n" | /bin/mail -s "** PROBLEM Host Alert: lithium is DOWN **" {my email} [1181695731.194505:032.0] No contacts were notified. Next possible notification time: Tue Jun 12 19:48:51 2007 [1181695731.194527:032.0] 1 contacts were notified.[1181695741.047809:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695741.047834:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695741.047843:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695741.047850:032.0] Notification viability test failed. No notification will be sent out. [1181695751.160027:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695751.160058:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695751.160068:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695751.160074:032.0] Notification viability test failed. No notification will be sent out. [1181695811.210449:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695811.210479:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695811.210489:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695811.210495:032.0] Notification viability test failed. No notification will be sent out. [1181695821.068538:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695821.068569:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695821.068580:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695821.068586:032.0] Notification viability test failed. No notification will be sent out. [1181695821.068895:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695821.068915:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695821.068924:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695821.068931:032.0] Notification viability test failed. No notification will be sent out. [1181695831.174383:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695831.174418:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695831.174427:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695831.174434:032.0] Notification viability test failed. No notification will be sent out. [1181695831.174731:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695831.174745:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695831.174754:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695831.174760:032.0] Notification viability test failed. No notification will be sent out. [1181695851.144314:032.0] ** Host Notification Attempt ** Host: 'lithium', Type: 0, Current State: 1, Last Notification: Tue Jun 12 17:48:51 2007 [1181695851.144338:032.1] Its not yet time to re-notify the contacts about this host problem... [1181695851.144347:032.1] Next acceptable notification time: Tue Jun 12 19:48:51 2007 [1181695851.144354:032.0] Notification viability test failed. No notification will be sent out. [1181696025.034559:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'DISK USAGE /tmp', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696025.034582:032.1] We shouldn't notify about this recovery. [1181696025.034589:032.0] Notification viability test failed. No notification will be sent out. [1181696031.130428:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'LOAD', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696031.130452:032.1] We shouldn't notify about this recovery. [1181696031.130460:032.0] Notification viability test failed. No notification will be sent out. [1181696031.131081:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'DISK USAGE /usr/local', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696031.131095:032.1] We shouldn't notify about this recovery. [1181696031.131102:032.0] Notification viability test failed. No notification will be sent out. [1181696111.052735:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'CFENVD', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696111.052759:032.1] We shouldn't notify about this recovery. [1181696111.052766:032.0] Notification viability test failed. No notification will be sent out. [1181696111.052971:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'PERC CONTROLLER', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696111.052984:032.1] We shouldn't notify about this recovery. [1181696111.052992:032.0] Notification viability test failed. No notification will be sent out. [1181696111.053334:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'CFEXECD', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696111.053348:032.1] We shouldn't notify about this recovery. [1181696111.053355:032.0] Notification viability test failed. No notification will be sent out. [1181696121.163710:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'MEM', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696121.163738:032.1] We shouldn't notify about this recovery. [1181696121.163746:032.0] Notification viability test failed. No notification will be sent out. [1181696121.163984:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'DISK USAGE /var', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696121.163998:032.1] We shouldn't notify about this recovery. [1181696121.164005:032.0] Notification viability test failed. No notification will be sent out. [1181696141.130999:032.0] ** Service Notification Attempt ** Host: 'lithium', Service: 'DISK USAGE /', Type: 0, Current State: 0, Last Notification: Wed Dec 31 16:00:00 1969 [1181696141.131023:032.1] We shouldn't notify about this recovery. [1181696141.131031:032.0] Notification viability test failed. No notification will be sent out. Clearly, nagios decided that I shouldn't get a host up notification. I just don't understand why. From the log files I'd say the following logic takes place : 1. Host goes down - service check fails 2. Nagios checks to see if host is down - YES 3. Because of step 2. no service notifications are sent 4. Host down notification is sent instead 5. Host comes back 6. Service checks start recovering - no service recovery notification is sent since no service problem notifications were sent in the first place. 7. Host is assumed to be up since service is up 8. Hence - no host up notification. First I thought my host up notification might not make it through one of the notification filters but according to the log there is NO HOST check after the reboot therefore there is no host notification attempt. Looks to me like a design bug but I wanna make sure I'm not getting this wrong. It just doesn't make sense to me that I wouldn't be notified about a host coming back. I understand the part about the services. INTERESTING: I have rebooted a few times and it appears that sometimes I do get host up notifications but most of the time I don't so it seems to have to do with when exactly the reboot occurs. Also, I turned off flapping globally but no difference. Anyone seen this behaviour ? -- stucky -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 03:37:48 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 13 Jun 2007 13:37:48 +1200 Subject: Context-sensitive help pages? Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2E32AB1@UXCHANGE3.UoA.auckland.ac.nz> Has anyone produced help text pages to go into the /Nagios/contexthelp path? The distributed Nagios 2.9 only has a bunch of placeholders here, and it would be helpful for our users to have some proper helptext. If anyone has made some, can they be uploaded to NagiosExchange.org for everyone to use? Alternatively, if Ethan has made some, where can I obtain them? Thanks for any help, Steve --- Steve Shipway UNIX Systems Adminstration, University of Auckland, New Zealand +64 9 3737 599 x 86487 s.shipway at auckland.ac.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at onetruemedia.com Wed Jun 13 04:30:11 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Tue, 12 Jun 2007 19:30:11 -0700 Subject: VPN Monitoring In-Reply-To: <466EC3E7.8050604@CacheLogic.com> References: <466EC3E7.8050604@CacheLogic.com> Message-ID: <466F56B3.6000400@onetruemedia.com> What are you trying to monitor on the VPN devices? If you're using SNMP you can pretty much monitor anything you know the OID for using the check_snmp plugin. If your Checkpoint VPN is running on a Linux server then anything exposed by the SNMP daemon is monitorable. On 6/12/2007 9:03 AM, Kerry Milestone had said: > Hello, > > does anyone have any hints on how to monitor Checkpoint VPN status? > Also of interest is how to monitor Sonicwalls, again preferably with > SNMP trying to keep scripts and processing simple. However I am > guessing a little more in depth trickery such as checking traceroutes > and routing tables may be required? Am looking at star network > topologies with multiple links and VPNs to each site. > > Any ideas would be kindly recieved. > > Regards, > Kerry. > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nigel.Heaney at bgfl.org Wed Jun 13 05:09:39 2007 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Wed, 13 Jun 2007 04:09:39 +0100 Subject: automated response Message-ID: <10706130409.AA64905@bgfl.org> I will be unavailable from 12th June to 15th June. I will do my best to answer anyqueries upon my return. Regards, Nigel Heaney BGFL Network Services Team Service Birmingham - Link2ict. ************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Wed Jun 13 06:31:28 2007 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Wed, 13 Jun 2007 05:31:28 +0100 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 13/06/2007. End Date: 14/06/2007. I will be out of the office until 14th June please contact the service desk if your enquiry is service based. For escelations please contact Andy Johnson on 07841726771 ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garylua at singnet.com.sg Wed Jun 13 07:23:31 2007 From: garylua at singnet.com.sg (garylua at singnet.com.sg) Date: Wed, 13 Jun 2007 13:23:31 +0800 (SGT) Subject: nagio ping script help needed Message-ID: <1181712211.466f7f5329f6f@discus.singnet.com.sg> Hi, I'm currently using Redhat Enterprise Linux 4 and I've installed and configured nagios on 1 of my servers. I have a problem in coming up with a script for a scenario and I hope somebody here can help me. Assuming I have 2 servers, both running Nagios.Let's call them ServerA and ServerB. Both of them are initially configured in such a way that when they boot up, 3 redhat cluster services will be started : ccsd, cman and rgmanager. I need to configure Nagios in such a way that in the situation that when ServerA is up and running the 3 services and ServerB boots up, the 3 services on ServerB will be disabled at bootup (in other words, let ServerB boot up without starting the 3 services). My concern is that I do not want more than 1 instance of the services being started up. Can Nagios be configured to accomplish this? I've already configure Nagios as a bootup service for Linux already. Thanks in advance for any help. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jun 13 07:38:34 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 13 Jun 2007 01:38:34 -0400 Subject: nagio ping script help needed In-Reply-To: <1181712211.466f7f5329f6f@discus.singnet.com.sg> References: <1181712211.466f7f5329f6f@discus.singnet.com.sg> Message-ID: > Assuming I have 2 servers, both running Nagios.Let's call > them ServerA and ServerB. Both of them are initially > configured in such a way that when they boot up, 3 redhat > cluster services will be started : ccsd, cman and rgmanager. > > I need to configure Nagios in such a way that in the > situation that when ServerA is up and running the 3 services > and ServerB boots up, the 3 services on ServerB will be > disabled at bootup (in other words, let ServerB boot up > without starting the 3 services). My concern is that I do not > want more than 1 instance of the services being started up. > > Can Nagios be configured to accomplish this? I've already > configure Nagios as a bootup service for Linux already. > Thanks in advance for any help. Assuming you want all this to happen at boot, then no, Nagios is probably not the right way to do it. You should probably come up with a method that runs at boot, checks if the services are running on the other box, then starts them if they aren't running elsewhere. You *could* do it with Nagios, but probably not without some circumstances where they ended up running in both places. Some of the plugins, however, might be useful as a way to see if the services are running on the other box. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Wed Jun 13 07:43:11 2007 From: christian.masopust at siemens.com (Masopust, Christian) Date: Wed, 13 Jun 2007 07:43:11 +0200 Subject: sensor temperature In-Reply-To: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> Message-ID: <60721B67EAF0994EAFFB561767B700140125D890@nets13ha.ww300.siemens.net> Hello Marco, have a look at http://www.lancos.com/webtherm.html it's really easy to build and if you like, i've written a small check_temperature for the webtherm that i could share with you. Chris -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Tuesday, June 12, 2007 10:20 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] sensor temperature Importance: High Hi all. I am looking for a sensor to monitoring the temperature in our server farms. Does anybody do it ? How do you do it ? Which sensor do you use ? I see on www.nagios.org the Websensor EM01B, but it is quite expensive .. Does it work with Nagios 1.4 ? Many thanks Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy's new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jun 13 07:47:28 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 13 Jun 2007 07:47:28 +0200 (CEST) Subject: No display on web interface In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A9037D80F0@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A9037D80F0@repbex02.amer.bea.com> Message-ID: On Tue, 12 Jun 2007, Lalita Drolia wrote: > I have just finished installing Nagios server on a linux machine. > > Strangely all links on the web interface on the left hand side are > showing a blank page except home and documentation. Check the webserver logs. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jun 13 07:49:52 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 13 Jun 2007 07:49:52 +0200 (CEST) Subject: VPN Monitoring In-Reply-To: <466EC3E7.8050604@CacheLogic.com> References: <466EC3E7.8050604@CacheLogic.com> Message-ID: On Tue, 12 Jun 2007, Kerry Milestone wrote: > does anyone have any hints on how to monitor Checkpoint VPN status? > Also of interest is how to monitor Sonicwalls, again preferably with > SNMP trying to keep scripts and processing simple. However I am > guessing a little more in depth trickery such as checking traceroutes > and routing tables may be required? Am looking at star network > topologies with multiple links and VPNs to each site. Use the VPN's to monitor a device on the other end. check_icmp should do the trick. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Jun 13 07:57:10 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 13 Jun 2007 01:57:10 -0400 Subject: nagio ping script help needed In-Reply-To: <1181712211.466f7f5329f6f@discus.singnet.com.sg> References: <1181712211.466f7f5329f6f@discus.singnet.com.sg> Message-ID: <466F8736.6040302@aei.ca> On 13/06/07 01:23 AM, garylua at singnet.com.sg wrote: > Hi, I'm currently using Redhat Enterprise Linux 4 and I've installed and configured nagios on 1 of my servers. I have a problem in coming up with a script for a scenario and I hope somebody here can help me. > > Assuming I have 2 servers, both running Nagios.Let's call them ServerA and ServerB. Both of them are initially configured in such a way that when they boot up, 3 redhat cluster services will be started : ccsd, cman and rgmanager. > > I need to configure Nagios in such a way that in the situation that when ServerA is up and running the 3 services and ServerB boots up, the 3 services on ServerB will be disabled at bootup (in other words, let ServerB boot up without starting the 3 services). My concern is that I do not want more than 1 instance of the services being started up. > > Can Nagios be configured to accomplish this? I've already configure Nagios as a bootup service for Linux already. Thanks in advance for any help. I don't get it. Cluster services are usually there for this kind of thing: making sure a service runs only once, or that no more than x instances are running... But now you want that king of control for the cluster services itself.. Are you trying to build a cluster of clusters??? I have no experience of RedHat cluster but I did use LinuxHA, and you would run the cluster software on every nodes no matter if the clustered services will be running there or no. Maybe your cluster is not properly configured... Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Wed Jun 13 12:30:07 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 13 Jun 2007 11:30:07 +0100 Subject: FW: Problems with distributed setup, master overload? Message-ID: -----Original Message----- From: nagios-users On Behalf Of Jeffrey Lensen Sent: 10 June 2007 08:28 > I recently extend our distributed Nagios setup of 1 master and 2 distributed slaves (in > which the master also had a lot of checks running), to 1 master and 5 distributed slaves > (in which the master does no checking at all, except for host checks). > > This setup had 556 hosts and roughly 7000 service checks. Ever since I modified this > setup, the Nagios master host has been giving me problems. > > The symptoms: > - When starting both Nagios and NSCA, I see NSCA accepting checks in my logfiles, but none > get processed by Nagios. > - After a few minutes NSCA processes are starting to build up, increasing with 5-10 > processes per second. In a few minutes it reaches a few thousand processes and the machine > starts hanging. > - Sometimes the number of Nagios processes start increasing, instead of the NSCA > processes. Same result, the machine starts hanging. I have seen similar problems, though in my case (1 master, 2 slaves, 824 hosts, 16000+ services) the queued NSCA processes are eventually flushed. However the Nagios master server also suffers from memory leaks; it eventually (after a period of 1 - 5 days) crashes with a kernel panic because there is no free memory or reaches a state where the kernel has killed all useful processes (e.g. nagios, nsca, sshd, ntpd, etc) in attempt to cure OOM (Out Of Memory) problems. Interestingly trying to strace the first daughter nsca process seems to bring everything into life and the queue of NSCA processes quickly flushes. I have tried running nagios using option -s to get configuration recommendations and nagiostats to get usage information on both master and slave servers, but they do not reveal anything useful. My current plan is to introduce 3 more slave servers as I have heard that this helps. Any comments would be helpful to me as well. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arun26282 at gmail.com Wed Jun 13 12:31:06 2007 From: arun26282 at gmail.com (Arun Sharma) Date: Wed, 13 Jun 2007 16:01:06 +0530 Subject: how to configure notification in Nagios Message-ID: <84cdda0f0706130331k6001c368pc309373a37fb832a@mail.gmail.com> i am using debian linux and Nagios version 2.3.1, i want to eneble notification field and i enabld it and define the admin_email in main cofiguration fil "nagios.cfg". but i think some more settings shold be there , how nagios will send mail automatically to a mail id . please help me what is the procedure to configuring Nagios to send mail to a particular mail id. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kerry.Milestone at CacheLogic.com Wed Jun 13 11:02:41 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Wed, 13 Jun 2007 10:02:41 +0100 Subject: VPN Monitoring In-Reply-To: <466F56B3.6000400@onetruemedia.com> References: <466EC3E7.8050604@CacheLogic.com> <466F56B3.6000400@onetruemedia.com> Message-ID: <466FB2B1.4000708@CacheLogic.com> are looking at the VPN status. basic at this stage, but whether it is up or not. The checkpoint mib, OID, 1.3.6.1.4.1.2620 does not seem to have the vpn status. I am well aware that Checkpint provide their own monitoring solution, but it would really be nice and useful to have it integrated into one enterprise monitoring rather that disparate network monitoring systems. Anthony Mendoza wrote: > What are you trying to monitor on the VPN devices? If you're using SNMP > you can pretty much monitor anything you know the OID for using the > check_snmp plugin. If your Checkpoint VPN is running on a Linux server > then anything exposed by the SNMP daemon is monitorable. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Jun 13 08:11:59 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 13 Jun 2007 07:11:59 +0100 Subject: AIX & NRPE v2.5.1 In-Reply-To: <466D9F7D.6070201@email.unc.edu> References: <466D9F7D.6070201@email.unc.edu> Message-ID: <765d77c80706122311u4c833c74g706d448be2a67121@mail.gmail.com> On 11/06/07, Steven Fishback wrote: > Any idea as to the problem? Not to the problem, no. As to the solution, is nrpe for AIX available on nagiosexchange.org? I've certainly downloaded nsca and the plugins from there most of which work fine on 5.3. I don't use nrpe myself. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at hyves.nl Wed Jun 13 09:29:47 2007 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Wed, 13 Jun 2007 09:29:47 +0200 Subject: Problems with distributed setup, master overload? In-Reply-To: <62270.71.140.186.204.1181685372.squirrel@ssl.monsoonwind.com> References: <466BA816.7050200@hyves.nl> <62270.71.140.186.204.1181685372.squirrel@ssl.monsoonwind.com> Message-ID: <466F9CEB.2050209@hyves.nl> Thanks, I'll see if that helps somewhat. Jeffrey Lensen System Administrator Hyves hyves page: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Robert Hajime Lanning wrote: > > >> Hello all, >> >> I recently extend our distributed Nagios setup of 1 master and 2 >> distributed slaves (in which the master also had a lot of checks >> running), to 1 master and 5 distributed slaves (in which the master >> does no checking at all, except for host checks). >> > > Try this: > > Turn off host checks > Just use a check_icmp service check, in place of the host check. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldrolia at bea.com Wed Jun 13 11:07:39 2007 From: ldrolia at bea.com (Lalita Drolia) Date: Wed, 13 Jun 2007 02:07:39 -0700 Subject: checking windows clients for hung state Message-ID: <2402BA0C1F52594E8E271233F62EB6A9037D86BC@repbex02.amer.bea.com> Hi, I wanted to know how we can check for a situation in which we can ping the machine but still not access it, in windows. What I mean id that probably the machine is in a hung state and that is why we can ping it but still not access it. Please tell me what will be the best check for such a situation on windows clients. Kindly help. Lalita Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garylua at singnet.com.sg Wed Jun 13 11:08:11 2007 From: garylua at singnet.com.sg (garylua at singnet.com.sg) Date: Wed, 13 Jun 2007 17:08:11 +0800 (SGT) Subject: nagio ping script help needed In-Reply-To: <466F8736.6040302@aei.ca> References: <1181712211.466f7f5329f6f@discus.singnet.com.sg> <466F8736.6040302@aei.ca> Message-ID: <1181725691.466fb3fb7902d@arrowana.singnet.com.sg> Hi, thanks for the prompt response. I am running 2 clusters, each at a different site. What i want to accomplish is this : Cluster A is running a a service and I don't want Cluster B to start at bootup if Cluster A is running. I was thinking of using nagios to detect the active cluster at bootup and disable the local cluster. If the local cluster cannot detect the other cluster, then it will startup. if not, it stays inactive. In order not to simplify things, let's disregard the cluster. Assuming the 2 servers A and B are physically apart, but can ping each other (different subnet). Can i prevent A from starting up if B is already started using Nagios? --- Thomas Guyot-Sionnest wrote: > On 13/06/07 01:23 AM, garylua at singnet.com.sg wrote: > > Hi, I'm currently using Redhat Enterprise Linux 4 and I've > installed and configured nagios on 1 of my servers. I have a problem > in coming up with a script for a scenario and I hope somebody here > can help me. > > > > Assuming I have 2 servers, both running Nagios.Let's call them > ServerA and ServerB. Both of them are initially configured in such a > way that when they boot up, 3 redhat cluster services will be > started : ccsd, cman and rgmanager. > > > > I need to configure Nagios in such a way that in the situation > that when ServerA is up and running the 3 services and ServerB boots > up, the 3 services on ServerB will be disabled at bootup (in other > words, let ServerB boot up without starting the 3 services). My > concern is that I do not want more than 1 instance of the services > being started up. > > > > Can Nagios be configured to accomplish this? I've already > configure Nagios as a bootup service for Linux already. Thanks in > advance for any help. > > I don't get it. Cluster services are usually there for this kind of > thing: making sure a service runs only once, or that no more than x > instances are running... But now you want that king of control for > the > cluster services itself.. Are you trying to build a cluster of > clusters??? > > I have no experience of RedHat cluster but I did use LinuxHA, and > you > would run the cluster software on every nodes no matter if the > clustered > services will be running there or no. Maybe your cluster is not > properly > configured... > > Thomas > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kerry.Milestone at CacheLogic.com Wed Jun 13 11:51:53 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Wed, 13 Jun 2007 10:51:53 +0100 Subject: VPN Monitoring In-Reply-To: References: <466EC3E7.8050604@CacheLogic.com> Message-ID: <466FBE39.6020700@CacheLogic.com> problem is, we can lose many VPNs to a node through diverse paths before a device is unreachable thus pinging something at the other end is probably not going to work as by the time the device is unreachable its far too late and customer impacting. I am really after monitoring something which reports the status of the VPN link, something like with a hardware interface where you can see if there is a physical link present or not, and observe things like flapping though for VPNs like either established or not. Hugo van der Kooij wrote: > On Tue, 12 Jun 2007, Kerry Milestone wrote: > > >> does anyone have any hints on how to monitor Checkpoint VPN status? >> Also of interest is how to monitor Sonicwalls, again preferably with >> SNMP trying to keep scripts and processing simple. However I am >> guessing a little more in depth trickery such as checking traceroutes >> and routing tables may be required? Am looking at star network >> topologies with multiple links and VPNs to each site. >> > > Use the VPN's to monitor a device on the other end. check_icmp should do > the trick. > > Hugo. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Wed Jun 13 12:08:22 2007 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Wed, 13 Jun 2007 06:08:22 -0400 Subject: VPN Monitoring In-Reply-To: <466F56B3.6000400@onetruemedia.com> References: <466EC3E7.8050604@CacheLogic.com> <466F56B3.6000400@onetruemedia.com> Message-ID: <1181729302.6476.5.camel@localhost> On Tue, 2007-06-12 at 19:30 -0700, Anthony Mendoza wrote: > What are you trying to monitor on the VPN devices? If you're using SNMP > you can pretty much monitor anything you know the OID for using the > check_snmp plugin. If your Checkpoint VPN is running on a Linux server > then anything exposed by the SNMP daemon is monitorable. > > On 6/12/2007 9:03 AM, Kerry Milestone had said: > > Hello, > > > > does anyone have any hints on how to monitor Checkpoint VPN status? > > Also of interest is how to monitor Sonicwalls, again preferably with > > SNMP trying to keep scripts and processing simple. However I am > > guessing a little more in depth trickery such as checking traceroutes > > and routing tables may be required? Am looking at star network > > topologies with multiple links and VPNs to each site. > > > > Any ideas would be kindly recieved. > > > > Regards, > > Kerry. We've found the most difficult part of monitoring VPNs has been tunnel availability. Because of the way IPSec works, we cannot trust the VPN gateway's report that a tunnel is up as authoritative. The tunnel may be up from each gateway's perspective but they may be out of sync. We have resolved that problem pretty effectively for our environment. We are not using Checkpoint or Sonicwalls. Instead, we've been building highly secure VPNs for both LAN-to-LAN and Remote Access using the ISCS network security management project (http://iscs.sourceforge.net) with either SecureComputing SG devices or home grown Linux gateways. We have a script which pings across the tunnel with service dependencies of both gateways. This way, we test the real tunnel availability instead of what the gateways think is the reality. Finally, we have an agent which resets the tunnels if it does find them out of syn. As a result, even when tunnels go out of sync, the outage is usually between 30 and 180 seconds - less time than it would take us just to ascertain what was wrong. Hope that helps - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 13 13:22:53 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 13 Jun 2007 13:22:53 +0200 Subject: VPN Monitoring In-Reply-To: <466FB2B1.4000708@CacheLogic.com> References: <466F56B3.6000400@onetruemedia.com> <466FB2B1.4000708@CacheLogic.com> Message-ID: <200706131322.54214.misch@multinet.de> Am Mittwoch, 13. Juni 2007 11:02 schrieb Kerry Milestone: > are looking at the VPN status. basic at this stage, but whether it is > up or not. Hi, What exactly do you want to monitor? You could use: Monitoring (nagios): cpvCurrEspSAsIn: "IPsec current Inbound ESP SAs" cpvCurrEspSAsOut: "IPsec current Outbound ESP SAs" Reporting (MRTG): cpvIpsecEspEncBytes: "IPsec ESP encrypted bytes" cpvIpsecEspDecBytes: "IPsec ESP decrypted bytes" You also could monitor tunnels with specific partners via cpvTnlMon. Or do you want to monitor if vpn deamon is running? -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 13:25:49 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 13 Jun 2007 13:25:49 +0200 Subject: sensor temperature In-Reply-To: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> Message-ID: <466FD43D.4030308@its-lehmann.de> Hi, On 6/12/2007 10:19 AM, Marco Borsani wrote: > > > Hi all. > > > > I am looking for a sensor to monitoring the temperature in our server > farms. > > > > Does anybody do it ? How do you do it ? Yes. Using the Environmental Monitoring facilities of the network cards for APC UPSes. > Which sensor do you use ? The ones APC supplies :-) > > > I see on www.nagios.org the Websensor EM01B, > but it is quite expensive .. The APC stuff is also not exactly cheap, but if you want the network interface anyway, it's well worth its price. > Does it work with Nagios 1.4 ? Yes, just a matter of the plugin. Arno > > > Many thanks > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei dati > personali, le informazioni contenute in questo messaggio sono > strettamente riservate e sono esclusivamente indirizzate al destinatario > indicato (oppure alla persona responsabile di rimetterlo al > destinatario). Qualsiasi uso, riproduzione o divulgazione di questo > messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per > errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo > posta elettronica e distruggere il messaggio erroneamente ricevuto. > > According to Italy?s new data protection code (Legislative Decree no. > 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning > privacy, the information contained in this e-mail is confidential and is > intended for the addressee only. If you are not the correct recipient, > please note that any use, dissemination or copy of this > document/information is strictly prohibited.If you have received this > message in error, you should destroy it and please notify us immediately > by e-mail. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 13 13:33:29 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 13 Jun 2007 13:33:29 +0200 Subject: sensor temperature In-Reply-To: <466FD43D.4030308@its-lehmann.de> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> <466FD43D.4030308@its-lehmann.de> Message-ID: <200706131333.29980.misch@multinet.de> Am Mittwoch, 13. Juni 2007 13:25 schrieb Arno Lehmann: > Hi, > > On 6/12/2007 10:19 AM, Marco Borsani wrote: > > Hi all. > > > > > > > > I am looking for a sensor to monitoring the temperature in our server > > farms. Why don't you use the temp sensors of the motherboard (via program "sensors")? net-snmp offers an extension to snmp-get the temperature. Configure nagios check_snmp to read it. Or get the temp of the harddiscs via smartctl? -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Jun 13 13:45:42 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Wed, 13 Jun 2007 07:45:42 -0400 Subject: sensor temperature In-Reply-To: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> Message-ID: <466FD8E6.2090008@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marco Borsani wrote: > I am looking for a sensor to monitoring the temperature in our server farms. > > > Does anybody do it ? How do you do it ? > > Which sensor do you use ? I'm using one from SensorSoft http://www.sensorsoft.com/pricingpage.html The standalone 1 port unit was around $300 I think, plus the sensor probe is extra. It's a little pricy, but I've been running it now for over 2 years and never had an issue. They are based out of Canada, I believe, and their tech support team is always helpful if you need them. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGb9jlHoeeepPau2ERAtJAAKCuUM+a/xOFjamoThWf1a3OUCrDeACcCxLt r71HYdS1GwHW7MyiFObqydY= =MXRw -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jun 13 14:06:52 2007 From: m.borsani at it.net (Marco Borsani) Date: Wed, 13 Jun 2007 14:06:52 +0200 Subject: R: sensor temperature In-Reply-To: <200706131333.29980.misch@multinet.de> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net><466FD43D.4030308@its-lehmann.de> <200706131333.29980.misch@multinet.de> Message-ID: <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> I'd like to use temp sensor on the motherboard of our Dell Poweredge servers, but when I run a : snmpwalk -c "community" -v 1 "IP-address" I only receive few informations. I am using check_snmp to monitor temperature insiede some Cisco switchs and it is working fine. I have not idea why I am not able to do the same with Dell servers. Any idea ? Do I need server with DRAC board? Regards Marco -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Michael Schwartzkopff Inviato: mercoled? 13 giugno 2007 13.33 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] sensor temperature Am Mittwoch, 13. Juni 2007 13:25 schrieb Arno Lehmann: > Hi, > > On 6/12/2007 10:19 AM, Marco Borsani wrote: > > Hi all. > > > > > > > > I am looking for a sensor to monitoring the temperature in our server > > farms. Why don't you use the temp sensors of the motherboard (via program "sensors")? net-snmp offers an extension to snmp-get the temperature. Configure nagios check_snmp to read it. Or get the temp of the harddiscs via smartctl? -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernandoaben at hotmail.com Wed Jun 13 14:17:56 2007 From: fernandoaben at hotmail.com (Fernando A Ben) Date: Wed, 13 Jun 2007 12:17:56 +0000 Subject: Problem - HOST DEPENDENCIE In-Reply-To: <466FD8E6.2090008@verizon.net> References: <466FD8E6.2090008@verizon.net> Message-ID: Hello, I need Help. Even not to understand the operation from the the funcion HOST DEPENDENCIE. We suppose that I have alone 2 (two) hosts "A" and "B", only checked PING on two hosts. Alone I am checked PING "B" depends on "A" to function. The Host "A" falls, leaves the PING to respond but "B" continues responding. In that case HOST DEPENDENCIE should me alert that host "A" failed and that is necessary so that "B" function? I expect can help me. Many Thanks ---------------------------------------------------------- Hola, necesito ayuda. Aun no logro entender el funcionamiento del la funcion HOST DEPENDENCIE. Supongamos que tengo solo 2 host "A" y "B", solo se chequea PING "B" depende de "A" para funcionar. El Host "A" se cae, deja el PING de responder pero "B" sigue respondiendo. En ese caso HOST DEPENDENCIE me debe alertar que "A" esta caido y que es necesario para que "B" funcione? Espero me puedan ayuda. Muchas Gracias _________________________________________________________________ Visita MSN Latino Noticias: Todo lo que pasa en el mundo y en tu pa?n, ?en tu idioma! http://latino.msn.com/noticias/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpdittler at braintec-consult.de Wed Jun 13 14:21:29 2007 From: hpdittler at braintec-consult.de (Hans P. Dittler) Date: Wed, 13 Jun 2007 14:21:29 +0200 Subject: R: sensor temperature In-Reply-To: <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net><466FD43D.4030308@its-lehmann.de><200706131333.29980.misch@multinet.de> <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> Message-ID: <732800DB023A9A44AF1FCA49DE85982D725479@dc-backup2.win3k.braintec-consult.de> Hi, there are several easy ways to do this, one is using check_snmp_temperature.pl from nagiosexchange.org it has the right OID for DELL already inside. Or you can use snmp-get. You can see the values with snmpwalk -c yourcommunity -v 1 yourserver .1.3.6.1.4.1.674.10892.1.700.20 Please install the DELL OMC-package on the server, otherwise these values are not available. Then you can test everything locally before doing it remote from nagios Regards Hans Peter Dittler ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 13 14:25:15 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 13 Jun 2007 14:25:15 +0200 Subject: R: sensor temperature In-Reply-To: <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> <200706131333.29980.misch@multinet.de> <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> Message-ID: <200706131425.15913.misch@multinet.de> Am Mittwoch, 13. Juni 2007 14:06 schrieb Marco Borsani: > I'd like to use temp sensor on the motherboard of our Dell Poweredge > servers, but when I run a : > snmpwalk -c "community" -v 1 "IP-address" > I only receive few informations. > > I am using check_snmp to monitor temperature insiede some Cisco switchs and > it is working fine. > > I have not idea why I am not able to do the same with Dell servers. > Any idea ? > Do I need server with DRAC board? > > Regards > Marco What SNMP agent is running there? net-snmp? Did you configure your DELL monitoring software the cooperate with net-snmp? Does DELL software provide it's own snmp agent, perhaps on another port? Does DELL use the enterprises MIB? Lots of questions regaring the DELL software. Please refer to their manuals or ask a DELL specialist. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 13 14:40:26 2007 From: marc at ena.com (Marc Powell) Date: Wed, 13 Jun 2007 07:40:26 -0500 Subject: checking windows clients for hung state In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A9037D86BC@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A9037D86BC@repbex02.amer.bea.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lalita Drolia > Sent: Wednesday, June 13, 2007 4:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] checking windows clients for hung state > > Hi, > > I wanted to know how we can check for a situation in which we can ping the > machine but still not access it, in windows. > > What I mean id that probably the machine is in a hung state and that is > why we can ping it but still not access it. > > Please tell me what will be the best check for such a situation on windows > clients. I'd start with how you manually determine that it's hung and work from there. It's a pretty vague scenario. Does it still respond on TCP ports? Are services still running? Find an external service on the machine that isn't responding when the hang occurs and add it as a normal check. Perhaps running NRPE_NT or nsclient++ on the machine and performing a normal check would be sufficient. I'd prefer some network based test myself though if I could get away with it, check_tcp for example. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at hyves.nl Wed Jun 13 15:39:52 2007 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Wed, 13 Jun 2007 15:39:52 +0200 Subject: FW: Problems with distributed setup, master overload? In-Reply-To: References: Message-ID: <466FF3A8.3040709@hyves.nl> I'm not sure adding more slaves will solve the problem on the master server.. From what I've been reading on these maillists, the problem tends to be the filling of the nagios.cmd pipe. Multiple processes try to write to it (NSCA children) and multiple processes try to read from it (Nagios children). From what I understand the NSCA daemons are all waiting to access the pipe, but can't, and then start to wait. NSCA creates another child child process, which starts to wait, etc etc. Within an hour the system started swapping because of the large amount of processes (I think I actually saw it going up to 6500!) and eventually it died. In my setup this problem started showing after I added 3 slave hosts... So I'm not sure if that will fix anything... My current (temporary) solution is a small script in the crontab, which restarts the NSCA daemon every 30 minutes or so. If it can't stop normally, it does a killall -9, and then forces another start. Seems to hold up so far, but the solution isn't pretty. Jeffrey Lensen System Administrator Hyves hyves page: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Wheeler, JF (Jonathan) wrote: > -----Original Message----- > From: nagios-users On Behalf Of Jeffrey Lensen > Sent: 10 June 2007 08:28 > > >> I recently extend our distributed Nagios setup of 1 master and 2 >> > distributed slaves (in > >> which the master also had a lot of checks running), to 1 master and 5 >> > distributed slaves > >> (in which the master does no checking at all, except for host checks). >> >> This setup had 556 hosts and roughly 7000 service checks. Ever since I >> > modified this > >> setup, the Nagios master host has been giving me problems. >> >> The symptoms: >> - When starting both Nagios and NSCA, I see NSCA accepting checks in >> > my logfiles, but none > >> get processed by Nagios. >> - After a few minutes NSCA processes are starting to build up, >> > increasing with 5-10 > >> processes per second. In a few minutes it reaches a few thousand >> > processes and the machine > >> starts hanging. >> - Sometimes the number of Nagios processes start increasing, instead >> > of the NSCA > >> processes. Same result, the machine starts hanging. >> > > I have seen similar problems, though in my case (1 master, 2 slaves, 824 > hosts, 16000+ services) the queued NSCA processes are eventually > flushed. However the Nagios master server also suffers from memory > leaks; it eventually (after a period of 1 - 5 days) crashes with a > kernel panic because there is no free memory or reaches a state where > the kernel has killed all useful processes (e.g. nagios, nsca, sshd, > ntpd, etc) in attempt to cure OOM (Out Of Memory) problems. > Interestingly trying to strace the first daughter nsca process seems to > bring everything into life and the queue of NSCA processes quickly > flushes. > > I have tried running nagios using option -s to get configuration > recommendations and nagiostats to get usage information on both master > and slave servers, but they do not reveal anything useful. My current > plan is to introduce 3 more slave servers as I have heard that this > helps. > > Any comments would be helpful to me as well. > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 13 15:45:16 2007 From: marc at ena.com (Marc Powell) Date: Wed, 13 Jun 2007 08:45:16 -0500 Subject: checking windows clients for hung state In-Reply-To: <2402BA0C1F52594E8E271233F62EB6A9037D8855@repbex02.amer.bea.com> References: <2402BA0C1F52594E8E271233F62EB6A9037D8855@repbex02.amer.bea.com> Message-ID: Please always respond on list. You'll be giving experience back to the community and future readers will benefit from it. > -----Original Message----- > From: Lalita Drolia [mailto:ldrolia at bea.com] > Sent: Wednesday, June 13, 2007 7:46 AM > To: Marc Powell > Subject: RE: [Nagios-users] checking windows clients for hung state > > That is what I was guessing Marc that you need to check for the > particular service which is causing the machine to hang. > I would like to give you an example of solaris servers. They have a > state called "ok promot" as I understand and you can ping the machine in > that state but its stuck in the boot up process. So I have put a check > on ssh to overcome this problem because ssh will be working only when > the machine would have booted up properly and be usable. Yes, that's the kind of check I'm proposing for your windows machine. > Similarly, I was wondering that can we put a check on some service on > windows machines which will definetly be halted in case the machine > hangs? I hope I have made myself clear and not confused you :) How can we know? We don't even know what services your windows machine is running. Is it running IIS? Does IIS respond when the machine hangs? If not, then use check_http to check IIS. Is it running DNS? Does it respond to DNS queries when the machine hangs? If not, use check_dns. Does port 139 respond when the machine hangs? If not, then use check_tcp to check that port. You'll have to perform tests such as these based on the services the machine is running to determine what's best to use. Nmap can help you determine what ports your machine is normally listening on if you don't know. If the machine is 'hung' but still responds to network tests properly then you'll need to dig further to determine what's actually broken when it's in this state and use that as a basis for your check. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Wed Jun 13 16:13:42 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 13 Jun 2007 10:13:42 -0400 Subject: how to configure notification in Nagios In-Reply-To: <84cdda0f0706130331k6001c368pc309373a37fb832a@mail.gmail.com> References: <84cdda0f0706130331k6001c368pc309373a37fb832a@mail.gmail.com> Message-ID: <1181744022.88230.58.camel@soundwave.pgh.priv.collaborativefusion.com> On Wed, 2007-06-13 at 16:01 +0530, Arun Sharma wrote: > some more settings shold be there , how nagios will send mail > automatically to a mail id. It's pretty simple: Host Notifications---\ >-Contact Groups -> Contacts -> MiscCmds (sendmail) Service Notifications/ Check out the variety of Nagios books as well. ~BAS > please help me what is the procedure to configuring Nagios to send > mail to a ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at freecharity.org.uk Wed Jun 13 16:20:18 2007 From: james at freecharity.org.uk (James Davis) Date: Wed, 13 Jun 2007 15:20:18 +0100 Subject: Problem with dependancies and notifications Message-ID: <466FFD22.1090808@freecharity.org.uk> I've got a number of hosts sitting behind a router. I've configured the hosts in nagios so that they depend upon the router being available. When the router fails I get a single alert as I'd expect, but it's a notice about the one particular host behind the router every time and not the router itself. Have I configured something incorrectly? Should nagios be checking the status of the router after finding that this particular device is down? James -- http://www.freecharity.org.uk/ - Free IT services for charities http://www.freecharity.org.uk/wiki/ - The VCSWiki ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Jun 13 16:46:12 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 13 Jun 2007 15:46:12 +0100 Subject: Monitoring a Terminal Server Licensing Server? Message-ID: <46700334.5000207@googlemail.com> Hi, Anybody know how to monitor a terminal server licensing server with windows 2003? I'm just wondering if there is a realistic way of checking that is it serving licenses. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Wed Jun 13 17:01:15 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 13 Jun 2007 11:01:15 -0400 Subject: Monitoring a Terminal Server Licensing Server? In-Reply-To: <46700334.5000207@googlemail.com> References: <46700334.5000207@googlemail.com> Message-ID: <1181746875.88230.80.camel@soundwave.pgh.priv.collaborativefusion.com> check_tcp![##] will let you know if the port is open. A more aggressive-check might use rdesktop(1) to try to connect somewhere to validate. On Wed, 2007-06-13 at 15:46 +0100, Hari Sekhon wrote: > Hi, > > Anybody know how to monitor a terminal server licensing server with > windows 2003? > > I'm just wondering if there is a realistic way of checking that is it > serving licenses. > > -h ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 13 17:17:39 2007 From: marc at ena.com (Marc Powell) Date: Wed, 13 Jun 2007 10:17:39 -0500 Subject: Problem with dependancies and notifications In-Reply-To: <466FFD22.1090808@freecharity.org.uk> References: <466FFD22.1090808@freecharity.org.uk> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James Davis > Sent: Wednesday, June 13, 2007 9:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with dependancies and notifications > > I've got a number of hosts sitting behind a router. I've configured the > hosts in nagios so that they depend upon the router being available. > Have I configured something incorrectly? Should nagios be checking the > status of the router after finding that this particular device is down? Sounds like you want to use 'parents' in your host definitions as opposed to dependencies. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Jun 13 17:20:17 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Wed, 13 Jun 2007 11:20:17 -0400 Subject: Monitoring a Terminal Server Licensing Server? In-Reply-To: <46700334.5000207@googlemail.com> References: <46700334.5000207@googlemail.com> Message-ID: <46700B31.4060402@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: > Hi, > > Anybody know how to monitor a terminal server licensing server with > windows 2003? > > I'm just wondering if there is a realistic way of checking that is it > serving licenses. > You could check the process running across SNMP, if you have it loaded on the server. http://nagios.manubulon.com/snmp_process.html Or, this one: http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1%5Bp_view%5D=407 check_win_snmp_process.pl HOST COMMUNITYSTRING termsrv I check my terminal server using this across SNMP. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGcAsxHoeeepPau2ERAiYMAKCiNsKhvqL8VxE65ui/PtF30KYX5QCg2aaM R9tCz7iUxj+mrpTF2p8lPHY= =xEBd -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Wed Jun 13 17:36:31 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 13 Jun 2007 11:36:31 -0400 Subject: AIX & NRPE v2.5.1 In-Reply-To: <466F2D9D.9050102@email.unc.edu> References: <466F2D9D.9050102@email.unc.edu> Message-ID: <1181748992.88230.93.camel@soundwave.pgh.priv.collaborativefusion.com> How about s/--inetd/-i/g in the command line? Clearly it's sending the stdout from the command line flag syntax usage error to the socket output of the client. Also, why run it out of inetd? It has a built in daemon mode. There's a pattern here: inetd && floppy drives && parallel ports && uucp && sendmail ~BAS On Tue, 2007-06-12 at 19:34 -0400, Steven Fishback wrote: > Nagios v2.5 with NRPE plug-in v2.5.1 on AIX v5.3 (ppc 64 processor) > > I've seen this thread before concerning AIX and NRPE but no resolution > or good suggestions as to what's going on. > > If I compile with openssl 0.9.7l-1 I get the "SSL handshaking" error. > If I compile without openssl enabled I get the "Response packet had > invalid CRC32" error. > I've done all the normal FAQ checks. > > My /etc/services I have: > nrpe 5666/tcp # NRPE > My /etc/inetd.conf I have: > nrpe stream tcp nowait nagios /usr/sbin/nrpe -c /etc/nrpe.cfg > --inetd > > For testing purposes I have no tcp wrappers and SSL is not enabled. > > Logged into the local host: > > $ /usr/bin/telnet localhost 5666 > Trying... > Connected to localhost.localdomain. > Escape character is '^]'. > > NRPE - Nagios Remote Plugin Executor > Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) > Version: 2.5.1 > Last Modified: 04-09-2006 > License: GPL v2 with exemptions (-l for more info) > > *************************************************************** > ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! ** > ** Read the NRPE SECURITY file for more information ** > *************************************************************** > > Usage: nrpe [-n] -c > > Options: > -n = Do not use SSL > = Name of config file to use > = One of the following two operating modes: > -i = Run as a service under inetd or xinetd > -d = Run as a standalone daemon > > Connection closed. > > $ /opt/local/bin/check_nrpe -H localhost > CHECK_NRPE: Response packet had invalid CRC32. > > $ /opt/local/bin/check_nrpe -H localhost -p 5666 -n > CHECK_NRPE: Response packet had invalid CRC32. > > Any idea as to the problem? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Jun 13 18:39:16 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 13 Jun 2007 12:39:16 -0400 Subject: How to handle macros with \'s in them Message-ID: <7F477BD26F545A4C8E4779754A38EFB301A47425@PEPWMV00043.corp.pep.pvt> Hello. Recently, we've started running plugins that have \'s in their output. Specifically, the nsclient++ disk check that would report on, say "C:\". The plugin sends output like: C:\ - total: 3.91 Gb - used: 3.62 Gb (93%) - free 0.29 Gb (7%) which looks fine in Nagios' web interface. However, when an alert gets generated, all I get for the service output is C: We use the common notify-by-email command for notifications. I.e define command { command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } So unless I'm mistaken, the \ in the $SERVICEOUTPUT$ gets eaten by the /usr/bin/printf for the notification command. A simple solution has eluded me. Has anyone found a nice way to handle this? Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Wed Jun 13 18:40:28 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 13 Jun 2007 12:40:28 -0400 Subject: Good front end tool for Nagios In-Reply-To: <"L2118904BFBA14e3aA404497EF257F7B6.1181669220.mt-adm.mentora.biz*"@MHS> References: <"L2118904BFBA14e3aA404497EF257F7B6.1181669220.mt-adm.mentora.biz*"@MHS> Message-ID: <1181752828.1161.18.camel@soundwave.pgh.priv.collaborativefusion.com> If you network has 2500 monitors, you can probably budget a developer to write/develop a front-end that doesn't use PHP+MySQL, which are probably the cause of your scalability issues. Check out PosgreSQL. ~BAS On Tue, 2007-06-12 at 13:27 -0400, Andrey Dmitriev wrote: > All, > > Is there are a good front end tool for Nagios that can > A) have profiles that we can apply to multiple hosts > B) ideally stores in MySQL db (well, this is not really a requirement, > as apparently there are perl modules that can potentially load a mysql > db). > > Please don't recommend Fruity/GroundWork, as apparently it pukes on > 2500+ monitors, or a certain number of hosts (at least GroundWork did > for us in version 4.51, which is why we plan to ditch it) > > Thanks, > Andrey > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Brian A. Seklecki Collaborative Fusion, Inc. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Wed Jun 13 18:40:29 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 13 Jun 2007 12:40:29 -0400 Subject: Debugging Nagios? In-Reply-To: <304BF6AEA3DA71488B9EC776A03D6FFB068C707A@EVS3.ams.gblxint.com> References: <304BF6AEA3DA71488B9EC776A03D6FFB068C707A@EVS3.ams.gblxint.com> Message-ID: <1181752829.1161.20.camel@soundwave.pgh.priv.collaborativefusion.com> What a great question! Well there's nagios.log in /var/spool/nagios, use_syslog=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_checks=1 log_notifications=1 log_service_retries=1 But getting debug out the schedule probably requires a debug build of the binary. ~~BAS PS It could be worse, you could be trying to debug a plugin/module. On Tue, 2007-06-12 at 18:57 -0400, Bonaparte, Klaus wrote: > ou debug Nagios to determine why it is no longer running any checks? > > I see checks scheduled in the queue, but then time passes and they get > removed from the top of the queue as if they were run but their status > never changes, nothing is logged in nagios.log or syslogs, and once in > a while you can see nagios processes running? > > > > Any help? Debug flags or common things to look for? > -- Brian A. Seklecki Collaborative Fusion, Inc. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Wed Jun 13 19:16:40 2007 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 13 Jun 2007 13:16:40 -0400 Subject: How to handle macros with \'s in them In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB301A47425@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB301A47425@PEPWMV00043.corp.pep.pvt> Message-ID: <00dc01c7adde$9b829600$5700a8c0@andrew2> Frost, Mark {PBG} wrote: > Hello. Recently, we've started running plugins that have \'s in their > output. Specifically, the nsclient++ disk check that would report on, > say "C:\". > > The plugin sends output like: > > C:\ - total: 3.91 Gb - used: 3.62 Gb (93%) - free 0.29 Gb (7%) > > which looks fine in Nagios' web interface. However, when an alert > gets generated, all I get for the service output is > > C: > > We use the common notify-by-email command for notifications. I.e > > define command { > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert > - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > So unless I'm mistaken, the \ in the $SERVICEOUTPUT$ gets eaten by the > /usr/bin/printf for the notification command. > > A simple solution has eluded me. Has anyone found a nice way to > handle this? Not the most elegant way of handling it, but you could write a wrapper for your check script that passes the check paramaters along and then strips the "\" from the output before passing it along to Nagios. The "\" doesn't seem like critical information so I don't think you'd really miss it. Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Wed Jun 13 20:57:31 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Wed, 13 Jun 2007 14:57:31 -0400 Subject: Problems Starting Nagios Message-ID: <46703E1B.3070305@intercable.com.ve> Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg files ready to get started but when i try to initialize the nagios process i get this error message: "*Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd'. as named pipe: (13) -> Permission denied. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file."* Any ideas? the nagios.cmd is supposed to be created automatically but that isn?t happening. Thanks in advance. Danilo Perdomo www.inter.com.ve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 21:08:41 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 13 Jun 2007 21:08:41 +0200 Subject: R: sensor temperature In-Reply-To: <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net><466FD43D.4030308@its-lehmann.de> <200706131333.29980.misch@multinet.de> <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> Message-ID: <467040B9.8040501@its-lehmann.de> Hello, On 6/13/2007 2:06 PM, Marco Borsani wrote: > I'd like to use temp sensor on the motherboard of our Dell Poweredge > servers, >> On 6/12/2007 10:19 AM, Marco Borsani wrote: >>> Hi all. >>> >>> >>> >>> I am looking for a sensor to monitoring the temperature in our server >>> farms. I hope you are aware that the temperature inside your servers does not necessarily correlate with your data center environmental conditions... While I like to monitor Server temperature, harddisk temperature, etc., I think that keeping an eye on the conditions in the room is quite a good idea... Noticing your air condition to be ineffective before your machines overheat can save you lots of work, repairing, replacing or restarting your servers :-) Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 21:16:44 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 13 Jun 2007 21:16:44 +0200 Subject: Problems Starting Nagios In-Reply-To: <46703E1B.3070305@intercable.com.ve> References: <46703E1B.3070305@intercable.com.ve> Message-ID: <4670429C.2070208@its-lehmann.de> Hi, On 6/13/2007 8:57 PM, Danilo Perdomo wrote: > Hi All!. Im having problems configuring Nagios 2.7, i have all the > .cfg files ready to get started but when i try to > initialize the nagios process i get this error message: "*Error: Could > not create external command file '/usr/local/nagios/var/rw/nagios.cmd'. > as named pipe: (13) -> Permission denied. If this file already exists > and you are sure that another copy of Nagios is not running, you should > delete this file."* > Any ideas? the nagios.cmd is supposed to be created automatically but > that isn?t happening. Well, the simplest thing to do would be to make sure the command file can be created by Nagios :-) This is usually a question of permissions: The Nagios user needs permission to write to the directory where the command file will be created. A simple chmod ... might be enough for you. More information can be found in the fine manual, by the way. Also, depending on how you installed Nagios, there might be a make target to set up these permissions - the make output informs you of the possible operations, usually. Arno > Thanks in advance. > > Danilo Perdomo > www.inter.com.ve > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Klaus.Bonaparte at GlobalCrossing.com Wed Jun 13 21:18:03 2007 From: Klaus.Bonaparte at GlobalCrossing.com (Bonaparte, Klaus) Date: Wed, 13 Jun 2007 15:18:03 -0400 Subject: Debugging Nagios? In-Reply-To: <1181752829.1161.20.camel@soundwave.pgh.priv.collaborativefusion.com> References: <304BF6AEA3DA71488B9EC776A03D6FFB068C707A@EVS3.ams.gblxint.com> <1181752829.1161.20.camel@soundwave.pgh.priv.collaborativefusion.com> Message-ID: <304BF6AEA3DA71488B9EC776A03D6FFB0694F97F@EVS3.ams.gblxint.com> nagios.log and syslog were of no value, but I was able to build with debug (./configure --enable-DEBUGALL) and see where Nagios is forcing all checks to occur at midnight tomorrow. I've seen several posts on this with questions, but no answers. Does anyone know how to fix the scheduling in Nagios so it does not schedule all checks at midnight every day? output below is from running 'bin/nagios -s etc/nagios.cfg' with debug on. Notice that all checks are scheduled for midnight tomorrow. Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 ... Host 'snazphoe04' should not be scheduled Host 'sncaanah01' should not be scheduled Host 'sncaanah02' should not be scheduled Host 'sncaanah03' should not be scheduled Host 'sncasacr01' should not be scheduled Host 'sncasacr02' should not be scheduled ... Total scheduled service checks: 502 Service check interval total: 928800 Average service check interval: 1850.20 sec Service inter-check delay: 3.59 sec Total scheduled service checks: 502 Total hosts: 61 Service Interleave factor: 9 Total scheduled services: 502 Service Interleave factor: 9 Total service interleave blocks: 56 Service inter-check delay: 3.6 -----Original Message----- From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] Sent: Wednesday, June 13, 2007 9:40 AM To: Bonaparte, Klaus Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Debugging Nagios? What a great question! Well there's nagios.log in /var/spool/nagios, use_syslog=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_checks=1 log_notifications=1 log_service_retries=1 But getting debug out the schedule probably requires a debug build of the binary. ~~BAS PS It could be worse, you could be trying to debug a plugin/module. On Tue, 2007-06-12 at 18:57 -0400, Bonaparte, Klaus wrote: > ou debug Nagios to determine why it is no longer running any checks? > > I see checks scheduled in the queue, but then time passes and they get > removed from the top of the queue as if they were run but their status > never changes, nothing is logged in nagios.log or syslogs, and once in > a while you can see nagios processes running? > > > > Any help? Debug flags or common things to look for? > -- Brian A. Seklecki Collaborative Fusion, Inc. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Jun 13 21:19:32 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 13 Jun 2007 20:19:32 +0100 Subject: R: sensor temperature In-Reply-To: <467040B9.8040501@its-lehmann.de> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net> <466FD43D.4030308@its-lehmann.de> <200706131333.29980.misch@multinet.de> <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> <467040B9.8040501@its-lehmann.de> Message-ID: <765d77c80706131219u2e9bc6eq6f3519d99a16ade3@mail.gmail.com> I haven't tried these myself yet. http://www.audon.co.uk/1wire_humidity.html They look promising though. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 13 21:20:10 2007 From: marc at ena.com (Marc Powell) Date: Wed, 13 Jun 2007 14:20:10 -0500 Subject: Problems Starting Nagios In-Reply-To: <46703E1B.3070305@intercable.com.ve> References: <46703E1B.3070305@intercable.com.ve> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo > Sent: Wednesday, June 13, 2007 1:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems Starting Nagios > > Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg > files ready to get started but when i try to > initialize the nagios process i get this error message: "Error: Could not > create external command file '/usr/local/nagios/var/rw/nagios.cmd'. > as named pipe: (13) -> Permission denied. If this file already exists and > you are sure that another copy of Nagios is not running, you should > delete this file." > Any ideas? the nagios.cmd is supposed to be created automatically but that > isn?t happening. The error indicates that the user you've configured nagios to run as, usually nagios, does not have permission to write to the directory you've configured to hold the external command file (/usr/local/nagios/var/rw/). You'll need to -- - verify the directory you've specified exists and is owned by the nagios user - the nagios user can create files within that directory - if the file exists and isn't owned by the nagios user, stop nagios, remove it, restart nagios. - if the file exists and nagios isn't running, remove it then restart nagios -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Wed Jun 13 21:36:02 2007 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 13 Jun 2007 15:36:02 -0400 Subject: Notifications by email Message-ID: <2FAF78EDA2D2DF4EB656ABB3339FD105527231@mtlexchange.Duocom.local> Hello, I am trying to get the notifications by email working and I am having a problem. I see the emails going to the root account but it does not send to our email server any ideas? Do I need to configure something additional to Linux to allow or know where to send the emails to our email server? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 13 21:35:55 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 13 Jun 2007 21:35:55 +0200 Subject: R: sensor temperature In-Reply-To: <467043EF.1060805@intercable.com.ve> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net><466FD43D.4030308@its-lehmann.de> <200706131333.29980.misch@multinet.de> <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> <467040B9.8040501@its-lehmann.de> <467043EF.1060805@intercable.com.ve> Message-ID: <4670471B.4090304@its-lehmann.de> Hi Danilo, I suppose this was meant for the list... Arno On 6/13/2007 9:22 PM, Danilo Perdomo wrote: > Hi, check this out. > http://www.nagios.org/products/environmental/esensors/em01b.php > http://support.ipmonitor.com/tutorials/cd4c08ebc42b43a69b837b58e0f73cbb.aspx > > > > Arno Lehmann escribi?: >> Hello, >> >> >> On 6/13/2007 2:06 PM, Marco Borsani wrote: >> >>> I'd like to use temp sensor on the motherboard of our Dell Poweredge >>> servers, >>> >> >> On 6/12/2007 10:19 AM, Marco Borsani wrote: >> >>> Hi all. >> >>> >> >>> >> >>> >> >>> I am looking for a sensor to monitoring the temperature in our server >> >>> farms. >> >> I hope you are aware that the temperature inside your servers does not >> necessarily correlate with your data center environmental conditions... >> While I like to monitor Server temperature, harddisk temperature, etc., >> >> I think that keeping an eye on the conditions in the room is quite a >> good idea... Noticing your air condition to be ineffective before your >> machines overheat can save you lots of work, repairing, replacing or >> restarting your servers :-) >> >> Arno >> >> -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Wed Jun 13 21:39:11 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Wed, 13 Jun 2007 15:39:11 -0400 Subject: R: sensor temperature In-Reply-To: <4670471B.4090304@its-lehmann.de> References: <004d01c7acca$6a2a8050$0900d40a@intranet.it.net><466FD43D.4030308@its-lehmann.de> <200706131333.29980.misch@multinet.de> <010501c7adb3$54bde1f0$0900d40a@intranet.it.net> <467040B9.8040501@its-lehmann.de> <467043EF.1060805@intercable.com.ve> <4670471B.4090304@its-lehmann.de> Message-ID: <467047DF.7060407@intercable.com.ve> Hi, check this out. http://www.nagios.org/products/environmental/esensors/em01b.php http://support.ipmonitor.com/tutorials/cd4c08ebc42b43a69b837b58e0f73cbb.aspx >> >>> >>> >>>> I'd like to use temp sensor on the motherboard of our Dell Poweredge >>>> servers, >>>> >>> >> On 6/12/2007 10:19 AM, Marco Borsani wrote: >>> >>> Hi all. >>> >>> >>> >>> >>> >>> >>> >>> I am looking for a sensor to monitoring the temperature in our >>> server >>> >>> farms. >>> >>> I hope you are aware that the temperature inside your servers does >>> not necessarily correlate with your data center environmental >>> conditions... While I like to monitor Server temperature, harddisk >>> temperature, etc., >>> >>> I think that keeping an eye on the conditions in the room is quite a >>> good idea... Noticing your air condition to be ineffective before >>> your machines overheat can save you lots of work, repairing, >>> replacing or restarting your servers :-) >>> >>> Arno >>> >>> > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Klaus.Bonaparte at GlobalCrossing.com Wed Jun 13 21:48:15 2007 From: Klaus.Bonaparte at GlobalCrossing.com (Bonaparte, Klaus) Date: Wed, 13 Jun 2007 15:48:15 -0400 Subject: Debugging Nagios? In-Reply-To: <304BF6AEA3DA71488B9EC776A03D6FFB0694F97F@EVS3.ams.gblxint.com> References: <304BF6AEA3DA71488B9EC776A03D6FFB068C707A@EVS3.ams.gblxint.com><1181752829.1161.20.camel@soundwave.pgh.priv.collaborativefusion.com> <304BF6AEA3DA71488B9EC776A03D6FFB0694F97F@EVS3.ams.gblxint.com> Message-ID: <304BF6AEA3DA71488B9EC776A03D6FFB0694F9D6@EVS3.ams.gblxint.com> EUREEKA!!! Thanks to some other users for pointing this out and helping me resolve... Somehow when I converted config files from Nagios 1.x to 2.9, my timeperiods.cfg was messed up and had the 24x7 entry going from 0:00-0:00 everyday, when it should have been 0:00-24:00 everyday. This caused all my checks to be scheduled at midnight everyday. Thanks for all the help with debugging flags and config files. Klaus -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Bonaparte, Klaus Sent: Wednesday, June 13, 2007 12:18 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Debugging Nagios? nagios.log and syslog were of no value, but I was able to build with debug (./configure --enable-DEBUGALL) and see where Nagios is forcing all checks to occur at midnight tomorrow. I've seen several posts on this with questions, but no answers. Does anyone know how to fix the scheduling in Nagios so it does not schedule all checks at midnight every day? output below is from running 'bin/nagios -s etc/nagios.cfg' with debug on. Notice that all checks are scheduled for midnight tomorrow. Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 --> Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 --> Thu Jun 14 00:00:00 2007 ... Host 'snazphoe04' should not be scheduled Host 'sncaanah01' should not be scheduled Host 'sncaanah02' should not be scheduled Host 'sncaanah03' should not be scheduled Host 'sncasacr01' should not be scheduled Host 'sncasacr02' should not be scheduled ... Total scheduled service checks: 502 Service check interval total: 928800 Average service check interval: 1850.20 sec Service inter-check delay: 3.59 sec Total scheduled service checks: 502 Total hosts: 61 Service Interleave factor: 9 Total scheduled services: 502 Service Interleave factor: 9 Total service interleave blocks: 56 Service inter-check delay: 3.6 -----Original Message----- From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] Sent: Wednesday, June 13, 2007 9:40 AM To: Bonaparte, Klaus Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Debugging Nagios? What a great question! Well there's nagios.log in /var/spool/nagios, use_syslog=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_checks=1 log_notifications=1 log_service_retries=1 But getting debug out the schedule probably requires a debug build of the binary. ~~BAS PS It could be worse, you could be trying to debug a plugin/module. On Tue, 2007-06-12 at 18:57 -0400, Bonaparte, Klaus wrote: > ou debug Nagios to determine why it is no longer running any checks? > > I see checks scheduled in the queue, but then time passes and they get > removed from the top of the queue as if they were run but their status > never changes, nothing is logged in nagios.log or syslogs, and once in > a while you can see nagios processes running? > > > > Any help? Debug flags or common things to look for? > -- Brian A. Seklecki Collaborative Fusion, Inc. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coolpixgnu at gmail.com Wed Jun 13 22:18:43 2007 From: coolpixgnu at gmail.com (andres sarmiento) Date: Wed, 13 Jun 2007 16:18:43 -0400 Subject: problem nagios snmp with windows machines Message-ID: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com> i don't speak so good english. but i'm doing my tesis aboput nagios. The sistem has been configured fine, but i had problem with Snmp-service i want that somebody helpme to set the nagios-snmp monittoring windows machines. sombody had a how`to to do that. Thanks much, for the answers. Saludos ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Jun 13 22:33:40 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Wed, 13 Jun 2007 16:33:40 -0400 Subject: problem nagios snmp with windows machines In-Reply-To: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com> References: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com> Message-ID: <467054A4.4020803@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 andres sarmiento wrote: > i don't speak so good english. but i'm doing my tesis aboput nagios. > The sistem has been configured fine, but i had problem with > Snmp-service > i want that somebody helpme to set the nagios-snmp monittoring windows > machines. sombody had a how`to to do that. Can you mention what you want to monitor on Windows? Then our help can be a little more specific. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGcFSkHoeeepPau2ERApWrAKCaJLuF4zWfxTEc2uCUgoAByN1qWgCeINcJ 2rHGF4icMswVW+ezT5kNGz8= =/lgh -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Wed Jun 13 22:40:58 2007 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 13 Jun 2007 16:40:58 -0400 Subject: Notifications by email In-Reply-To: References: Message-ID: <2FAF78EDA2D2DF4EB656ABB3339FD1055272F9@mtlexchange.Duocom.local> I've changed it. I will find a way to check and see if it works. Thanks From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, June 13, 2007 3:37 PM To: Antonio Pereira; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notifications by email You may need to supply the /usr/bin/mail (or preferred mail program) directive to the notify-by-email command definition. That is what I had to do to get my notifications going The part I added is in red: Define command{ Command_name notify-host-by-email Command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com ________________________________ From: Antonio Pereira [mailto:apereira at duocom.ca] Sent: Wednesday, June 13, 2007 3:36 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notifications by email Hello, I am trying to get the notifications by email working and I am having a problem. I see the emails going to the root account but it does not send to our email server any ideas? Do I need to configure something additional to Linux to allow or know where to send the emails to our email server? Thanks ________________________________ Avis Le present message n'est destine qu'a la personne ou a l'entite a qui il est adresse et peut contenir des renseignements de nature privilegiee et confidentielle. Si le lecteur du present message n'est pas le destinataire prevu ou encore la personne chargee de remettre ce message au destinataire prevu, veuillez nous aviser immediatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite. ________________________________________ Notice This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Wed Jun 13 22:59:05 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Wed, 13 Jun 2007 16:59:05 -0400 Subject: Problems Starting Nagios In-Reply-To: References: Message-ID: <46705A99.4020606@intercable.com.ve> I'm still getting an error, even though i have the permissions: *drwxrwxrwx 4 nagios nagios 4096 2007-06-13 16:17 . drwxr-xr-x 11 nagios nagios 4096 2007-05-10 11:26 .. drwxrwxr-x 2 nagios nagios 4096 2007-05-10 11:24 archives -rw-rw-r-- 1 nagios nagios 238 2007-06-12 17:40 comments.dat -rw-rw-r-- 1 nagios nagios 239 2007-06-12 17:40 downtime.dat -rw-r--r-- 1 nagios nagios 0 2007-06-13 16:17 nagios.lock -rwxrwxrwx 1 nagios nagios 14268 2007-06-13 16:56 nagios.log -rwxrwxrwx 1 nagios nagios 118664 2007-06-13 16:56 objects.cache -rw------- 1 nagios nagios 162982 2007-06-13 16:17 retention.dat drwxrwsr-x 2 nagios nagios 4096 2007-06-13 12:08 rw root at server:/var/log# /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg Nagios 2.7 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 01-19-2007 License: GPL Warning: Could not get passwd entry for 'nagiosadmin' Nagios 2.7 starting... (PID=13453) Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) -> Permission denied. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. Bailing out due to errors encountered while trying to initialize the external command file... (PID=13453) * Marc Powell escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo >> Sent: Wednesday, June 13, 2007 1:58 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Problems Starting Nagios >> >> Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg >> files ready to get started but when i try to >> initialize the nagios process i get this error message: "Error: Could not >> create external command file '/usr/local/nagios/var/rw/nagios.cmd'. >> as named pipe: (13) -> Permission denied. If this file already exists and >> you are sure that another copy of Nagios is not running, you should >> delete this file." >> Any ideas? the nagios.cmd is supposed to be created automatically but that >> isn?t happening. >> > > The error indicates that the user you've configured nagios to run as, usually nagios, does not have permission to write to the directory you've configured to hold the external command file (/usr/local/nagios/var/rw/). You'll need to -- > > - verify the directory you've specified exists and is owned by the nagios user > - the nagios user can create files within that directory > - if the file exists and isn't owned by the nagios user, stop nagios, remove it, restart nagios. > - if the file exists and nagios isn't running, remove it then restart nagios > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 13 23:22:29 2007 From: marc at ena.com (Marc Powell) Date: Wed, 13 Jun 2007 16:22:29 -0500 Subject: Problems Starting Nagios In-Reply-To: <46705A99.4020606@intercable.com.ve> References: <46705A99.4020606@intercable.com.ve> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo > Sent: Wednesday, June 13, 2007 3:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems Starting Nagios > > I'm still getting an error, even though i have the permissions: > > drwxrwxrwx 4 nagios nagios 4096 2007-06-13 16:17 . > drwxr-xr-x 11 nagios nagios 4096 2007-05-10 11:26 .. > drwxrwxr-x 2 nagios nagios 4096 2007-05-10 11:24 archives > -rw-rw-r-- 1 nagios nagios 238 2007-06-12 17:40 comments.dat > -rw-rw-r-- 1 nagios nagios 239 2007-06-12 17:40 downtime.dat > -rw-r--r-- 1 nagios nagios 0 2007-06-13 16:17 nagios.lock > -rwxrwxrwx 1 nagios nagios 14268 2007-06-13 16:56 nagios.log > -rwxrwxrwx 1 nagios nagios 118664 2007-06-13 16:56 objects.cache > -rw------- 1 nagios nagios 162982 2007-06-13 16:17 retention.dat > drwxrwsr-x 2 nagios nagios 4096 2007-06-13 12:08 rw > > root at server:/var/log# /usr/local/nagios/bin/nagios > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.7 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 01-19-2007 > License: GPL > > Warning: Could not get passwd entry for 'nagiosadmin' Where is this coming from? Did you change 'nagios_user' in nagios.cfg from the default of 'nagios'? That might explain why you don't have permissions. What are the contents of the 'rw' directory? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luis.cerezo at pgs.com Wed Jun 13 23:24:10 2007 From: luis.cerezo at pgs.com (Luis Cerezo) Date: Wed, 13 Jun 2007 16:24:10 -0500 Subject: Problems Starting Nagios In-Reply-To: References: Message-ID: <4670607A.1080800@pgs.com> are you sure your nagios process is run by nagios? why the setgid on rw? -luis Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo >> Sent: Wednesday, June 13, 2007 3:59 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Problems Starting Nagios >> >> I'm still getting an error, even though i have the permissions: >> >> drwxrwxrwx 4 nagios nagios 4096 2007-06-13 16:17 . >> drwxr-xr-x 11 nagios nagios 4096 2007-05-10 11:26 .. >> drwxrwxr-x 2 nagios nagios 4096 2007-05-10 11:24 archives >> -rw-rw-r-- 1 nagios nagios 238 2007-06-12 17:40 comments.dat >> -rw-rw-r-- 1 nagios nagios 239 2007-06-12 17:40 downtime.dat >> -rw-r--r-- 1 nagios nagios 0 2007-06-13 16:17 nagios.lock >> -rwxrwxrwx 1 nagios nagios 14268 2007-06-13 16:56 nagios.log >> -rwxrwxrwx 1 nagios nagios 118664 2007-06-13 16:56 objects.cache >> -rw------- 1 nagios nagios 162982 2007-06-13 16:17 retention.dat >> drwxrwsr-x 2 nagios nagios 4096 2007-06-13 12:08 rw >> >> root at server:/var/log# /usr/local/nagios/bin/nagios >> /usr/local/nagios/etc/nagios.cfg >> >> Nagios 2.7 >> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) >> Last Modified: 01-19-2007 >> License: GPL >> >> Warning: Could not get passwd entry for 'nagiosadmin' >> > > Where is this coming from? Did you change 'nagios_user' in nagios.cfg > from the default of 'nagios'? That might explain why you don't have > permissions. What are the contents of the 'rw' directory? > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Luis E. Cerezo PGS Global Shared Services - IT 281.509.8397 *********** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jun 14 04:35:56 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 13 Jun 2007 22:35:56 -0400 Subject: Problems Starting Nagios In-Reply-To: <46705A99.4020606@intercable.com.ve> References: <46705A99.4020606@intercable.com.ve> Message-ID: > I'm still getting an error, even though i have the permissions: > > drwxrwxrwx 4 nagios nagios 4096 2007-06-13 16:17 . > drwxr-xr-x 11 nagios nagios 4096 2007-05-10 11:26 .. > drwxrwxr-x 2 nagios nagios 4096 2007-05-10 11:24 archives > -rw-rw-r-- 1 nagios nagios 238 2007-06-12 17:40 comments.dat > -rw-rw-r-- 1 nagios nagios 239 2007-06-12 17:40 downtime.dat > -rw-r--r-- 1 nagios nagios 0 2007-06-13 16:17 nagios.lock > -rwxrwxrwx 1 nagios nagios 14268 2007-06-13 16:56 > nagios.log -rwxrwxrwx 1 nagios nagios 118664 2007-06-13 > 16:56 objects.cache > -rw------- 1 nagios nagios 162982 2007-06-13 16:17 retention.dat > drwxrwsr-x 2 nagios nagios 4096 2007-06-13 12:08 rw > > root at server:/var/log# /usr/local/nagios/bin/nagios > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.7 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 01-19-2007 > License: GPL > > Warning: Could not get passwd entry for 'nagiosadmin' > Nagios 2.7 starting... (PID=13453) > Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) -> > Permission denied. If this file already exists and you are > sure that another copy of Nagios is not running, you should > delete this file. > Bailing out due to errors encountered while trying to > initialize the external command file... (PID=13453) It looks like you may have nagios running as "nagiosadmin", but all the files are owned by "nagios". The rw directory is not writeable by the "nagiosadmin" user unless it happens to be a member of the "nagios" group. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jun 14 04:37:39 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 13 Jun 2007 22:37:39 -0400 Subject: Notifications by email In-Reply-To: <2FAF78EDA2D2DF4EB656ABB3339FD105527231@mtlexchange.Duocom.local> References: <2FAF78EDA2D2DF4EB656ABB3339FD105527231@mtlexchange.Duocom.local> Message-ID: > I am trying to get the notifications by email working and I > am having a problem. > > I see the emails going to the root account but it does not > send to our email server any ideas? Do I need to configure > something additional to Linux to allow or know where to send > the emails to our email server? What's in your mail logs? You may not have your MTA properly configured to relay where it needs to. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Jun 14 04:40:54 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 13 Jun 2007 22:40:54 -0400 Subject: problems passing check_log into check_nrpe In-Reply-To: <2b7af7c40706111246l38248d83wb7a62987e14613e4@mail.gmail.com> References: <2b7af7c40706111246l38248d83wb7a62987e14613e4@mail.gmail.com> Message-ID: > Not sure what I'm doing wrong, but this command isn't > working. Perhaps I'm passing in the parameter wrong? > > [root at NagiosServer plugins]# ./check_nrpe -H 192.168.1.156 -c > check_log -F /opt/program/jboss/server/default/log/server.log > \ -O /opt/program/jboss/server/default/log/serverPrev.log -q "error" > > I'm running this from my Nagios console station. NRPE is > properly installed on the remote station (I tested it by > passing the check_disk to the server running the NRPE > client), and I'm wondering if there is some other stupid > thing I missed? Is nrpe configured to allow parameters to be passed? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kerry.Milestone at CacheLogic.com Thu Jun 14 12:27:10 2007 From: Kerry.Milestone at CacheLogic.com (Kerry Milestone) Date: Thu, 14 Jun 2007 11:27:10 +0100 Subject: VPN Monitoring In-Reply-To: <200706131322.54214.misch@multinet.de> References: <466F56B3.6000400@onetruemedia.com> <466FB2B1.4000708@CacheLogic.com> <200706131322.54214.misch@multinet.de> Message-ID: <467117FE.2070901@CacheLogic.com> Hello Michael, this I think are what I was after. When doing a snmpwalk, these oids are failing as not being present. infact, the entire enterprise mib is failing which suggests that I shall be looking closer at the firewall's config & setup as to why. i have a check BGP script running which checks for advertise neighbours and fails should they no longer appear, ie the check script is given known ip addresses and is kind of what I am wanting to do. I guess even knowing the number of normal active tunnels, and alerting should this number change would be a close enough equivalent. After perusing the CheckPoint documentation, it would seem that I can utilise the cpvTnlMonTable as within this, it has cpvTnlMonStatus - The status of the peer. Regards, Kerry. Michael Schwartzkopff wrote: > Am Mittwoch, 13. Juni 2007 11:02 schrieb Kerry Milestone: > >> are looking at the VPN status. basic at this stage, but whether it is >> up or not. >> > > Hi, > > What exactly do you want to monitor? You could use: > > Monitoring (nagios): > cpvCurrEspSAsIn: "IPsec current Inbound ESP SAs" > cpvCurrEspSAsOut: "IPsec current Outbound ESP SAs" > > Reporting (MRTG): > cpvIpsecEspEncBytes: "IPsec ESP encrypted bytes" > cpvIpsecEspDecBytes: "IPsec ESP decrypted bytes" > > You also could monitor tunnels with specific partners via cpvTnlMon. > > Or do you want to monitor if vpn deamon is running? > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coolpixgnu at gmail.com Thu Jun 14 14:46:20 2007 From: coolpixgnu at gmail.com (andres sarmiento) Date: Thu, 14 Jun 2007 08:46:20 -0400 Subject: problem nagios snmp with windows machines In-Reply-To: <467054A4.4020803@verizon.net> References: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com> <467054A4.4020803@verizon.net> Message-ID: <78f032e90706140546u37f1b1ffle57c9a43b422f784@mail.gmail.com> 2007/6/13, Max Hetrick : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > andres sarmiento wrote: > > i don't speak so good english. but i'm doing my tesis aboput nagios. > > The sistem has been configured fine, but i had problem with > > Snmp-service > > i want that somebody helpme to set the nagios-snmp monittoring windows > > machines. sombody had a how`to to do that. > > Can you mention what you want to monitor on Windows? Then our help can > be a little more specific. > > Regards, > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFGcFSkHoeeepPau2ERApWrAKCaJLuF4zWfxTEc2uCUgoAByN1qWgCeINcJ > 2rHGF4icMswVW+ezT5kNGz8= > =/lgh > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ok, look, i had problem settings the snmp-services. i want to check way snmp the windows machines but i don't know how implement it. I had read very documentation from internet but also i can't implement it. Can you helpme way how-to, how to implement monitoring with nagios way snmp to windows machines step-by-step ????. Thanks again Saludos ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Thu Jun 14 15:24:58 2007 From: apereira at duocom.ca (Antonio Pereira) Date: Thu, 14 Jun 2007 09:24:58 -0400 Subject: Notifications by email In-Reply-To: References: <2FAF78EDA2D2DF4EB656ABB3339FD105527231@mtlexchange.Duocom.local> Message-ID: <2FAF78EDA2D2DF4EB656ABB3339FD10552747C@mtlexchange.Duocom.local> Yes you are right. I am getting a remote mta connection failed. How do I fix this. Thanks -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, June 13, 2007 10:38 PM To: Antonio Pereira; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notifications by email > I am trying to get the notifications by email working and I > am having a problem. > > I see the emails going to the root account but it does not > send to our email server any ideas? Do I need to configure > something additional to Linux to allow or know where to send > the emails to our email server? What's in your mail logs? You may not have your MTA properly configured to relay where it needs to. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Jun 14 15:46:01 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 14 Jun 2007 09:46:01 -0400 Subject: problem nagios snmp with windows machines In-Reply-To: <78f032e90706140546u37f1b1ffle57c9a43b422f784@mail.gmail.com> References: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com> <467054A4.4020803@verizon.net> <78f032e90706140546u37f1b1ffle57c9a43b422f784@mail.gmail.com> Message-ID: <46714699.7090502@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 andres sarmiento wrote: > Ok, look, i had problem settings the snmp-services. i want to check > way snmp the windows machines but i don't know how implement it. I had > read very documentation from internet but also i can't implement it. > Can you helpme way how-to, how to implement monitoring with nagios way > snmp to windows machines step-by-step ????. Well, to start, you have to make sure SNMP is installed on the Windows clients. If you don't already have that part done, you do can add the following through Add/Remove Windows Components in the Control Panel. Management and Monitoring Tools -> SNMP If you want to change the community string from public to something else, and you want to change any settings go into Services and choose properties on SNMP Service on the Windows hosts. That said, you're going to have to read up a bit on some things. I don't know where there is a step-by-step guide for this, but it's not that hard to do. By making sure you installed SNMP on the clients, and then by using these plugins, you should be able to work your way through things. This implies you understand how Nagios works first. http://nagios.manubulon.com/ http://nagios.manubulon.com/snmp_windows.html Once you get them downloaded and installed, make sure you can get one of the plugins to execute from your libexec path. For example: # /usr/lib/nagios/plugins check_snmp_load.pl -H HOST -C COMMSTRING -w 90 - -c 100 -T stand 4 CPU, average load 0.5% < 90% : OK If that works from the command line, you can go ahead and start working on configuring Nagios. If it doesn't work, then you need to check and make sure the scripts are executable, and owned by whomever is running them, etc. Create the service: # SNMP 'Doze CPU Load define service{ use basic-service name snmp-doze-cpu notification_interval 0 contact_groups itdepartment notification_options c,r notification_period 24x7 service_description CPU Load check_command snmp_doze_cpu!90!100 host_name windowsclient1,windowsclient2 } Create the new check command: # 'snmp_doze_cpu' Windoze CPU load check define command{ command_name snmp_doze_cpu command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C COMMSTRING -w $ARG1$ -c $ARG2$ } Verify Nagios likes it. # nagios -v nagios.cfg Fix any errors it complains about. Follow this method for all the other SNMP checks you want to use across these plugins from Manubulon. Again, this implies you understand Nagios. If you don't, then I suggest you take some time to try to read the docs about how the basics of Nagios work. This isn't any different than creating a regular service check, or a host check. It's just doing it across the SNMP protocol. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGcUaZHoeeepPau2ERAkKqAKCFxgf0CoDDnKmCLcMdLu43BLk8EwCfYiqJ /lq8hk+mf6RtgBihIMBbBf0= =ApjI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Vitaly.Karasik at Kayote.com Thu Jun 14 16:02:18 2007 From: Vitaly.Karasik at Kayote.com (Vitaly Karasik) Date: Thu, 14 Jun 2007 17:02:18 +0300 Subject: Is it possible to set service_check_timeout parameter per service? Message-ID: <1DDB0D3CC4E7F14FAE946361C0A6065503170C51@isr-jlm-mail.Kayote.com> One of my nagios services runs ~ one hours, so I have to set service_check_timeout to one hour in the nagios.cfg. But for other services I'd like to leave timeout = 60 seconds. How I can do it? thanks Vitaly -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Thu Jun 14 16:14:03 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Thu, 14 Jun 2007 09:14:03 -0500 (CDT) Subject: recommend a SMS pager/PDA/smartphone? recommend phone network? what wiki? Message-ID: Have recent recommendations for choosing a SMS pager/PDA/smartphone and/or phone network been covered on this list or maybe a Nagios forum? I am sure some (many?) of you have alerts sent via SMS or email to your phone device and that you expect to have a reliable network. It would be great if we could discuss experiences. What is good, bad, and what is desired. For past 14 months, I have used a Sidekick II from T-Mobile. It has been overall reliable. I have Internet access with AOL Instant Messenger, Email with multiple accounts, simple web browser, phone messages, and I have add-on for a SSH/telnet client. I have used it to receive over 5000 SMS phone messages and over 6000 emails (most sent by nagios). I have used the Sidekick a lot in the Seattle, Washington and Fort Worth, Texas USA areas. Plus some through out Washington state, Idaho, Utah, Arizona, New Mexico, Texas, Oklahoma, Kansas, Missouri, little in Iowa, Illinois, little in Tennessee, and little in Arkansas. It has worked fine except in some places in south/middle and northwest TX, southern UT, north NM, and north AZ. A couple weeks ago, manually checking email stopped working and numerous attempts to work with T-Mobile have failed to help (emails still work outbound and inbound on T-Mobiles own schedule). I like the sidekick's convenient keyboard. Also lately, SMS phone messages have been delayed a lot and in some cases they are never received. The sidekick service is very inexpensive. The sidekick has a very long battery life. I want to try a replacement. I need a good keyboard. I need email, SMS, and SSH client. I need its network to be available when I travel. Having X11 or VNC or remote desktop support would be great (I don't think that is possible with sidekick since it doesn't have any pointer.) What portable device do you all use to receive your nagios messages? I think a wiki page would be great to discuss this too. What is difference between http://www.nagiosexchange.org/Wiki.3.0.html and http://www.nagioscommunity.org/wiki/index.php/Main_Page -- which Wiki to use? Some of my notes are here: Like the SideKick, I want a PDA that had long battery life (maybe 36 hours for me), has instant messenger, multiple email accounts, convenient size, web browser, good qwerty keyboard, SMS phone messages, and SSH client. It would be nice to also have 802.11b Wi-Fi (like iPAQ h6315) or USB but not required. I also use the camera but that is not important. The most important is to have reliable internet access throughout the United States and reliable SMS phone messages. (I rarely will use it as a real phone as I use a different cell phone for that.) SMS phone messages are becoming way to unreliable with my Sidekick (or maybe T-Mobile) so I need an alternative. I am trying to review several websites but I can't find a single webpage that lists features and shows pictures. Here are some links: Recent top 10 list http://www.pcworld.com/article/id,125397-page,1/article.html PDA / Cellphone Combinations by Wireless Provider http://palmtops.about.com/od/pdacellphonecombinations/a/Smartphones.htm Top 10 Cellphone / PDA Combinations http://palmtops.about.com/cs/productreviews/tp/top_phone_pda.htm Comparison table http://en.wikipedia.org/wiki/Smartphone Here is the beginning of my research: Audiovox Pocket PC I don't know if it has SSH. PPC-6600 and XV6600 keyboard looks too small but haven't tried yet BlackBerry 8700g $400 T-mobile EDGE network has instant messenger HTC TyTN Smartphone looks like SideKick a little ipaq with keyboard? http://en.wikipedia.org/wiki/Ipaq iphone? I don't think it has a keyboard. Motorola Q http://en.wikipedia.org/wiki/Motorola_Q $300 with 2 year contract (Verizon) hard to use keyboard five hours of talk time Nokia n73 or n95 Samsung SPH-i73 Samsung BlackJack or SGH-i607 SideKick 3 $300 with 2 year contract nine hours of talk time Sony Ericsson smartphone maybe p990 many features: http://en.wikipedia.org/wiki/Sony_Ericsson_P990#Reviews Treo 700p Palm $650 with 2 year contract Sprint network five hours battery life (too little) Xda IIs http://www.my-xda.com/ I also saw at Verizon store a device that looks like a Sidekick. But I don't know what it is. Jeremy C. Reed ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 14 16:20:50 2007 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jun 2007 09:20:50 -0500 Subject: Is it possible to set service_check_timeoutparameter per service? In-Reply-To: <1DDB0D3CC4E7F14FAE946361C0A6065503170C51@isr-jlm-mail.Kayote.com> References: <1DDB0D3CC4E7F14FAE946361C0A6065503170C51@isr-jlm-mail.Kayote.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Vitaly Karasik > Sent: Thursday, June 14, 2007 9:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is it possible to set > service_check_timeoutparameter per service? > > One of my nagios services runs ~ one hours, so I have to set > service_check_timeout to one hour in the nagios.cfg. You should probably consider making this a passive check. > But for other services I'd like to leave timeout = 60 seconds. How I can > do it? Most standard plugins support a -t switch to specify a timeout. You'll need to modify all your commands to specify that switch for the plugins that support it. If the plugin doesn't honor the -t switch, ignores it, fails to timeout or fails to exit for whatever reason, it will continue to run until nagios aborts it at the 1 hour mark. This should be a rare case though as plugins should run and end themselves in a timely manner normally. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Thu Jun 14 16:30:44 2007 From: ingo.lists at vum.at (Ingo Lantschner) Date: Thu, 14 Jun 2007 16:30:44 +0200 Subject: How to set the sourceaddress for all checks? Message-ID: <9FF9AECF-DFB9-44D9-8BFC-39F14082D901@vum.at> Hi, if I am running Nagios on a host with more than one IP address on the same physical network (trough aliases like eth0:1): Can I set the IP-source-address used for running the network-related-checks in one point? If yes, where please :-) Thanks in advance, Ingo -- Ingo Lantschner Vienna/Austria Mob (+43-664) 143 84 18 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 14 16:43:02 2007 From: marc at ena.com (Marc Powell) Date: Thu, 14 Jun 2007 09:43:02 -0500 Subject: How to set the sourceaddress for all checks? In-Reply-To: <9FF9AECF-DFB9-44D9-8BFC-39F14082D901@vum.at> References: <9FF9AECF-DFB9-44D9-8BFC-39F14082D901@vum.at> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ingo Lantschner > Sent: Thursday, June 14, 2007 9:31 AM > To: nagios-users nagios-users > Subject: [Nagios-users] How to set the sourceaddress for all checks? > > Hi, > if I am running Nagios on a host with more than one IP address on > the same physical network (trough aliases like eth0:1): Can I set the > IP-source-address used for running the network-related-checks in one > point? If yes, where please :-) You cannot. Your OS's TCP stack determines what source IP to use; the base IP on the interface used to reach the destination network. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Jun 14 16:48:42 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 14 Jun 2007 15:48:42 +0100 Subject: How to set the sourceaddress for all checks? In-Reply-To: References: Message-ID: <4671554A.9050104@googlemail.com> Indeed this is down to the OS, but you can use the routing tables on the host to determine which interface is used to connect to what. -h Hari Sekhon Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Ingo Lantschner >> Sent: Thursday, June 14, 2007 9:31 AM >> To: nagios-users nagios-users >> Subject: [Nagios-users] How to set the sourceaddress for all checks? >> >> Hi, >> if I am running Nagios on a host with more than one IP address on >> the same physical network (trough aliases like eth0:1): Can I set the >> IP-source-address used for running the network-related-checks in one >> point? If yes, where please :-) >> > > You cannot. Your OS's TCP stack determines what source IP to use; the > base IP on the interface used to reach the destination network. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From navyeh at yahoo.com Thu Jun 14 23:16:50 2007 From: navyeh at yahoo.com (Eric Hernandez) Date: Thu, 14 Jun 2007 14:16:50 -0700 (PDT) Subject: Nagios Looking Glass Creating Templates Message-ID: <101175.90400.qm@web61118.mail.yahoo.com> Hi I have installed Nagios-Looking Glass it works. However I cannot figure out how to create a template that will only show selected hosts. Please Advise Thx, -Eric --------------------------------- Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Thu Jun 14 23:19:43 2007 From: palleje at gmail.com (Palle Jensen) Date: Thu, 14 Jun 2007 17:19:43 -0400 Subject: FW: NSClient++ on windows machine In-Reply-To: <466717B5.8030107@telcotec.se> References: <006801c7a869$30ad6190$bdac38a6@na.dsmain.com> <466717B5.8030107@telcotec.se> Message-ID: <002d01c7aec9$bbad3a20$bdac38a6@na.dsmain.com> Hej :=) Thanks Lars, still struggling in between, to get the ngraphs working for my Check_nt services. I tried what you said and i got the output data, but how to change it in the ngraph definition? That seems to be not all that easy. For example: check_nt -H ip.ad.dre.ss -v USEDDISKSPACE -l c -p 12489 -w 90 -c 95 Will give the output: c:\ - total: 3.95 Gb - used: 2.44 Gb (62%) - free 1.51 Gb (38%) | 'c:\ Used Space'=2.44Gb;3.55;3.75;0.00;3.95 If I understand it correct it's the code in "graph_perf_regex ([0-9]+)MB" that needs to match or read the output perf data from check_nt e.g | 'c:\ Used Space'=2.44Gb;3.55;3.75;0.00;3.95 define ngraph { graph_legend Used Space graph_perf_regex ([0-9]+)MB graph_value MBused hide yes rrd_color 00a000 rrd_plottype AREA service_name Filesystems } Another example is the Check_nt Memory used | 'Memory usage'=1367.25Mb;3588.48;4037.04;0.00;4485.60 Compared to output from Check_mem (native plugin) | /=2848MB;17278;17268;0;17358 /boot=16MB;18;8;0;98 /dev/shm=0MB;170;160;0;250 And the Ngraph definition for the native plugin looks like this: define ngraph { graph_legend Memory Used graph_perf_regex MemUsed=([0-9]+)% graph_value MemUsed hide yes rrd_color 00a000 rrd_plottype AREA service_name Memuse } What do you think, or are there anyone else that knows how to changes this so that I can get the perf data to be picked up by ngraph? Thanks, - Palle -----Original Message----- From: Lars Stavholm [mailto:stava at telcotec.se] Sent: Wednesday, June 06, 2007 4:23 PM To: Palle Jensen Cc: 'Nagios Users' Subject: Re: [Nagios-users] FW: NSClient++ on windows machine Palle Jensen wrote: > Hi to all, Hej:) > I have been trying to find out how you get the graphs for monitored > service on Windows/Nsclient++. > > It is working fine for the locahost (FC9) Memory, load, procs and users. > I added a windows machine with NSClient++, I added the service Ping to > both localhost and the windows machine, and the graphs are showing up > fine. But when I add Memory, procs, load service to the windows machine > no graphs shows. How come it works with ping for both localhost and > Windows machine? Even though I made sure that the service_description is > the same as for the localhost > > I am about to go insain, please help? I know this belongs under > NagiosGrapher mailinglist, and I posted there as well, but I got 0 > answers there, hoping that someone can help me here. I'll just assume that you remembered to restart/reload both NagiosGrapher and nagios when adding stuff in config. There might be a difference in the performance data handed back by NSClient as compared to the native check plugins. The check_load, for instance, can be run manually. Now run the check_load for the Windows boxes (whatever it's called) and compare the output, especially the output to the righ of the '|' character, i.e. the performance data delimiter. If they are not the same, they wont fit the same graph definition. Min you, I have no experience with NSClient at all, but still. Cheers /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msilver at prl.ab.ca Fri Jun 15 00:32:24 2007 From: msilver at prl.ab.ca (Michael Silver) Date: Thu, 14 Jun 2007 16:32:24 -0600 Subject: How to set the sourceaddress for all checks? In-Reply-To: References: <9FF9AECF-DFB9-44D9-8BFC-39F14082D901@vum.at> Message-ID: <011a01c7aed3$e1368e90$5c016c0a@hq.prl.ab.ca> nagios-users-bounces at lists.sourceforge.net wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users- bounces at lists.sourceforge.net] On Behalf Of >> Ingo Lantschner >> Sent: Thursday, June 14, 2007 9:31 AM >> To: nagios-users nagios-users >> Subject: [Nagios-users] How to set the sourceaddress for all checks? >> >> Hi, >> if I am running Nagios on a host with more than one IP address on >> the same physical network (trough aliases like eth0:1): Can I set the >> IP-source-address used for running the network-related-checks in one >> point? If yes, where please :-) > > You cannot. Your OS's TCP stack determines what source IP to use; the > base IP on the interface used to reach the destination network. Actually, some versions of ping do allow you to set the source address. The version in iputils package allows you to set the IP via -I
. I don't have a machine I can test the exact situation described, but I believe it will work as desired. Michael Michael Silver, Network Administrator Parkland Regional Library 5404 56 Avenue Lacombe, AB T4L 1G1 Phone: 403.782.3850 Fax: 403.782.4650 http://www.prl.ab.ca/ msilver at prl.ab.ca ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Jun 15 09:58:39 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 15 Jun 2007 09:58:39 +0200 Subject: FW: NSClient++ on windows machine In-Reply-To: <002d01c7aec9$bbad3a20$bdac38a6@na.dsmain.com> References: <006801c7a869$30ad6190$bdac38a6@na.dsmain.com> <466717B5.8030107@telcotec.se> <002d01c7aec9$bbad3a20$bdac38a6@na.dsmain.com> Message-ID: <467246AF.2020807@telcotec.se> Palle Jensen wrote: > Hej :=) > > Thanks Lars, still struggling in between, to get the ngraphs working for my > Check_nt services. > > I tried what you said and i got the output data, but how to change it in the > ngraph definition? That seems to be not all that easy. > > For example: > check_nt -H ip.ad.dre.ss -v USEDDISKSPACE -l c -p 12489 -w 90 -c 95 > > Will give the output: > c:\ - total: 3.95 Gb - used: 2.44 Gb (62%) - free 1.51 Gb (38%) | 'c:\ Used > Space'=2.44Gb;3.55;3.75;0.00;3.95 > > If I understand it correct it's the code in "graph_perf_regex ([0-9]+)MB" > that needs to match or read the output perf data from check_nt e.g | 'c:\ > Used Space'=2.44Gb;3.55;3.75;0.00;3.95 > > define ngraph { > graph_legend Used Space > graph_perf_regex ([0-9]+)MB graph_perf_regex ([0-9]+)Gb would match the above output's first column. > graph_value MBused > hide yes > rrd_color 00a000 > rrd_plottype AREA > service_name Filesystems > } > > > Another example is the Check_nt Memory used > | 'Memory usage'=1367.25Mb;3588.48;4037.04;0.00;4485.60 > > Compared to output from Check_mem (native plugin) > | /=2848MB;17278;17268;0;17358 /boot=16MB;18;8;0;98 > /dev/shm=0MB;170;160;0;250 > > And the Ngraph definition for the native plugin looks like this: > > define ngraph { > graph_legend Memory Used > graph_perf_regex MemUsed=([0-9]+)% There's a '%' character in the expected regular expression, but there's no '%' character in the above output, hence it doesn't match. > graph_value MemUsed > hide yes > rrd_color 00a000 > rrd_plottype AREA > service_name Memuse > } > > What do you think, or are there anyone else that knows how to changes this > so that I can get the perf data to be picked up by ngraph? I think you might need to read up on regular expression matching:) /Lars > -----Original Message----- > From: Lars Stavholm [mailto:stava at telcotec.se] > Sent: Wednesday, June 06, 2007 4:23 PM > To: Palle Jensen > Cc: 'Nagios Users' > Subject: Re: [Nagios-users] FW: NSClient++ on windows machine > > Palle Jensen wrote: >> Hi to all, > > Hej:) > >> I have been trying to find out how you get the graphs for monitored >> service on Windows/Nsclient++. >> >> It is working fine for the locahost (FC9) Memory, load, procs and users. >> I added a windows machine with NSClient++, I added the service Ping to >> both localhost and the windows machine, and the graphs are showing up >> fine. But when I add Memory, procs, load service to the windows machine >> no graphs shows. How come it works with ping for both localhost and >> Windows machine? Even though I made sure that the service_description is >> the same as for the localhost >> >> I am about to go insain, please help? I know this belongs under >> NagiosGrapher mailinglist, and I posted there as well, but I got 0 >> answers there, hoping that someone can help me here. > > I'll just assume that you remembered to restart/reload > both NagiosGrapher and nagios when adding stuff in config. > > There might be a difference in the performance data handed > back by NSClient as compared to the native check plugins. > > The check_load, for instance, can be run manually. Now run the > check_load for the Windows boxes (whatever it's called) and > compare the output, especially the output to the righ of the '|' > character, i.e. the performance data delimiter. If they are not > the same, they wont fit the same graph definition. > > Min you, I have no experience with NSClient at all, but still. > > Cheers > /Lars > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stucky101 at gmail.com Fri Jun 15 10:37:11 2007 From: stucky101 at gmail.com (stucky) Date: Fri, 15 Jun 2007 01:37:11 -0700 Subject: host-down notification can take 50 mins to be sent Message-ID: <30997e260706150137r3125f288reff2a84800dfc3b@mail.gmail.com> Guys I'm trying the latest stable 2.x version (2.9) and on top of the 2 already existing default host templates I added a 3rd one since the documentation states that there is no limit. I added a host and started monitoring. When I took it down it took between 2 - 5 mins for the host down notification to come in. However, later on I rebooted again and this time nothing came in. The nagios log showed nothing about wanting to send a notification either. The box came back without any notification. I took it down again later and waited - after 50 minutes I got a host down notification. When I brought the host back I almost immediately got a host up notification. I removed one of the the templates to change the recursion level of the host templates from 3 to 2 and tried again. I did 3 tests and all came back fine this time. I always got the notification within 5 minutes max. Then I added the 3rd template back again to see whether it had to do with that but now I can't reproduce this. I did 2 tests and both were fine. I don't feel that I can trust nagios now though. I've been using it for a few years now since version 1.2 and I've never seen this behaviour before. However, I've also never used more than 1 host/service template. This time I wanted to make more use of the object inheritance logic to shorten my cfg but somehow I feel it causes problems. How deep is the template recursion for most of you folks ? Here are the templates I was using when the 50 min delay happened Hosts : # Host templates define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 register 0 } define host{ name generic-linux use generic-host check_period 24x7 max_check_attempts 10 check_command check-host-alive notification_interval 120 notification_options d,u,r register 0 } define host{ name prod use generic-linux contact_groups sysadmins,psst register 0 } define host{ name nonprod use generic-linux contact_groups sysadmins register 0 } Then I use either the prod or nonprod template for all my hosts. same with services : # Service templates 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 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 register 0 } define service{ name generic-checks use generic-service check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notification_options w,u,c,r notification_interval 60 notification_period 24x7 register 0 } define service{ name prod use generic-checks contact_groups sysadmins,psst register 0 } define service{ name nonprod use generic-checks contact_groups sysadmins register 0 } Here I also use prod or nonprod as templates for my services. I'm gonna test the more tomorrrow but I'm worried that if a host goes down I might not get notified again until 50 mins later or maybe never who knows ? It doesn't seem to behave the same way every time but as far as I see it the service checks are every 5 minutes so within that time frame I should get a notification. Parallel checks is turned on as well. Has anyone seen similar delays ? -- stucky -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Fri Jun 15 12:18:28 2007 From: ingo.lists at vum.at (Ingo Lantschner) Date: Fri, 15 Jun 2007 12:18:28 +0200 Subject: How to set the sourceaddress for all checks? In-Reply-To: <011a01c7aed3$e1368e90$5c016c0a@hq.prl.ab.ca> References: <9FF9AECF-DFB9-44D9-8BFC-39F14082D901@vum.at> <011a01c7aed3$e1368e90$5c016c0a@hq.prl.ab.ca> Message-ID: <9F375D58-FBF3-4E5B-BB4F-FEFF37980B2B@vum.at> >> You cannot. Your OS's TCP stack determines what source IP to use; the >> base IP on the interface used to reach the destination network. Thanks to all your clarifications and suggestions - actually there were redundant routes on this host which resulted in unpredictable source-addresses when running the checks. Thanks again, Ingo. -- Ingo Lantschner Vienna/Austria Mob (+43-664) 143 84 18 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jun 15 12:25:07 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 15 Jun 2007 11:25:07 +0100 Subject: host-down notification can take 50 mins to be sent In-Reply-To: <30997e260706150137r3125f288reff2a84800dfc3b@mail.gmail.com> References: <30997e260706150137r3125f288reff2a84800dfc3b@mail.gmail.com> Message-ID: <765d77c80706150325q4a701c10i5186ee670075e8aa@mail.gmail.com> On 15/06/07, stucky wrote: > Guys > > I'm trying the latest stable 2.x version (2.9) and on top of the 2 already > existing default host templates I added a 3rd one since the documentation > states that there is no limit. > > I added a host and started monitoring. When I took it down it took between 2 > - 5 mins for the host down notification to come in. > However, later on I rebooted again and this time nothing came in. Nagios had probably decided the host was flapping. Specify notification_options d,u,f,r in your host definitions to make sure you get notification of flapping (or turn flap detection off). hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Fri Jun 15 10:26:26 2007 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Fri, 15 Jun 2007 10:26:26 +0200 Subject: Nagios inventory Message-ID: <46724D32.3030104@sertec-si.com> Hi! i'm looking for some kind of Nagios plugin that allows to do inventory from a Nagios installation... is it possible? Thanks in advance! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri Jun 15 13:27:49 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 15 Jun 2007 12:27:49 +0100 Subject: Cancel Downtime? In-Reply-To: <0F3C2DF5-2B67-4616-8685-F873FD352BB6@bsdboy.com> References: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> <0DF07F9E09E49040A9AAF1BB36EA723112B000F0@ehost011-5.exch011.intermedia.net> <0F3C2DF5-2B67-4616-8685-F873FD352BB6@bsdboy.com> Message-ID: <467277B5.9020006@aidananderson.co.uk> > > On Jun 7, 2007, at 11:18 PM, Anthony Mendoza wrote: > > >> Click "Downtime" and then the Trash can icon to the right of the >> service/host you want to cancel. >> >> >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net >>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >>> Of Wil Schultz >>> Sent: Thursday, June 07, 2007 11:11 PM >>> To: nagios-users >>> Subject: [Nagios-users] Cancel Downtime? >>> >>> IIRC, there used to be a "Cancel Downtime" link, am I blind or did >>> this go away? >>> >>> How do you cancel scheduled downtime? >>> >>> I need to cancel scheduled downtime on a host and took the advise of Anthony Mendoza in this thread. Clicking on the "Trash can" icon certainly removes the Nagios generated comment but the period of scheduled downtime remains. Any ideas anyone? regards, Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri Jun 15 13:33:28 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 15 Jun 2007 12:33:28 +0100 Subject: Cancel Downtime? In-Reply-To: <467277B5.9020006@aidananderson.co.uk> References: <12A0BC94-A6C7-4C92-BD07-A8A98B225242@bsdboy.com> <0DF07F9E09E49040A9AAF1BB36EA723112B000F0@ehost011-5.exch011.intermedia.net> <0F3C2DF5-2B67-4616-8685-F873FD352BB6@bsdboy.com> <467277B5.9020006@aidananderson.co.uk> Message-ID: <46727908.8080200@aidananderson.co.uk> Aidan Anderson wrote: >> On Jun 7, 2007, at 11:18 PM, Anthony Mendoza wrote: >> >> >> >>> Click "Downtime" and then the Trash can icon to the right of the >>> service/host you want to cancel. >>> >>> >>> >>>> -----Original Message----- >>>> From: nagios-users-bounces at lists.sourceforge.net >>>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >>>> Of Wil Schultz >>>> Sent: Thursday, June 07, 2007 11:11 PM >>>> To: nagios-users >>>> Subject: [Nagios-users] Cancel Downtime? >>>> >>>> IIRC, there used to be a "Cancel Downtime" link, am I blind or did >>>> this go away? >>>> >>>> How do you cancel scheduled downtime? >>>> >>>> >>>> > > I need to cancel scheduled downtime on a host and took the advise of > Anthony Mendoza in this thread. Clicking on the "Trash can" icon > certainly removes the Nagios generated comment but the period of > scheduled downtime remains. Any ideas anyone? > > regards, > Aidan > > > Ignore last e-mail, I found it. You do it from the downtime link on the sidebar. :) cheers, Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coolpixgnu at gmail.com Fri Jun 15 15:14:54 2007 From: coolpixgnu at gmail.com (andres sarmiento) Date: Fri, 15 Jun 2007 09:14:54 -0400 Subject: problem nagios snmp with windows machines In-Reply-To: <46714699.7090502@verizon.net> References: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com> <467054A4.4020803@verizon.net> <78f032e90706140546u37f1b1ffle57c9a43b422f784@mail.gmail.com> <46714699.7090502@verizon.net> Message-ID: <78f032e90706150614g48a46df5p95af82f26e9d3e0f@mail.gmail.com> Thanks Max for the how-to, i read it and is very easy, and works for me. How i can set all the snmp command with the correct syntax. For example: debian:/usr/lib/nagios/plugins# ./check_snmp_load.pl -H 192.168.137.1 -C publica -w 90 --c 100 -T stand 1 CPU, load 6.0% < 90% : OK and that works fine. but when do that: debian:/usr/lib/nagios/plugins# ./check_snmp_int.pl -H 192.168.137.1 -C publica -w 90 --c 100 -T stand Unknown option: T Usage: ./check_snmp_int.pl [-v] -H -C [-2] | (-l login -x passwd [-X pass -L ,) [-p ] -n [-i] [-a] [-r] [-f[eSyY]] [-k[qBMGu] -g -w -c -d] [-o ] [-t ] [-s] --label [-V] debian:/usr/lib/nagios/plugins# whet i delete the "T" option the same error view: Do you had the correct syntaxt for all this command, and i don't know that all this command don't works monittoring on windows machines: check_snmp_boostedge.pl check_snmp_css.pl check_snmp_linkproof_nhr.pl check_snmp_nsbox.pl check_snmp_vrrp.pl check_snmp_cpfw.pl check_snmp_env.pl check_snmp_load.pl ./check_snmp_load.pl -H 192.168.137.1 -C publica -w 90 --c 100 -T stand this is OK check_snmp_process.pl check_snmp_win.pl check_snmp_css_main.pl check_snmp_int.pl check_snmp_mem.pl check_snmp_storage.pl Thanks Max for the help Muchas gracias y perdoname por no saber tanto ingl?s. Saludos 2007/6/14, Max Hetrick : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > andres sarmiento wrote: > > > Ok, look, i had problem settings the snmp-services. i want to check > > way snmp the windows machines but i don't know how implement it. I had > > read very documentation from internet but also i can't implement it. > > Can you helpme way how-to, how to implement monitoring with nagios way > > snmp to windows machines step-by-step ????. > > > Well, to start, you have to make sure SNMP is installed on the Windows > clients. If you don't already have that part done, you do can add the > following through Add/Remove Windows Components in the Control Panel. > > Management and Monitoring Tools -> SNMP > > If you want to change the community string from public to something > else, and you want to change any settings go into Services and choose > properties on SNMP Service on the Windows hosts. > > That said, you're going to have to read up a bit on some things. I don't > know where there is a step-by-step guide for this, but it's not that > hard to do. By making sure you installed SNMP on the clients, and then > by using these plugins, you should be able to work your way through > things. This implies you understand how Nagios works first. > > http://nagios.manubulon.com/ > http://nagios.manubulon.com/snmp_windows.html > > Once you get them downloaded and installed, make sure you can get one of > the plugins to execute from your libexec path. For example: > > # /usr/lib/nagios/plugins check_snmp_load.pl -H HOST -C COMMSTRING -w 90 > - -c 100 -T stand > 4 CPU, average load 0.5% < 90% : OK > > If that works from the command line, you can go ahead and start working > on configuring Nagios. If it doesn't work, then you need to check and > make sure the scripts are executable, and owned by whomever is running > them, etc. > > Create the service: > > # SNMP 'Doze CPU Load > define service{ > use basic-service > name snmp-doze-cpu > notification_interval 0 > contact_groups itdepartment > notification_options c,r > notification_period 24x7 > service_description CPU Load > check_command snmp_doze_cpu!90!100 > host_name windowsclient1,windowsclient2 > } > > Create the new check command: > > # 'snmp_doze_cpu' Windoze CPU load check > define command{ > command_name snmp_doze_cpu > command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C > COMMSTRING -w $ARG1$ -c $ARG2$ > } > > Verify Nagios likes it. > > # nagios -v nagios.cfg > > Fix any errors it complains about. Follow this method for all the other > SNMP checks you want to use across these plugins from Manubulon. > > Again, this implies you understand Nagios. If you don't, then I suggest > you take some time to try to read the docs about how the basics of > Nagios work. This isn't any different than creating a regular service > check, or a host check. It's just doing it across the SNMP protocol. > > Regards, > Max > > > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFGcUaZHoeeepPau2ERAkKqAKCFxgf0CoDDnKmCLcMdLu43BLk8EwCfYiqJ > /lq8hk+mf6RtgBihIMBbBf0= > =ApjI > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Fri Jun 15 15:21:33 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Fri, 15 Jun 2007 09:21:33 -0400 Subject: problem nagios snmp with windows machines In-Reply-To: <78f032e90706150614g48a46df5p95af82f26e9d3e0f@mail.gmail.com> References: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com> <467054A4.4020803@verizon.net> <78f032e90706140546u37f1b1ffle57c9a43b422f784@mail.gmail.com> <46714699.7090502@verizon.net> <78f032e90706150614g48a46df5p95af82f26e9d3e0f@mail.gmail.com> Message-ID: <4672925D.2050604@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 andres sarmiento wrote: > > debian:/usr/lib/nagios/plugins# ./check_snmp_int.pl -H 192.168.137.1 > -C publica -w 90 --c 100 -T stand > Unknown option: T > Usage: ./check_snmp_int.pl [-v] -H -C [-2] | > (-l login -x passwd [-X pass -L ,) [-p ] -n in desc_oid> [-i] [-a] [-r] [-f[eSyY]] [-k[qBMGu] -g -w > -c -d] [-o ] [-t ] [-s] > --label [-V] > debian:/usr/lib/nagios/plugins# > That was a typo on my part. The entire executable path is: /usr/lib/nagios/plugins/check_snmp_int.pl /usr/lib/nagios/plugins/check_snmp_load.pl I see that I had a typo in the path I showed you, sorry about that. :) If you want the help of each command, then just append --help ./check_snmp_int.pl --help That'll give you the syntax for using it. Each command is that way as well. Each command has different usage parameters. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGcpJdHoeeepPau2ERApc3AKCBR8xG4Km7yJYoLch84WaDXJV87QCgkOZa WDSM/BT3pDXtCrj37gg9SPI= =kM73 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 proy.org Fri Jun 15 16:39:41 2007 From: nagios-user at proy.org (Patrick Proy) Date: Fri, 15 Jun 2007 16:39:41 +0200 Subject: problem nagios snmp with windows machines In-Reply-To: <78f032e90706150614g48a46df5p95af82f26e9d3e0f@mail.gmail.com> References: <78f032e90706131318h1942f769ra24f2d3a6f974be@mail.gmail.com><467054A4.4020803@verizon.net><78f032e90706140546u37f1b1ffle57c9a43b422f784@mail.gmail.com><46714699.7090502@verizon.net> <78f032e90706150614g48a46df5p95af82f26e9d3e0f@mail.gmail.com> Message-ID: <002001c7af5b$02751220$060114ac@telindus.intra> Hi, All the syntax of all the scripts can also be found at the home page of the project : http://nagios.manubulon.com . And, as Max Hetrick said, you can always do a