From jason at kates.org Mon Dec 1 06:54:58 2008 From: jason at kates.org (Jason A. Kates) Date: Mon, 01 Dec 2008 00:54:58 -0500 Subject: Issues with check_http SSL HTTP/1.1 Message-ID: <1228110899.4123.20.camel@laptop.kates.org> I am having an issue with nagios checking our HP ILO consoles. With the old firmware the checks worked fine. We have now upgraded the consoles to "iLO 2 Firmware Version: 1.61 08/31/2008". I am able to test if the consoles are responding via wget & curl, check_http used to work but no longer works. One think that I did notice in my testing is that the embedded web server only supports HTTP/1.1 in the old version HTTP/1.0 was supported. This is the post upgrade results: ./nagios/libexec/check_http -S -H 10.40.31.81 -t 20 CRITICAL - Socket timeout after 20 seconds Interestingly this works: ./nagios/libexec/check_http -S -H 10.40.31.81 -C7 -t 20 OK - Certificate will expire on 05/22/2013 05:12. Idea's for fixes or ways to debug this would be appreciated. I rather not move the test to perl, wget or curl as I currently use the data results with nagios grapher to create response time graphs. Thanks in advance -Jason check_http v2053 (nagios-plugins 1.4.13) -- ---------------------------------------------------------------------------- Jason A. Kates (jason at kates.org) Fax: 208-975-1514 Phone: 212-400-1670 x2 ============================================================================ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 1 07:42:53 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Mon, 1 Dec 2008 01:42:53 -0500 (EST) Subject: Issues with check_http SSL HTTP/1.1 In-Reply-To: <1228110899.4123.20.camel@laptop.kates.org> References: <1228110899.4123.20.camel@laptop.kates.org> Message-ID: <20081201014122.U43033@arbitor.digitalfreaks.org> > > Idea's for fixes or ways to debug this would be appreciated. I rather > not move the test to perl, wget or curl as I currently use the data Send us: % openssl s_client -connect 10.x.x.x:443 Also, try -debug and -showcerts ~BAS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Mon Dec 1 09:36:09 2008 From: michael at medin.name (Michael Medin) Date: Mon, 01 Dec 2008 09:36:09 +0100 Subject: nsclient++ nsca and scripts In-Reply-To: <6b13ab0f0811252020l4756930ax89cc3247b7478c23@mail.gmail.com> References: <6b13ab0f0811252020l4756930ax89cc3247b7478c23@mail.gmail.com> Message-ID: <4933A1F9.7020903@medin.name> Hello, Sorry for the late reply...but... What you want to do is: 1, Enable ExternalScripts module 2, Enable NSCA module 3, define an external script (a "command" mapped to your script) 4, add the NSCA "command thingy" 5, (probably want to configure some other things as well...) like so: [modules] NSCAAgent.dll CheckExternalScripts.dll [External Scripts] check_es=scripts\my_cool_script.bat [NSCA Commands] my_check=check_es The "strangeness" here is the "mapping" you need between the "script" and a "command"... // Michael Medin Curtis LaMasters skrev: > I've been searching around plenty for the last 5-6 hours and have not > found anything yet. I would like to be able to run scripts on a host > (SBS 2003) with nsclient++ installed and report back to my Nagios > server. I have tried putting a script into the [NSCA Commands] area > but keep getting "Output: 'Command was not found: > c:\Windows\system32\cscript.exe'". Any thoughts... > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Mon Dec 1 11:05:31 2008 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Mon, 01 Dec 2008 11:05:31 +0100 Subject: Issues with check_http SSL HTTP/1.1 In-Reply-To: <1228110899.4123.20.camel@laptop.kates.org> References: <1228110899.4123.20.camel@laptop.kates.org> Message-ID: <4933B6EB.2020402@op5.com> Jason A. Kates skrev: > I am having an issue with nagios checking our HP ILO consoles. > > With the old firmware the checks worked fine. We have now upgraded the > consoles to "iLO 2 Firmware Version: 1.61 08/31/2008". > > I am able to test if the consoles are responding via wget & curl, > check_http used to work but no longer works. One think that I did > notice in my testing is that the embedded web server only supports > HTTP/1.1 in the old version HTTP/1.0 was supported. > > > This is the post upgrade results: > ./nagios/libexec/check_http -S -H 10.40.31.81 -t 20 > CRITICAL - Socket timeout after 20 seconds If you add option -N to the arguments it will work. it's an issue i have seen with check_http and HTTP/1.1 i think op5 have sent a patch for upstream about this (will check with our devel team) > > > Interestingly this works: > ./nagios/libexec/check_http -S -H 10.40.31.81 -C7 -t 20 > OK - Certificate will expire on 05/22/2013 05:12. > > > Idea's for fixes or ways to debug this would be appreciated. I rather > not move the test to perl, wget or curl as I currently use the data > results with nagios grapher to create response time graphs. > > Thanks in advance -Jason > > check_http v2053 (nagios-plugins 1.4.13) > -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick.lunt at patech-solutions.com Mon Dec 1 11:55:58 2008 From: nick.lunt at patech-solutions.com (Nick Lunt) Date: Mon, 1 Dec 2008 10:55:58 -0000 Subject: Distributed monitoringwithout direct networkconnection References: <200811281420.24181.assaf.flatto@ssp.uk.com> <96827B7E-EEC1-4867-90F2-1D19E39D31E1@opsera.com> <49311251.4020707@vanderkooij.org> <493148CF.5050109@op5.se> Message-ID: > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: 29 November 2008 13:51 > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Distributed monitoringwithout direct > networkconnection > > Hugo van der Kooij wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Nick Lunt wrote: > > > >> It's not that the connections will be up/down it's more that they > simply > >> won't be there. Most of our clients are NHS (hospitals) and we have > to > >> have a secure vpn connection that we dial into on an as needed > basis. > >> > >> We currently just send alerts as emails to our support account, but > the > >> company is getting bigger and bigger so monitoring the support inbox > is > >> becoming a massive chore. We really want a central nagios server > with > >> the web frontend on a big flat screen on the wall :) > > > > Setup dedicated links. With VPN's this should not cost you an arm and > a leg. > > > > You try to fix the wrong problem in my view. > > > > Since the targeted organizations are hospitals, I think it's legal > matters > rather than competence that make dedicated links a showstopper. Correct, plus the connection is time limited, so it will automatically cut you off after 24 hours. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick.lunt at patech-solutions.com Mon Dec 1 12:00:43 2008 From: nick.lunt at patech-solutions.com (Nick Lunt) Date: Mon, 1 Dec 2008 11:00:43 -0000 Subject: Distributed monitoring without direct network connection References: <49314B2C.8070900@op5.se> Message-ID: > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: 29 November 2008 14:01 > To: Nick Lunt > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Distributed monitoring without direct > network connection > > Nick Lunt wrote: > > Hi folks > > > > nagios 3.0.5 on RHEL 4u6. > > > > We have nagios servers all over the uk and we want to get all alerts > > from each nagios server to a central nagios server at our main > offices. > > > > We do not have permanent network connectivity to the remote nagios > > servers so using NSCA is not an option. > > > > Has anyone any idea of how to overcome this problem ? > > Queue the events that were unsendable and send them when it becomes > possible. Merlin is designed to handle frequently failing links with > sometimes extremely long downtimes (it already does this), but it's > not really production level stable yet, so I wouldn't recommend using > it for this (unless you're interested in completing it yourself or > sponsoring me or op5 to do it for you, ofcourse). > > More about merlin at http://git.op5.org/git/nagios/merlin.git > > pnsca, another module available there, can probably be trivially > rewritten to stash alerts and whatnot with very good performance. > > > I am thinking of > > getting the remote nagios servers to send email alerts to an account > on > > the central nagios server then trying to get an alert generated based > on > > the contents of the email, has anyone tried this before ? > > > > Or does anyone have any better ideas for solving this problem ? > > > > That depends on what your end-goal is, really. Do you want only one > server > to send notifications, or do you want your central server to be able to > generate reports from the data sent in from the slave systems? > > If only one server should send notifications, I'd recommend using a > solution > with lower latency that gathering everything and shipping it as an > email. > One-way UDP communication would be one solution here, I guess, but it > does > require the network to be physically present at all times (and there's > no > failure detection what so ever, as UDP is a fire-and-forget protocol). > Merlin would help in this case (although it can't send over UDP yet). > > If it's for reporting reasons, you'd be better off sending the logfiles > as > emails when they're being rotated and then merging them together on the > master server. That means you can't get *accurate* reports more often > than > the logs are rotated, but since you'll need to sort-merge them anyways, > that's still going to be a problem. > Neither merlin nor NSCA can help here, I'm afraid, as entries in the > logs > would get completely jumbled unless you sort-merge them before taking > generating reports from them. Thanks for the detailed info Andreas. I still think the "nagios event -> email -> nagios server" is the only realistic solution. It's not perfect as mail servers can fail and mail can get delayed but it's the best we can do at the moment. Cheers, Nick. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Mon Dec 1 14:21:31 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Mon, 1 Dec 2008 08:21:31 -0500 Subject: Status dependant on another host In-Reply-To: <3a1b1f1f0811301430q6bcbf21ai7e181a82b0363838@mail.gmail.com> References: <3a1b1f1f0811301430q6bcbf21ai7e181a82b0363838@mail.gmail.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1402035A3E@srv-1exch01.sourceinterlink.com> From: Bradley McLain [mailto:bradley_mclain at debortoliwines.com] Sent: Sunday, November 30, 2008 5:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status dependant on another host >... >I would like to be able to display the status of sydisdn as downtime when sydgw is up and running normally. When the status of sydgw is anything else sydisdn should be monitored to >check its status. To do exactly what you're asking for, you'd need to use a combination of the "negate" plugin (included in nagios-plugins) and adaptive monitoring (http://nagios.sourceforge.net/docs/3_0/adaptive.html ). However, depending on your network, you may find it better to monitor the routers in a normal way using loopback IP addresses and monitor the status of ISDN interface with check_snmp_int.pl from http://nagios.manubulon.com/snmp_int.html to avoid complicating your Nagios config any more than you have to. -Jake -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgargiullo at pivotpointsecurity.com Mon Dec 1 18:11:35 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Mon, 1 Dec 2008 12:11:35 -0500 Subject: Distributed monitoring without direct networkconnection In-Reply-To: References: <49314B2C.8070900@op5.se> Message-ID: -----Original Message----- From: Nick Lunt [mailto:nick.lunt at patech-solutions.com] Sent: Monday, December 01, 2008 6:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed monitoring without direct networkconnection > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: 29 November 2008 14:01 > To: Nick Lunt > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Distributed monitoring without direct > network connection > > Nick Lunt wrote: > > Hi folks > > > > nagios 3.0.5 on RHEL 4u6. > > > > We have nagios servers all over the uk and we want to get all alerts > > from each nagios server to a central nagios server at our main > offices. > > > > We do not have permanent network connectivity to the remote nagios > > servers so using NSCA is not an option. > > > > Has anyone any idea of how to overcome this problem ? > > Queue the events that were unsendable and send them when it becomes > possible. Merlin is designed to handle frequently failing links with > sometimes extremely long downtimes (it already does this), but it's > not really production level stable yet, so I wouldn't recommend using > it for this (unless you're interested in completing it yourself or > sponsoring me or op5 to do it for you, ofcourse). > > More about merlin at http://git.op5.org/git/nagios/merlin.git > > pnsca, another module available there, can probably be trivially > rewritten to stash alerts and whatnot with very good performance. > > > I am thinking of > > getting the remote nagios servers to send email alerts to an account > on > > the central nagios server then trying to get an alert generated based > on > > the contents of the email, has anyone tried this before ? > > > > Or does anyone have any better ideas for solving this problem ? > > > > That depends on what your end-goal is, really. Do you want only one > server > to send notifications, or do you want your central server to be able to > generate reports from the data sent in from the slave systems? > > If only one server should send notifications, I'd recommend using a > solution > with lower latency that gathering everything and shipping it as an > email. > One-way UDP communication would be one solution here, I guess, but it > does > require the network to be physically present at all times (and there's > no > failure detection what so ever, as UDP is a fire-and-forget protocol). > Merlin would help in this case (although it can't send over UDP yet). > > If it's for reporting reasons, you'd be better off sending the logfiles > as > emails when they're being rotated and then merging them together on the > master server. That means you can't get *accurate* reports more often > than > the logs are rotated, but since you'll need to sort-merge them anyways, > that's still going to be a problem. > Neither merlin nor NSCA can help here, I'm afraid, as entries in the > logs > would get completely jumbled unless you sort-merge them before taking > generating reports from them. Thanks for the detailed info Andreas. I still think the "nagios event -> email -> nagios server" is the only realistic solution. It's not perfect as mail servers can fail and mail can get delayed but it's the best we can do at the moment. Cheers, Nick. ------------------------------------------------------------------------ - Email isn't horrible, but it's not optimal. We wrote a script that checks a pop account for email every morning to ensure the daily reports arrived as expected. -Mike ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Mon Dec 1 21:59:22 2008 From: albrecht.dress at arcor.de (Albrecht =?iso-8859-1?b?RHJl3w==?=) Date: Mon, 01 Dec 2008 21:59:22 +0100 Subject: no email notifications sent Message-ID: <1228165169.5306.0@antares> Hi all, I have a self-compiled nagios 3.0.5 running on a 64-bit Xeon box with Ubuntu 8.04 LTS. Everything went perfectly (including notifications) until I upgraded from 3.0.1 (iirc) to 3.0.5 during a bigger service downtime (inter alia shifting the box into an other network etc). In nagios.debug, I see messages like (nagios time stamps converted for better readability) [Mon Dec 1 08:25:19 2008] [032.0] [pid=6660] Notification viability test failed. No notification will be sent out. [Mon Dec 1 08:26:19 2008] [032.0] [pid=6660] ** Service Notification Attempt ** Host: 'np-hpclj4650', Service: 'Printer Status', Type: 0, Options: 0, Current State: 1, Last Notification: Thu Jan 1 01:00:00 1970 [Mon Dec 1 08:26:19 2008] [032.1] [pid=6660] This service shouldn't have notifications sent out at this time. [Mon Dec 1 08:26:19 2008] [032.1] [pid=6660] Next possible notification time: Mon Dec 1 08:30:00 2008 [...] [Mon Dec 1 08:35:19 2008] [032.0] [pid=6660] Notification viability test failed. No notification will be sent out. [Mon Dec 1 08:36:19 2008] [032.0] [pid=6660] ** Service Notification Attempt ** Host: 'np-hpclj4650', Service: 'Printer Status', Type: 0, Options: 0, Current State: 1, Last Notification: Thu Jan 1 01:00:00 1970 [Mon Dec 1 08:36:19 2008] [032.1] [pid=6660] This service shouldn't have notifications sent out at this time. [Mon Dec 1 08:36:19 2008] [032.1] [pid=6660] Next possible notification time: Tue Dec 2 08:30:00 2008 (Note the shift in "next possible notification time"!) The host related to this service is a "generic-printer" with options notification_period workhours notification_interval 240 notification_options d,r contact_groups admins and workhours is actually set to 08:30-18:00 for weekdays. Any idea why the notification test fails and effectively jumps from one day to the next, without sending any messages? Thanks, Albrecht. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 2 07:13:00 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Mon, 1 Dec 2008 23:13:00 -0700 Subject: Annotation column for nagios host/service summary screens Message-ID: <26face530812012213k584e8f63ra20fe74f67c1312d@mail.gmail.com> It always bugged me that you couldn't customize the nagios host/service summary screens, so I hacked cgi/status.c as attached (.20080401.133208.status.c is the original, status.c is my change). You put host-specific annotations in /usr/local/etc/nagios/annotate/$host/hostinfo.txt, and service-specific annotations in /usr/local/etc/nagios/annotate/$host/$service This is EXTREMELY rudimentary and bad for many reasons (the information is hardcoded, the path is not tied to where you install nagios, etc), and my main goal is to convince someone to improve it. -- 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. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diff.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmadams at hiwaay.net Tue Dec 2 15:13:18 2008 From: cmadams at hiwaay.net (Chris Adams) Date: Tue, 2 Dec 2008 08:13:18 -0600 Subject: Service dependency didn't work Message-ID: <20081202141318.GA1098001@hiwaay.net> I have some network interfaces that I monitor both by SNMP and by ping. I then define a service dependency such that the ping service depends on the SNMP service (no sense pinging if SNMP reports the physical layer down). Last night, one of these interfaces went down, and I was alerted for both services, SNMP first and then ping. Do I have the dependency defined right? define servicedependency { host_name myrouter service_description if:Network dependent_host_name myrouter dependent_service_description Network ping inherits_parent 1 execution_failure_criteria w,u,c } Here's what I got in the log: [12-02-2008 00:41:33] SERVICE ALERT: myrouter;if:Network;CRITICAL;HARD;4;CRITICAL: Interface so-1/2/0.0 (index 437) down due to lower layer being down. [12-02-2008 00:41:43] SERVICE ALERT: myrouter;Network ping;CRITICAL;HARD;4;CRITICAL - 10.1.96.2: rta nan, lost 100% Why did I get the second service alert? -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skreuzer at exit2shell.com Tue Dec 2 20:07:32 2008 From: skreuzer at exit2shell.com (Steven Kreuzer) Date: Tue, 2 Dec 2008 14:07:32 -0500 Subject: Alternating Notification Commands Message-ID: Greetings- In addition to the two included commands for sending notifications, I defined two new ones called notify-host-by-sms and notify-service-by- sms. What I would like to do is configure nagios to have it send alerts by email during normal business hours and send alerts by sms the rest of the time. I would also like to configure certain critical services to only alert by sms regardless of the time of day. From what I can tell, there does not appear to be a straight forward way to do this because "host_notification_commands" and "service_notification_commands" are defined under "contact". It looks like I would have to create two contacts for each person, one with their email and one with their pager. Is there any way around this? Thanks Steven Kreuzer http://www.exit2shell.com/~skreuzer ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Tue Dec 2 20:41:08 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 2 Dec 2008 14:41:08 -0500 Subject: Alternating Notification Commands In-Reply-To: References: Message-ID: <4881ECF1AB752843908A20CEE07A8EB121BE@buf-ex01.cymfony.com> You want to configure Nagios to send alerts by email during the day by sms the rest of the time? Why don't you just create 2 separate contact definitions, one for email and one for sms with different time definitions? Would look something like this: define contact{ contact_name sysadmin-1 use generic-contact alias sysadmin workhours host_notification_period workhours service_notification_period workhours host_notification_options d,r service_notification_options w,c,r email sysadmin at mydomain.com } define contact{ contact_name sysadmin-2 use generic-contact alias sysadmin after work host_notification_period afterwork service_notification_period afterwork host_notification_options d,r service_notification_options w,c,r email 2125553000 at txt.att.net } define timeperiod{ timeperiod_name workhours alias Normal Work Hours monday 08:00-16:59 tuesday 08:00-16:59 wednesday 08:00-16:59 thursday 08:00-16:59 friday 08:00-16:59 } define timeperiod{ timeperiod_name afterwork alias Normal Work Hours monday 17:00-24:00 tuesday 17:00-24:00 wednesday 17:00-24:00 thursday 17:00-24:00 friday 17:00-24:00 saturday 00:00-24:00 sunday 00:00-24:00 } define service{ use local-service hostgroup_name Linux service_description Load Average check_command check_nrpe!check_load max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contacts sysadmin-1,sysadmin-2 notification_options c,w,r } As far as certain services sms only, use the 24x7 time period, create contact for the 24x7 time period and configure the service accordingly. define contact{ contact_name sysadmin-3 use generic-contact alias sysadmin sms host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r email 2125553000 at txt.att.net } define service{ use local-service hostgroup_name linux service_description Free Space on / check_command check_nrpe!check_root max_check_attempts 2 check_interval 15 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contacts sysadmin-3 notification_options c,w,r } The way that is configured, any problems with load in your linux hostgroup will send notification by email during the day and by sms after hours/weekends. The second example will send by sms at any time for any alerts with free space. -----Original Message----- From: Steven Kreuzer [mailto:skreuzer at exit2shell.com] Sent: Tuesday, December 2, 2008 2:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Alternating Notification Commands Greetings- In addition to the two included commands for sending notifications, I defined two new ones called notify-host-by-sms and notify-service-by- sms. What I would like to do is configure nagios to have it send alerts by email during normal business hours and send alerts by sms the rest of the time. I would also like to configure certain critical services to only alert by sms regardless of the time of day. From what I can tell, there does not appear to be a straight forward way to do this because "host_notification_commands" and "service_notification_commands" are defined under "contact". It looks like I would have to create two contacts for each person, one with their email and one with their pager. Is there any way around this? Thanks Steven Kreuzer http://www.exit2shell.com/~skreuzer ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skreuzer at exit2shell.com Tue Dec 2 21:13:22 2008 From: skreuzer at exit2shell.com (Steven Kreuzer) Date: Tue, 2 Dec 2008 15:13:22 -0500 Subject: Alternating Notification Commands In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB121BE@buf-ex01.cymfony.com> References: <4881ECF1AB752843908A20CEE07A8EB121BE@buf-ex01.cymfony.com> Message-ID: I am trying to avoid that because it seems like it would get fairly difficult to manage and makes the config alot more difficult to read, especially if you happen to have a whole bunch of people who need to receive alerts. But from what I can tell, this looks like the only possible solution On Dec 2, 2008, at 2:41 PM, Seth Simmons wrote: > You want to configure Nagios to send alerts by email during the day by > sms the rest of the time? > Why don't you just create 2 separate contact definitions, one for > email > and one for sms with different time definitions? > > Would look something like this: > > define contact{ > contact_name sysadmin-1 > use generic-contact > alias sysadmin workhours > host_notification_period workhours > service_notification_period workhours > host_notification_options d,r > service_notification_options w,c,r > email sysadmin at mydomain.com > } > > define contact{ > contact_name sysadmin-2 > use generic-contact > alias sysadmin after work > host_notification_period afterwork > service_notification_period afterwork > host_notification_options d,r > service_notification_options w,c,r > email 2125553000 at txt.att.net > } > > define timeperiod{ > timeperiod_name workhours > alias Normal Work Hours > monday 08:00-16:59 > tuesday 08:00-16:59 > wednesday 08:00-16:59 > thursday 08:00-16:59 > friday 08:00-16:59 > } > > define timeperiod{ > timeperiod_name afterwork > alias Normal Work Hours > monday 17:00-24:00 > tuesday 17:00-24:00 > wednesday 17:00-24:00 > thursday 17:00-24:00 > friday 17:00-24:00 > saturday 00:00-24:00 > sunday 00:00-24:00 > } > > define service{ > use local-service > hostgroup_name Linux > service_description Load Average > check_command check_nrpe!check_load > max_check_attempts 2 > check_interval 10 > retry_interval 5 > check_period 24x7 > notification_interval 60 > first_notification_delay 0 > notification_period 24x7 > contacts > sysadmin-1,sysadmin-2 > notification_options c,w,r > } > > As far as certain services sms only, use the 24x7 time period, create > contact for the 24x7 time period and configure the service > accordingly. > > > define contact{ > contact_name sysadmin-3 > use generic-contact > alias sysadmin sms > host_notification_period 24x7 > service_notification_period 24x7 > host_notification_options d,r > service_notification_options w,c,r > email 2125553000 at txt.att.net > } > > define service{ > use local-service > hostgroup_name linux > service_description Free Space on / > check_command check_nrpe!check_root > max_check_attempts 2 > check_interval 15 > retry_interval 5 > check_period 24x7 > notification_interval 60 > first_notification_delay 0 > notification_period 24x7 > contacts sysadmin-3 > notification_options c,w,r > } > > The way that is configured, any problems with load in your linux > hostgroup will send notification by email during the day and by sms > after hours/weekends. The second example will send by sms at any time > for any alerts with free space. > > > -----Original Message----- > From: Steven Kreuzer [mailto:skreuzer at exit2shell.com] > Sent: Tuesday, December 2, 2008 2:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alternating Notification Commands > > Greetings- > > In addition to the two included commands for sending notifications, I > defined two new ones called notify-host-by-sms and notify-service-by- > sms. > > What I would like to do is configure nagios to have it send alerts by > email during normal business hours and send alerts by sms the rest > of the time. I would also like to configure certain critical services > to only alert by sms regardless of the time of day. > > From what I can tell, there does not appear to be a straight forward > way to do this because "host_notification_commands" and > "service_notification_commands" are defined under "contact". It looks > like I would have to > create two contacts for each person, one with their email and one with > their pager. > > Is there any way around this? > > Thanks > > Steven Kreuzer > http://www.exit2shell.com/~skreuzer > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Steven Kreuzer http://www.exit2shell.com/~skreuzer ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oscarsoto3 at gmail.com Tue Dec 2 23:13:45 2008 From: oscarsoto3 at gmail.com (Oscar Soto) Date: Tue, 2 Dec 2008 15:13:45 -0700 Subject: acknoweledgement notification Message-ID: hello everyone!!! How can do for Nagios 3.0.2 don't send Acknowledgement notification to email? thank you!! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Tue Dec 2 23:17:29 2008 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Tue, 2 Dec 2008 16:17:29 -0600 Subject: Monitoring HP Hardware - NRPE/NSCA on Windows Message-ID: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> What is the best method for doing this. I would prefer to have some sort of script that parses information on the remote host on HP hardware. I have found a few that use SNMP but I'm not sure how that works with NRPE/NSCA. For Dell hardware I use check_dell.exe from http://www.itefix.no. Anything similar would be great. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Tue Dec 2 23:18:37 2008 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Tue, 2 Dec 2008 16:18:37 -0600 Subject: nsclient++ nsca and scripts In-Reply-To: <4933A1F9.7020903@medin.name> References: <6b13ab0f0811252020l4756930ax89cc3247b7478c23@mail.gmail.com> <4933A1F9.7020903@medin.name> Message-ID: <6b13ab0f0812021418u6cae06fhf43683adbd06b6@mail.gmail.com> Thank you very much. It's quite simple how you layed it out. I appreciate that. NSClient++ + External Scripts = Awesome. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Mon, Dec 1, 2008 at 2:36 AM, Michael Medin wrote: > Hello, > > Sorry for the late reply...but... > > > What you want to do is: > 1, Enable ExternalScripts module > 2, Enable NSCA module > 3, define an external script (a "command" mapped to your script) > 4, add the NSCA "command thingy" > 5, (probably want to configure some other things as well...) > > like so: > > [modules] > NSCAAgent.dll > CheckExternalScripts.dll > > [External Scripts] > check_es=scripts\my_cool_script.bat > > [NSCA Commands] > my_check=check_es > > The "strangeness" here is the "mapping" you need between the "script" and a > "command"... > > // Michael Medin > > > > Curtis LaMasters skrev: > > I've been searching around plenty for the last 5-6 hours and have not found > anything yet. I would like to be able to run scripts on a host (SBS 2003) > with nsclient++ installed and report back to my Nagios server. I have tried > putting a script into the [NSCA Commands] area but keep getting "Output: > 'Command was not found: c:\Windows\system32\cscript.exe'". Any thoughts... > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------ > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mothbitten1 at yahoo.com Wed Dec 3 00:45:31 2008 From: mothbitten1 at yahoo.com (Dan McManus) Date: Tue, 2 Dec 2008 15:45:31 -0800 (PST) Subject: problem with timeperiod configuration Message-ID: <838042.38400.qm@web35404.mail.mud.yahoo.com> Notifications aren't sent to a group if a particular line is active in my timeperiods.cfg file: define timeperiod{ name weekdays timeperiod_name weekdays alias Normal Day Coverage monday 06:00-18:00 tuesday 06:00-18:00 wednesday 06:00-18:00 thursday 06:00-18:00 friday 06:00-18:00 } define timeperiod{ name holidays timeperiod_name holidays alias U.S. Holidays # holidays january 1 00:00-24:00 ; New Years 2010-12-31 00:00-24:00 ; New years is on a Saturday 2012-01-02 00:00-24:00 ; New years is on a Sunday monday 3 january 00:00-24:00 ; MLK day monday 3 february 00:00-24:00 ; President's Day # fine to here monday -1 may 00:00-24:00 ; Memorial Day (last Monday in May) define timeperiod{ timeperiod_name tier1-daytime use weekdays ; Include weekdays exclude holidays ; Exclude holiday dates/times defined elsewhere } When I have "monday -1 may..." commented out, it works fine, but if not, it doesn't. Is this a bug, or am I doing something wrong somehow? This is on both 3.03 and 3.06. Thanks Dan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Wed Dec 3 02:42:10 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Wed, 3 Dec 2008 01:42:10 +0000 Subject: Nagiosgraph graphs have gaps In-Reply-To: <1963696421.20081130165128@sliderule.demon.co.uk> References: <19010023454.20081129215201@sliderule.demon.co.uk> <4932443C.2020806@vanderkooij.org> <1963696421.20081130165128@sliderule.demon.co.uk> Message-ID: <829156913.20081203014210@sliderule.demon.co.uk> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> Steve Burton wrote: >>> Hi, >>> >>> I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to >>> generate rrd's on the data. I'm visualizing the data with both >>> nagiosgraph and drraw. >>> >>> My problem is that the graphs have gaps so I guessing that the rrd's >>> are not being updated. I'm concentrating on just one service for >>> debugging and I've run the plugin (which I wrote) from the >>> command-line many times for a local server and I haven't seen it fail >>> to connect or report or to time out. It is as though nagios is not >>> checking the service within the heartbeat of the rrd's in question. I >>> have set the service check interval to 5 minutes, which I believe to >>> be the default nagiosgraph step time and the heartbeat is set to the >>> nagiosgraph default of 600 seconds. >>> >>> Can anyone advise me if if this is likely to be the problem and if not >>> how I can diagnose what is actually going on? >> I have put a diagnose on the mailinglist for something that is either >> the same problem or something similar. >> The problem is that nagios can send several commands into the pipe at >> once and the other end will only pick up one of them. So the RRD info is >> not written. The work around is not to allow Nagios to run things in >> parallel. But it will severly limit the amount of hosts and services one >> can check with Nagios. >> This should have been fixed by using the file interface instead of the >> named pipe. The file interface was introduced about a year ago or even >> longer back. >> Please check the mailinglist archives for more details. >> Hugo. > Hugo, > I have the following in my nagios.cfg > # grep service_perfdata ../nagios.cfg|grep -v # > service_perfdata_file=/var/spool/nagios/perfdata.log > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > service_perfdata_file_mode=a > service_perfdata_file_processing_interval=30 > service_perfdata_file_processing_command=process-service-perfdata > Also, the perfdata.log file size changes with time, all of which seems > to suggest to me that I'm using the file interface. Is this correct? > Steve. talking to myself.... I've tweaked one plugin to write a log file. So far I'm getting an entry about every five minutes, as expected but I'll see what happens after daybreak when things get busy. If this test succeeds I'll try taking apart an rrd but I've been putting that off. Steve. > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 3 07:51:53 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 03 Dec 2008 07:51:53 +0100 Subject: acknoweledgement notification In-Reply-To: References: Message-ID: <49362C89.40302@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oscar Soto wrote: > How can do for Nagios 3.0.2 don't send Acknowledgement notification to > email? Have you considered: - to upgrade to the latest 3.0 version? - to include relevant information beyond the version number? - to ask a friend to help you with the English? It seems your intention did not get through all to well. So by putting in some additional information including telling us what bits of the manual about notifications were not clear to you and what you have allready configured will help getting to the message acros. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJNiyHBvzDRVjxmYERAigbAJ9+c7KnMlEBE00ppR+xhZsvghEd0gCdFw5/ S9vnqhPYdx1ekyRBMJfCwWA= =iZg5 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dirk.schulz at kinzesberg.de Wed Dec 3 08:43:42 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 03 Dec 2008 08:43:42 +0100 Subject: Nagios checks and DNS queries Message-ID: <970506B41B3EF1C4C2B9C6BF@file.wkd-druck.org> Hi folks, I have two servers running Nagios, one is 2.3.1 on Debian, the other 3.0.5 on CentOS. With both I have a peculiar problem: Both of the servers have 3 different nameserves in /etc/resolv.conf, but when the first nameserver fails, then more than half of the service checks fail ("plugin timed out"). The failure does not occur just shortly, but takes as long as the first nameserver is not running. This first nameserver in /etc/resolv.conf is not the master nameserver (all of them are slaves), so it is not a problem of the slave stopping answering when the master fails or any misconfiguration between the nameservers. This should not be occuring, but it can be reproduced reliably. Now I hope that there is some configuration item I overlooked, but googling did not deliver any hint. Any help is appreciated. Dirk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 3 08:57:46 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Dec 2008 08:57:46 +0100 Subject: Annotation column for nagios host/service summary screens In-Reply-To: <26face530812012213k584e8f63ra20fe74f67c1312d@mail.gmail.com> References: <26face530812012213k584e8f63ra20fe74f67c1312d@mail.gmail.com> Message-ID: <49363BFA.509@op5.se> Kelly Jones wrote: > It always bugged me that you couldn't customize the nagios > host/service summary screens, so I hacked cgi/status.c as attached > (.20080401.133208.status.c is the original, status.c is my change). > > You put host-specific annotations in > /usr/local/etc/nagios/annotate/$host/hostinfo.txt, and > service-specific annotations in > /usr/local/etc/nagios/annotate/$host/$service > That doesn't fly if the host or service has chars in their names that make them unsuitable as path-names. For example, services ending with a backslash (or a backslash and one or two dots) can never have annotations. > This is EXTREMELY rudimentary and bad for many reasons (the > information is hardcoded, the path is not tied to where you install > nagios, etc), and my main goal is to convince someone to improve it. > Well, for one thing, the patch is generated reversely. The syntax of the diff command is: "diff old new", while you gave "diff new old". The patch can still be applied though, by using "patch -R -p1 < file" -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.felici at alpikom.it Wed Dec 3 09:48:52 2008 From: s.felici at alpikom.it (Simone Felici) Date: Wed, 03 Dec 2008 09:48:52 +0100 Subject: Question about host checks In-Reply-To: <1CD57679-8960-4EB0-8102-7EB4351FCB54@ena.com> References: <492BBF92.7070300@alpikom.it> <492D00B9.2080303@alpikom.it> <492E5BFA.3060708@alpikom.it> <9C3E783E-57AD-447C-B2A2-B43D7A93CF81@ena.com> <492ED217.3030903@alpikom.it> <1CD57679-8960-4EB0-8102-7EB4351FCB54@ena.com> Message-ID: <493647F4.6040005@alpikom.it> Marc Powell ha scritto: > On Nov 27, 2008, at 11:00 AM, Simone Felici wrote: > >> Thank's Marc, but let me understood... Should Nagios perform host >> checks only if needed? >> I.e. if a service goes critical or change state? >> Or are true both questions? > > In your configuration, nagios will do both active and on-demand > checks. Nagios will normally do on-demand checks just by specifying > 'active_checks_enabled 1'. When you also specified 'check_interval 5', > you told nagios that it should perform regularly timed checks of the > host as well. If you don't want regularly checks, leave out the > check_interval directive entirely. > > I'm not sure where that's coming from since it wasn't in your original > posting of the host definition or template. Was it ever set that way > or currently set like that and left out of your original posting? > > -- good Morning Marc, Found the solution. The check_interval seems CANNOT be skipped (missed) into .cfg file or it will be set automatically. Have no idea where it takes the default "5secs" value. Setting it to "0", active checks are still enabled and the value to "0" prevent to schedule regular checks. On demand checks are done without problems. Also problem solved! Thank's anyway for pointing me to the right place! Simon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Wed Dec 3 11:13:40 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 3 Dec 2008 10:13:40 +0000 Subject: problem with timeperiod configuration In-Reply-To: <838042.38400.qm@web35404.mail.mud.yahoo.com> References: <838042.38400.qm@web35404.mail.mud.yahoo.com> Message-ID: <200812031013.40426.assaf.flatto@ssp.uk.com> On Tuesday 02 December 2008 23:45:31 Dan McManus wrote: > Notifications aren't sent to a group if a particular line is active in my > timeperiods.cfg file: > > define timeperiod{ > name weekdays > timeperiod_name weekdays > alias Normal Day Coverage > monday 06:00-18:00 > tuesday 06:00-18:00 > wednesday 06:00-18:00 > thursday 06:00-18:00 > friday 06:00-18:00 > } > > define timeperiod{ > name holidays > timeperiod_name holidays > alias U.S. Holidays > > # holidays > january 1 00:00-24:00 ; New Years > 2010-12-31 00:00-24:00 ; New years is on a > Saturday 2012-01-02 00:00-24:00 ; New years is on a Sunday > monday 3 january 00:00-24:00 ; MLK day > monday 3 february 00:00-24:00 ; President's Day > # fine to here > monday -1 may 00:00-24:00 ; Memorial Day (last Monday > in May) > > define timeperiod{ > timeperiod_name tier1-daytime > use weekdays ; Include weekdays > exclude holidays ; Exclude holiday > dates/times defined elsewhere } > > When I have "monday -1 may..." commented out, it works fine, but if not, it > doesn't. Is this a bug, or am I doing something wrong somehow? This is on > both 3.03 and 3.06. > reading the documentation , it looks like the definitions are correct and this might be a bug , one small nitpicking detail - that might make the difference , in the monday -1 may 00:00-24:00 , definition : is the `-` directly attached to the "monday" string os is there a space between them ? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Wed Dec 3 12:38:50 2008 From: ralf.prengel at comline.de (Ralf Prengel) Date: Wed, 03 Dec 2008 12:38:50 +0100 Subject: Verfiy time between WinXp system and a ntp-server Message-ID: <49366FCA.5040007@comline.de> Hallo, to check the time on a linux-system is no problem and working perfect. Now I m searching a way to verify the system-time of a XP machine using using a ntp-server. nrpe and wmi are working on the XP-System. Has anyone a hint for me how to solve this problem? Thanks -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel at comline.de -- www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Wed Dec 3 12:09:27 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Wed, 03 Dec 2008 11:09:27 +0000 Subject: Nagios checks and DNS queries In-Reply-To: <970506B41B3EF1C4C2B9C6BF@file.wkd-druck.org> References: <970506B41B3EF1C4C2B9C6BF@file.wkd-druck.org> Message-ID: <493668E7.2080201@sliderule.demon.co.uk> Dirk H. Schulz wrote: > Hi folks, > > I have two servers running Nagios, one is 2.3.1 on Debian, the other 3.0.5 > on CentOS. With both I have a peculiar problem: > > Both of the servers have 3 different nameserves in /etc/resolv.conf, but > when the first nameserver fails, then more than half of the service checks > fail ("plugin timed out"). The failure does not occur just shortly, but > takes as long as the first nameserver is not running. > This first nameserver in /etc/resolv.conf is not the master nameserver (all > of them are slaves), so it is not a problem of the slave stopping answering > when the master fails or any misconfiguration between the nameservers. > > This should not be occuring, but it can be reproduced reliably. Now I hope > that there is some configuration item I overlooked, but googling did not > deliver any hint. > > Any help is appreciated. > > Dirk > > Dirk, my solution was to run a slave name server on the Nagios server itself , restricted to only answer queries from localhost. Steve. > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Wed Dec 3 13:39:37 2008 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Wed, 3 Dec 2008 13:39:37 +0100 Subject: Verfiy time between WinXp system and a ntp-server In-Reply-To: <49366FCA.5040007@comline.de> References: <49366FCA.5040007@comline.de> Message-ID: <90f6e8270812030439v1217e728v470bf4d475c7858b@mail.gmail.com> On Wed, Dec 3, 2008 at 12:38 PM, Ralf Prengel wrote: > Hallo, > > to check the time on a linux-system is no problem and working perfect. > Now I m searching a way to verify the system-time of a XP machine using > using a ntp-server. > nrpe and wmi are working on the XP-System. > Has anyone a hint for me how to solve this problem? you may want to look at w32tm /monitor /computers:name.of.nt.server and write your own nrpe check around it. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Wed Dec 3 13:41:09 2008 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Wed, 3 Dec 2008 13:41:09 +0100 Subject: Verfiy time between WinXp system and a ntp-server In-Reply-To: <90f6e8270812030439v1217e728v470bf4d475c7858b@mail.gmail.com> References: <49366FCA.5040007@comline.de> <90f6e8270812030439v1217e728v470bf4d475c7858b@mail.gmail.com> Message-ID: <90f6e8270812030441l45410142r8010d2ee955acd9b@mail.gmail.com> > you may want to look at w32tm /monitor /computers:name.of.nt.server ^^ funny typo: it should say ntp, of course ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 3 13:56:47 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 3 Dec 2008 13:56:47 +0100 Subject: Monitoring HP Hardware - NRPE/NSCA on Windows In-Reply-To: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> References: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> Message-ID: Hi Curtis, with http://www.consol.com/opensource/nagios/check-hpasm you have two possibilities local (linux): the plugin runs on the HP and parses the output of the hpasmcli command remote (linux,windows): the plugin runs on the Nagios server and uses SNMP In both cases you need to install the hpasm RPM or the Windows Insight Management Agents. Gerhard _____ Von: Curtis LaMasters [mailto:curtislamasters at gmail.com] Gesendet: Dienstag, 2. Dezember 2008 23:17 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Monitoring HP Hardware - NRPE/NSCA on Windows What is the best method for doing this. I would prefer to have some sort of script that parses information on the remote host on HP hardware. I have found a few that use SNMP but I'm not sure how that works with NRPE/NSCA. For Dell hardware I use check_dell.exe from http://www.itefix.no . Anything similar would be great. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Wed Dec 3 14:14:58 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Wed, 03 Dec 2008 14:14:58 +0100 Subject: Verfiy time between WinXp system and a ntp-server In-Reply-To: <90f6e8270812030439v1217e728v470bf4d475c7858b@mail.gmail.com> References: <49366FCA.5040007@comline.de> <90f6e8270812030439v1217e728v470bf4d475c7858b@mail.gmail.com> Message-ID: <1228310099.7280.0.camel@mr-laptop> On Wed, 2008-12-03 at 13:39 +0100, Natxo Asenjo wrote: > On Wed, Dec 3, 2008 at 12:38 PM, Ralf Prengel wrote: > > Hallo, > > > > to check the time on a linux-system is no problem and working perfect. > > Now I m searching a way to verify the system-time of a XP machine using > > using a ntp-server. > > nrpe and wmi are working on the XP-System. > > Has anyone a hint for me how to solve this problem? > > you may want to look at w32tm /monitor /computers:name.of.nt.server > and write your own nrpe check around it. Or use my wrapper :p http://git.op5.org/git/?p=nagios/vbs-plugins.git;a=blob_plain;f=check_ad_time.vbs;hb=HEAD -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Wed Dec 3 14:31:42 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 03 Dec 2008 08:31:42 -0500 Subject: Nagios checks and DNS queries In-Reply-To: <493668E7.2080201@sliderule.demon.co.uk> References: <970506B41B3EF1C4C2B9C6BF@file.wkd-druck.org> <493668E7.2080201@sliderule.demon.co.uk> Message-ID: <49368A3E.5020702@collaborativefusion.com> Steve Burton wrote: > Dirk, > > my solution was to run a slave name server on the Nagios server itself , > restricted to only answer queries from localhost. > > Steve. > Why not set something like "options timeout:1 attempts:1" in resolv.conf? From man resolv.conf:* timeout:*/n/ sets the amount of time the resolver will wait for a response from a remote name server before retrying the query via a different name server. Measured in seconds, the default is RES_TIMEOUT (currently 5, see >).* attempts:*/n/ sets the number of times the resolver will send a query to its name servers before giving up and returning an error to the calling application. The default is RES_DFLRETRY (currently 2, see >). With the defaults, you're looking at 10 seconds (2 attempts, 5s apart) before it moves onto the next server. Since 10 seconds is the default timeout for those checks, you'll always hit a timeout unless the DNS server becomes responsive again. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From odenbach at uni-paderborn.de Wed Dec 3 15:23:01 2008 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Wed, 03 Dec 2008 15:23:01 +0100 Subject: Monitoring HP Hardware - NRPE/NSCA on Windows In-Reply-To: References: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> Message-ID: <49369645.7080900@uni-paderborn.de> Gerhard Lausser schrieb: > Hi Curtis, > > with http://www.consol.com/opensource/nagios/check-hpasm you have two > possibilities > local (linux): the plugin runs on the HP and parses the output of the > hpasmcli command > remote (linux,windows): the plugin runs on the Nagios server and uses SNMP If your HP machines have an iLO interface enabled (which I would recommend), you can check quite a lot of things with check_ilo2_health.pl, available at nagiosexchange. What you do not get from there is information about raid status. As far as I know you have to use the operating system to get that particular information. For Windows I have found a command line tool called 'cfggen.exe' which displays the raid status quite nicely - excellent to parse! Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.122 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Wed Dec 3 15:58:08 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Wed, 03 Dec 2008 14:58:08 +0000 Subject: Nagios checks and DNS queries In-Reply-To: <49368A3E.5020702@collaborativefusion.com> References: <970506B41B3EF1C4C2B9C6BF@file.wkd-druck.org> <493668E7.2080201@sliderule.demon.co.uk> <49368A3E.5020702@collaborativefusion.com> Message-ID: <49369E80.2020201@sliderule.demon.co.uk> Sean McAfee wrote: > Steve Burton wrote: > >> Dirk, >> >> my solution was to run a slave name server on the Nagios server itself , >> restricted to only answer queries from localhost. >> >> Steve. >> >> > Why not set something like "options timeout:1 attempts:1" in > resolv.conf? From man resolv.conf:* > > timeout:*/n/ > sets the amount of time the resolver will wait for a response from a > remote name server before retrying the query via a different name > server. Measured in seconds, the default is RES_TIMEOUT (currently 5, > see >).* > > attempts:*/n/ > sets the number of times the resolver will send a query to its name > servers before giving up and returning an error to the calling > application. The default is RES_DFLRETRY (currently 2, see >). > > With the defaults, you're looking at 10 seconds (2 attempts, 5s apart) > before it moves onto the next server. Since 10 seconds is the default > timeout for those checks, you'll always hit a timeout unless the DNS > server becomes responsive again. > > Sean, I reason I set up the slave server was so my nagios instance could monitor the 'real' DNS servers by name and check the host and other services on those hosts (they're Windows DCs) even if (or especially if) the DNS service had failed. Steve. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.ottavi at medi.fr Wed Dec 3 16:03:44 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Wed, 03 Dec 2008 16:03:44 +0100 Subject: Monitoring HP Hardware - NRPE/NSCA on Windows In-Reply-To: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> References: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> Message-ID: <49369FD0.8070107@medi.fr> Curtis LaMasters a ?crit: > What is the best method for doing this. I would prefer to have some > sort of script that parses information on the remote host on HP > hardware. I have found a few that use SNMP but I'm not sure how that > works with NRPE/NSCA. For Dell hardware I use check_dell.exe from > http://www.itefix.no . Anything similar would > be great. Hi, I tried several scripts based on SNMP, but some of them are not very accurate/efficient (ie, status remains OK even if you remove a power supply or a fan, or even if the server does not respond to SNMP at all !). So the best rule if you use any SNMP-based script is to make some tests in your real environment before using it :-) I choosed one, called "GWFL plugins 2.1" (this one also includes tests for other things than hp). It works fine on all my servers (ML350, 370, DL360, DL380 all generations). It queries the Insight Agents on the Proliant server using SNMP. This is completely independant from NRPE/NSCA. You just have to configure SNMP service on your server (basically, check the "community string", and check if there are restrictions on IP addresses allowed). Results are accurate and I would recommend it. I also use a script called "check_insight_log.sh". You run it on your Nagios server, and it queries the Insight Log of your Proliant server via SNMP. It's useful to see if new things happen in this log, such as POST errors, ASR, blue screens, messages about RAID status, etc... I would also recommand "check_ilo2_health.pl" already mentioned by Christopher, even if I didn't have time to experiment it thoroughly. All these available on NagiosExchange. Hope this helps. Kind regards -- *Toussaint OTTAVI* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Dec 3 15:53:09 2008 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 3 Dec 2008 09:53:09 -0500 Subject: Failover monitoring and acknowlegements Message-ID: I'm setting Nagios up in a failover configuration like is described in the documentation, with the primary server feeding check results to the failover server via NSCA. That part's working fine, but is there a good way to also keep host and service comments, acknowledgements, and scheduled downtimes up-to-date as well? Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Wed Dec 3 16:13:36 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 03 Dec 2008 10:13:36 -0500 Subject: Nagios checks and DNS queries In-Reply-To: <49369E80.2020201@sliderule.demon.co.uk> References: <970506B41B3EF1C4C2B9C6BF@file.wkd-druck.org> <493668E7.2080201@sliderule.demon.co.uk> <49368A3E.5020702@collaborativefusion.com> <49369E80.2020201@sliderule.demon.co.uk> Message-ID: <4936A220.60409@collaborativefusion.com> Steve Burton wrote: > Sean, > > I reason I set up the slave server was so my nagios instance could > monitor the 'real' DNS servers by name and check the host and other > services on those hosts (they're Windows DCs) even if (or especially > if) the DNS service had failed. That makes sense. We make use of the options in resolv.conf to allow us to reboot the DNS servers without causing any interruptions. For Dirk though, this isn't so much a Nagios or monitoring issue as it is a general *nix one. The real question here is why the DNS servers become unavailable so frequently. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Dec 3 16:21:53 2008 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 3 Dec 2008 10:21:53 -0500 Subject: Failover monitoring and acknowlegements In-Reply-To: References: Message-ID: Er, both servers are Nagios 3.0.5 running on CentOS 5.2, sorry. From: Chris Beattie [mailto:cbeattie at geninfo.com] Sent: Wednesday, December 03, 2008 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Failover monitoring and acknowlegements I'm setting Nagios up in a failover configuration like is described in the documentation, with the primary server feeding check results to the failover server via NSCA. That part's working fine, but is there a good way to also keep host and service comments, acknowledgements, and scheduled downtimes up-to-date as well? This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Wed Dec 3 16:20:20 2008 From: jbroughton at truecos.com (Jayson Broughton) Date: Wed, 3 Dec 2008 08:20:20 -0700 Subject: Monitoring HP Hardware - NRPE/NSCA on Windows In-Reply-To: References: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> Message-ID: <010101c9555a$a94ec860$fbec5920$@com> Hey Curtis, I can vouch for the check-hpasm utility that Gerhard recommends. We run a shop of 20+ HP servers (all sorts of HP servers) and I use the check-hpasm utility for our redhat servers. This utility has saved my neck a few times when hardware has failed in remote sites. What I have done was install the plugin under /usr/nagios/libexec/ and called it from the nagios server via nrpe. Although the only problem I do have with the plugin is that at times it will give false readings on the first check, but cleared on the 2nd check. Logs from hpasmcli show nothing, so I would assume it has something to do with the plugin being called by nrpe and just hiccupping. I solved this by setting my notification thresholds for the service to notify via email after the 3rd check. Here's what a memory module error looks like: CRITICAL - dimm module 5 @ cartridge 2 needs attention (dimm is degraded) And in a perfect world: OK - System: `proliant dl585 g1', S/N: 'xxxxxxxxx',ROM:A01 02/14/2007', hardware working fine Jayson From: Gerhard Lausser [mailto:Gerhard.Lausser at consol.de] Sent: Wednesday, December 03, 2008 5:57 AM To: 'Curtis LaMasters'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring HP Hardware - NRPE/NSCA on Windows Hi Curtis, with http://www.consol.com/opensource/nagios/check-hpasm you have two possibilities local (linux): the plugin runs on the HP and parses the output of the hpasmcli command remote (linux,windows): the plugin runs on the Nagios server and uses SNMP In both cases you need to install the hpasm RPM or the Windows Insight Management Agents. Gerhard _____ Von: Curtis LaMasters [mailto:curtislamasters at gmail.com] Gesendet: Dienstag, 2. Dezember 2008 23:17 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Monitoring HP Hardware - NRPE/NSCA on Windows What is the best method for doing this. I would prefer to have some sort of script that parses information on the remote host on HP hardware. I have found a few that use SNMP but I'm not sure how that works with NRPE/NSCA. For Dell hardware I use check_dell.exe from http://www.itefix.no . Anything similar would be great. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Wed Dec 3 17:09:18 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 3 Dec 2008 16:09:18 -0000 Subject: Failover monitoring and acknowlegements In-Reply-To: References: Message-ID: For just a failover installation, are there any issues with rsyncing the files from master to slave every minute? -- "Watch out for that tree" Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 8225 8109here Mobile: 07736 481006 Room 1244, BBC Television Centre, Wood Lane, London, W12 7RJ ________________________________ From: Chris Beattie [mailto:cbeattie at geninfo.com] Sent: 03 December 2008 15:22 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Failover monitoring and acknowlegements Er, both servers are Nagios 3.0.5 running on CentOS 5.2, sorry. From: Chris Beattie [mailto:cbeattie at geninfo.com] Sent: Wednesday, December 03, 2008 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Failover monitoring and acknowlegements I'm setting Nagios up in a failover configuration like is described in the documentation, with the primary server feeding check results to the failover server via NSCA. That part's working fine, but is there a good way to also keep host and service comments, acknowledgements, and scheduled downtimes up-to-date as well? This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mothbitten1 at yahoo.com Wed Dec 3 19:20:56 2008 From: mothbitten1 at yahoo.com (Dan McManus) Date: Wed, 3 Dec 2008 10:20:56 -0800 (PST) Subject: problem with timeperiod configuration References: <838042.38400.qm@web35404.mail.mud.yahoo.com> <200812031013.40426.assaf.flatto@ssp.uk.com> Message-ID: <627287.62078.qm@web35406.mail.mud.yahoo.com> There is no space between - and 1, so how do I file a bug report? Thanks! Dan ----- Original Message ---- From: Assaf Flatto To: nagios-users at lists.sourceforge.net Sent: Wednesday, December 3, 2008 3:13:40 AM Subject: Re: [Nagios-users] problem with timeperiod configuration On Tuesday 02 December 2008 23:45:31 Dan McManus wrote: > Notifications aren't sent to a group if a particular line is active in my > timeperiods.cfg file: > > define timeperiod{ > name weekdays > timeperiod_name weekdays > alias Normal Day Coverage > monday 06:00-18:00 > tuesday 06:00-18:00 > wednesday 06:00-18:00 > thursday 06:00-18:00 > friday 06:00-18:00 > } > > define timeperiod{ > name holidays > timeperiod_name holidays > alias U.S. Holidays > > # holidays > january 1 00:00-24:00 ; New Years > 2010-12-31 00:00-24:00 ; New years is on a > Saturday 2012-01-02 00:00-24:00 ; New years is on a Sunday > monday 3 january 00:00-24:00 ; MLK day > monday 3 february 00:00-24:00 ; President's Day > # fine to here > monday -1 may 00:00-24:00 ; Memorial Day (last Monday > in May) > > define timeperiod{ > timeperiod_name tier1-daytime > use weekdays ; Include weekdays > exclude holidays ; Exclude holiday > dates/times defined elsewhere } > > When I have "monday -1 may..." commented out, it works fine, but if not, it > doesn't. Is this a bug, or am I doing something wrong somehow? This is on > both 3.03 and 3.06. > reading the documentation , it looks like the definitions are correct and this might be a bug , one small nitpicking detail - that might make the difference , in the monday -1 may 00:00-24:00 , definition : is the `-` directly attached to the "monday" string os is there a space between them ? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Dec 3 19:39:03 2008 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 3 Dec 2008 13:39:03 -0500 Subject: Failover monitoring and acknowlegements In-Reply-To: References: Message-ID: Well, now you've got me thinking... I thought I couldn't rsync the files because the running Nagios process on the failover server wouldn't notice the changed files. However, if I can have a script run check_nagios via check_by_ssh from a cron job (I don't know yet- I've never used check_by_ssh before), then Nagios doesn't need to be running all the time on the failover server. The cron job can start the failover Nagios if the primary Nagios isn't running, and stop the failover Nagios when the primary returns. Since the configurations on both servers would be the same, rsync could even keep Nagios itself, updated on the failover server without me having to do it manually. From: Paul Weaver [mailto:paul.weaver at bbc.co.uk] Sent: Wednesday, December 03, 2008 11:09 AM To: Chris Beattie; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Failover monitoring and acknowlegements For just a failover installation, are there any issues with rsyncing the files from master to slave every minute? -- "Watch out for that tree" Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 8225 8109here Mobile: 07736 481006 Room 1244, BBC Television Centre, Wood Lane, London, W12 7RJ ________________________________ From: Chris Beattie [mailto:cbeattie at geninfo.com] Sent: 03 December 2008 15:22 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Failover monitoring and acknowlegements Er, both servers are Nagios 3.0.5 running on CentOS 5.2, sorry. From: Chris Beattie [mailto:cbeattie at geninfo.com] Sent: Wednesday, December 03, 2008 9:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Failover monitoring and acknowlegements I'm setting Nagios up in a failover configuration like is described in the documentation, with the primary server feeding check results to the failover server via NSCA. That part's working fine, but is there a good way to also keep host and service comments, acknowledgements, and scheduled downtimes up-to-date as well? This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Wed Dec 3 21:01:05 2008 From: albrecht.dress at arcor.de (Albrecht =?iso-8859-1?b?RHJl3w==?=) Date: Wed, 03 Dec 2008 21:01:05 +0100 Subject: Time Conversion Bug (Was: no email notifications sent) In-Reply-To: <1228165169.5306.0@antares> (from albrecht.dress@arcor.de on Mon Dec 1 21:59:22 2008) References: <1228165169.5306.0@antares> Message-ID: <1228334472.5351.0@antares> Hi all: Am 01.12.08 21:59 schrieb(en) Albrecht Dre?: > I have a self-compiled nagios 3.0.5 running on a 64-bit Xeon box with > Ubuntu 8.04 LTS. Everything went perfectly (including notifications) > until I upgraded from 3.0.1 (iirc) to 3.0.5 during a bigger service > downtime (inter alia shifting the box into an other network etc). After adding tons of debug messages, I was finally able to track down the problem. The problem is that I added a german holiday in the form october 3 00:00-00:00 In function (all inbase/utils.c) check_time_against_period(), the start time was calculated by calculate_time_from_day_of_month() as 1222988400 (Fri Oct 3 01:00:00 2008), but the end time as 1222984800 (Fri Oct 3 00:00:00 2008), which is /before/ the start, and therefore the time span was expanded to a whole year, i.e. the end now was Oct 3, 2009... Looking deeper into function calculate_time_from_day_of_month(), this is apparently caused by a wrong usage of the call to mktime(), as the field tm_isdst is /not/ initialised properly. The observed 1 hour offset seems to come from an earlier call to this function which returned an active dst flag. According to the IEEE Std 1003.1 [1], the field tm_isdst /is/ used in the time conversion, and should be set to -1 if the dst status is unknown (you may want to write a small test app, setting this flag to -1, 0 or 1 to observe the effect). As mktime() is used frequently in the code without properly initialising this field, this seems to be a systematic bug which can trigger interesting effects in nagios. Any opinions? Best, Albrecht. [1] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHorowitz at looksmart.net Thu Dec 4 00:45:37 2008 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Wed, 3 Dec 2008 15:45:37 -0800 Subject: Checking for Apache Errors Message-ID: I?m trying to check my apache logs to make sure there is not more than a reasonable number of 404 errors for any given chunk of time. Does anyone have a apache log checking plugin? I would prefer something that allowed me to alarm if the number of 404s exceeded a certain percentage. I didn?t see anything on nagiosexchange, and check_log is a bit too generic for what I?m trying to do. If nothing exists, I?ll probably write something. -- Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2151 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Thu Dec 4 00:58:42 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Wed, 3 Dec 2008 18:58:42 -0500 Subject: SPAM: : Checking for Apache Errors In-Reply-To: References: Message-ID: <79B77295FBC9F247A32A6C98B67B1E1408BE9C@srv-1exch01.sourceinterlink.com> I would really recommend Splunk for this task over Nagios...assuming you don't generate more than 500 MB of logs per day, it's free! Assuming you really wanted to do it in Nagios, you'd probably be stuck writing your own plugin in C in order to make it fast enough to comb throw MB of logs without too much overhead (like the Nagios avail.cgi does...) -Jake ________________________________ From: Jonah Horowitz [mailto:JHorowitz at looksmart.net] Sent: Wednesday, December 03, 2008 6:46 PM To: nagios-users at lists.sourceforge.net Subject: SPAM: :[Nagios-users] Checking for Apache Errors I'm trying to check my apache logs to make sure there is not more than a reasonable number of 404 errors for any given chunk of time. Does anyone have a apache log checking plugin? I would prefer something that allowed me to alarm if the number of 404s exceeded a certain percentage. I didn't see anything on nagiosexchange, and check_log is a bit too generic for what I'm trying to do. If nothing exists, I'll probably write something. -- Jonah Horowitz * Monitoring Manager * jhorowitz at looksmart.net W: 415-348-7694 * F: 415-348-7033 * M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From novin.jaiswal at ishisystems.com Thu Dec 4 02:08:51 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Wed, 3 Dec 2008 20:08:51 -0500 Subject: Nagiosgraph graphs have gaps In-Reply-To: <4932443C.2020806@vanderkooij.org> References: <19010023454.20081129215201@sliderule.demon.co.uk> <4932443C.2020806@vanderkooij.org> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB554E@exchange.ishisystems.com> Hi Hugo, Thanks for the reply I am also facing the same issue. As per you suggestion I have gone through the archieve and found one big thread regarding Nagios graph gap. https://sourceforge.net/mailarchive/message.php?msg_id=007301c84e20$4def 0850$98ad38a6 at na.dsmain.com In the thread the working solution as per people is but when I went through the it then found We need to make change in ngraph.ncfg but in current nagiosgraph there is no such file. Pls guide how to solve graph this gap issue. In my machine heartbeat is 600 sec and perf_file_iterval is 60 sec. thanks ================================================== Hi, the old NagiosGrapher interfaces (network/pipe) can cause huge latency :-(. Thanks to a patch we got there is a new interface type "file". The main advantages of this new interface are: * no gaps any more * no latency caused by NagiosGrapher * restarting NagiosGrapher does not cause any gaps I am sorry but the documentation totally lacks this interface. But below is all you need. Cheers, Gerd =20 ngraph.ncfg: interface file perffile_path /dev/shm nagios.cfg: process_performance_data=1 service_perfdata_file=/dev//shm/service-perfdata service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT $\t$SERVICEPERFDATA$\t$TIMET$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=60 service_perfdata_file_processing_command=3Dprocess-service-perfdata-file commands.cfg: define command{ command_name process-service-perfdata-file command_line mv /dev/shm/service-perfdata /dev/shm/service-perfdata.$TIMET$ } ================================================== Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Sunday, November 30, 2008 2:44 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagiosgraph graphs have gaps -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Burton wrote: > Hi, > > I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to > generate rrd's on the data. I'm visualizing the data with both > nagiosgraph and drraw. > > My problem is that the graphs have gaps so I guessing that the rrd's > are not being updated. I'm concentrating on just one service for > debugging and I've run the plugin (which I wrote) from the > command-line many times for a local server and I haven't seen it fail > to connect or report or to time out. It is as though nagios is not > checking the service within the heartbeat of the rrd's in question. I > have set the service check interval to 5 minutes, which I believe to > be the default nagiosgraph step time and the heartbeat is set to the > nagiosgraph default of 600 seconds. > > Can anyone advise me if if this is likely to be the problem and if not > how I can diagnose what is actually going on? I have put a diagnose on the mailinglist for something that is either the same problem or something similar. The problem is that nagios can send several commands into the pipe at once and the other end will only pick up one of them. So the RRD info is not written. The work around is not to allow Nagios to run things in parallel. But it will severly limit the amount of hosts and services one can check with Nagios. This should have been fixed by using the file interface instead of the named pipe. The file interface was introduced about a year ago or even longer back. Please check the mailinglist archives for more details. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJMkQ7BvzDRVjxmYERAvbnAJ437P/4IPK4y2+YRsNdbVvHaqhj6wCePfVN 8qFj5i9wvSodNJCwjlLjUo8= =ymW7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.bourdeau at dga.defense.gouv.fr Thu Dec 4 08:10:31 2008 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Thu, 4 Dec 2008 08:10:31 +0100 Subject: RE Checking for Apache Errors In-Reply-To: References: Message-ID: Hi, Have you checked check_logfiles ? It stands on http://www.consol.com/opensource/nagios/check_logfiles. With this plugin, you can specify your needs. Hope it ma help you Greetings Cordialement [ENVOYE PAR INTERNET] ---------------------------------------------------- Frank BOURDEAU tel: 0241936560 fax: 0241936681 frank.bourdeau at dga.defense.gouv.fr "Jonah Horowitz" 04/12/2008 00:45 A cc Objet [Nagios-users] Checking for Apache Errors I?m trying to check my apache logs to make sure there is not more than a reasonable number of 404 errors for any given chunk of time. Does anyone have a apache log checking plugin? I would prefer something that allowed me to alarm if the number of 404s exceeded a certain percentage. I didn?t see anything on nagiosexchange, and check_log is a bit too generic for what I?m trying to do. If nothing exists, I?ll probably write something. -- Jonah Horowitz ? Monitoring Manager ? jhorowitz at looksmart.net W: 415-348-7694 ? F: 415-348-7033 ? M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/octet-stream Size: 2151 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manish at gslab.com Thu Dec 4 09:07:26 2008 From: manish at gslab.com (Manish Sapariya) Date: Thu, 04 Dec 2008 13:37:26 +0530 Subject: Monitoring HP Hardware - NRPE/NSCA on Windows In-Reply-To: <010101c9555a$a94ec860$fbec5920$@com> References: <6b13ab0f0812021417h1d72c78dlec7081369770638d@mail.gmail.com> <010101c9555a$a94ec860$fbec5920$@com> Message-ID: <49378FBE.6040905@gslab.com> Hey Jason, I have been trying to get hpasm on FC8. However I could not get it working at all. I just wanted to if you have done any FC8 HP proliant GL 360 monitoring using check_hpasm. I can share detail info, if you have any idea. Thanks for any hints. Regards, Manish Jayson Broughton wrote: > Hey Curtis, > > > > I can vouch for the check-hpasm utility that Gerhard recommends. We run a > shop of 20+ HP servers (all sorts of HP servers) and I use the check-hpasm > utility for our redhat servers. This utility has saved my neck a few times > when hardware has failed in remote sites. What I have done was install the > plugin under /usr/nagios/libexec/ and called it from the nagios server via > nrpe. Although the only problem I do have with the plugin is that at times > it will give false readings on the first check, but cleared on the 2nd > check. Logs from hpasmcli show nothing, so I would assume it has something > to do with the plugin being called by nrpe and just hiccupping. I solved > this by setting my notification thresholds for the service to notify via > email after the 3rd check. > > > > Here's what a memory module error looks like: > > CRITICAL - dimm module 5 @ cartridge 2 needs attention (dimm is degraded) > > > > And in a perfect world: > > OK - System: `proliant dl585 g1', S/N: 'xxxxxxxxx',ROM:A01 02/14/2007', > hardware working fine > > > > Jayson > > > > From: Gerhard Lausser [mailto:Gerhard.Lausser at consol.de] > Sent: Wednesday, December 03, 2008 5:57 AM > To: 'Curtis LaMasters'; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring HP Hardware - NRPE/NSCA on Windows > > > > Hi Curtis, > > > > with http://www.consol.com/opensource/nagios/check-hpasm you have two > possibilities > > local (linux): the plugin runs on the HP and parses the output of the > hpasmcli command > > remote (linux,windows): the plugin runs on the Nagios server and uses SNMP > > > > In both cases you need to install the hpasm RPM or the Windows Insight > Management Agents. > > > > Gerhard > > > > > _____ > > > Von: Curtis LaMasters [mailto:curtislamasters at gmail.com] > Gesendet: Dienstag, 2. Dezember 2008 23:17 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Monitoring HP Hardware - NRPE/NSCA on Windows > > What is the best method for doing this. I would prefer to have some sort of > script that parses information on the remote host on HP hardware. I have > found a few that use SNMP but I'm not sure how that works with NRPE/NSCA. > For Dell hardware I use check_dell.exe from http://www.itefix.no > . Anything similar would be great. > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > > The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Thu Dec 4 10:41:07 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Thu, 4 Dec 2008 10:41:07 +0100 Subject: Nagios-Object perl module for Nagios 3.x Message-ID: <184E3F696E604341B2D96227FFD0B8C59286B52E@dnce02.ent.ti.com> Hello, Do you know a substitute of Nagios-Object Perl module working with Nagios 3.x. The one from http://search.cpan.org/~tobeya/Nagios-Object/ seems broken. Thanks a lot. Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Thu Dec 4 11:35:25 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 4 Dec 2008 10:35:25 +0000 Subject: problem with timeperiod configuration In-Reply-To: <627287.62078.qm@web35406.mail.mud.yahoo.com> References: <838042.38400.qm@web35404.mail.mud.yahoo.com> Message-ID: <200812041035.26161.assaf.flatto@ssp.uk.com> Dan , The reason i asked is - in the Documentation , there is a space , and maybe that is the issue . i think it is worth a shot to try with the space and test it before you report a bug ? Assaf On Wednesday 03 December 2008 18:20:56 Dan McManus wrote: > There is no space between - and 1, so how do I file a bug report? > > Thanks! > > Dan -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Thu Dec 4 17:08:18 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 4 Dec 2008 14:08:18 -0200 Subject: Ndo2db insert issues? Message-ID: Hello! I'm using Nagios 3.0.3 and mysql Ver 14.12 Distrib 5.0.45. I'm having problem getting data from the database. The "nagios_hoststatus" table is not fullfilled with the new hosts data, old hosts have their data correctly presented at the table. Have a look at the selects below: mysql> SELECT DISTINCT nagios_hosts.host_object_id,nagios_hosts.display_name FROM nagios_hosts WHERE (nagios_hosts.display_name LIKE '%SV_%'); +----------------+--------------+ | host_object_id | display_name | +----------------+--------------+ | 655 | SV_1 | | 656 | SV_2 | | 657 | SV_3 | +----------------+--------------+ mysql> SELECT DISTINCT nagios_hoststatus.current_state FROM nagios_hoststatus WHERE nagios_hoststatus.host_object_id=655; +---------------+ | current_state | +---------------+ | 0 | +---------------+ mysql> SELECT DISTINCT nagios_hoststatus.current_state FROM nagios_hoststatus WHERE nagios_hoststatus.host_object_id=657; Empty set (0.00 sec) Can someone please point me what's wrong? Nothing is written at the log files. -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Thu Dec 4 19:09:47 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 4 Dec 2008 18:09:47 -0000 Subject: SPAM: : Checking for Apache Errors In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1408BE9C@srv-1exch01.sourceinterlink.com> References: <79B77295FBC9F247A32A6C98B67B1E1408BE9C@srv-1exch01.sourceinterlink.com> Message-ID: I just ran through a 639,000 line gz compressed apache log file, using zcat access.log.gz|awk '{print $9}'|sort|uniq -c in 7 seconds That gives you the return code (404, 302, 200), and the number. Percenting it is an exercise for the reader, but something like tac /var/log/apache/access.log|head -10000|awk '{print $9}'|sort|uniq -c -- There is no time like the present for postponing what you ought to be doing. Paul Weaver Systems Development Engineer News Production Facilities, BBC News ________________________________ From: Paulus, Jake [mailto:jpaulus at sourceinterlink.com] Sent: 03 December 2008 23:59 To: Jonah Horowitz; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SPAM: : Checking for Apache Errors I would really recommend Splunk for this task over Nagios...assuming you don't generate more than 500 MB of logs per day, it's free! Assuming you really wanted to do it in Nagios, you'd probably be stuck writing your own plugin in C in order to make it fast enough to comb throw MB of logs without too much overhead (like the Nagios avail.cgi does...) -Jake ________________________________ From: Jonah Horowitz [mailto:JHorowitz at looksmart.net] Sent: Wednesday, December 03, 2008 6:46 PM To: nagios-users at lists.sourceforge.net Subject: SPAM: :[Nagios-users] Checking for Apache Errors I'm trying to check my apache logs to make sure there is not more than a reasonable number of 404 errors for any given chunk of time. Does anyone have a apache log checking plugin? I would prefer something that allowed me to alarm if the number of 404s exceeded a certain percentage. I didn't see anything on nagiosexchange, and check_log is a bit too generic for what I'm trying to do. If nothing exists, I'll probably write something. -- Jonah Horowitz * Monitoring Manager * jhorowitz at looksmart.net W: 415-348-7694 * F: 415-348-7033 * M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Shapiro at sas.com Thu Dec 4 19:27:25 2008 From: David.Shapiro at sas.com (David Shapiro) Date: Thu, 4 Dec 2008 13:27:25 -0500 Subject: nohup and check_nrpe and timeout Message-ID: Hello, I wrote something that starts a python script to check weblogic that if it sees it is not running starts it. The problem is that it takes several minutes to start. I tried in my script to just nohup and background the process that also says it is starting and exists with a 1. For some reason though even though I do a nohup and background, it does not run with a nohup. It times out. Is there a way to do this? Why is check_nrpe maxed for 60 seconds? Why will it not recognize I just used a nohup and background? David ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Thu Dec 4 21:05:35 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Thu, 4 Dec 2008 14:05:35 -0600 (CST) Subject: Where in the docs... Message-ID: ...could I find information on macro definition and substitution? Comments in various places describe "$HOSTADDRESS$" as some kind of macro substitution, and other examples show multiple sets of parameters in somewhat strange syntax in service invocations (and refer to $ARG1$ and such), but I haven't found where these things are actually documented or explained at all. I've been able to write a number of new service, command, and a couple of host definitions, even some that use parameters, and they work, which is nice (and even useful, already), but I need to understand macros more; are they pre-coded, which ones exist, and so forth. I'm sure the way I'm doing things now is repeating things a lot more than is necessary (yes, I've looked at the tip for multiple hosts with the same services, etc., and I do understand at least some of them). -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Thu Dec 4 21:48:18 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Thu, 04 Dec 2008 20:48:18 +0000 Subject: Where in the docs... In-Reply-To: References: Message-ID: <49384212.9000903@networkmail.eu> Hi David, This explains how macros work: http://nagios.sourceforge.net/docs/3_0/macros.html This is the list of macros available: http://nagios.sourceforge.net/docs/3_0/macrolist.html I assume you're using Nagios 3.0 - replace 3_0 as appropriate in the URL if you're not. Hope this helps, Andy David Dyer-Bennet wrote: > ...could I find information on macro definition and substitution? > Comments in various places describe "$HOSTADDRESS$" as some kind of macro > substitution, and other examples show multiple sets of parameters in > somewhat strange syntax in service invocations (and refer to $ARG1$ and > such), but I haven't found where these things are actually documented or > explained at all. > > I've been able to write a number of new service, command, and a couple of > host definitions, even some that use parameters, and they work, which is > nice (and even useful, already), but I need to understand macros more; are > they pre-coded, which ones exist, and so forth. I'm sure the way I'm > doing things now is repeating things a lot more than is necessary (yes, > I've looked at the tip for multiple hosts with the same services, etc., > and I do understand at least some of them). > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Thu Dec 4 22:17:27 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Thu, 4 Dec 2008 15:17:27 -0600 (CST) Subject: Where in the docs... In-Reply-To: <49384212.9000903@networkmail.eu> References: <49384212.9000903@networkmail.eu> Message-ID: <8140685619e8e0ec8788f4785da71760.squirrel@webmail.dd-b.net> On Thu, December 4, 2008 14:48, Andy Shellam wrote: > This explains how macros work: > http://nagios.sourceforge.net/docs/3_0/macros.html Thanks very much, that's just what I need. And now of course I see how I should have found it myself. I was getting lost enough in the documentation navigation that I just didn't look closely enough at the TOC (should have used text search, much more reliable than the Mark I eyeball). -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Thu Dec 4 23:01:40 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Thu, 4 Dec 2008 22:01:40 +0000 Subject: Nagiosgraph graphs have gaps In-Reply-To: <829156913.20081203014210@sliderule.demon.co.uk> References: <19010023454.20081129215201@sliderule.demon.co.uk> <4932443C.2020806@vanderkooij.org> <1963696421.20081130165128@sliderule.demon.co.uk> <829156913.20081203014210@sliderule.demon.co.uk> Message-ID: <16810484822.20081204220140@sliderule.demon.co.uk> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> Steve Burton wrote: >>>> Hi, >>>> >>>> I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to >>>> generate rrd's on the data. I'm visualizing the data with both >>>> nagiosgraph and drraw. >>>> >>>> My problem is that the graphs have gaps so I guessing that the rrd's >>>> are not being updated. I'm concentrating on just one service for >>>> debugging and I've run the plugin (which I wrote) from the >>>> command-line many times for a local server and I haven't seen it fail >>>> to connect or report or to time out. It is as though nagios is not >>>> checking the service within the heartbeat of the rrd's in question. I >>>> have set the service check interval to 5 minutes, which I believe to >>>> be the default nagiosgraph step time and the heartbeat is set to the >>>> nagiosgraph default of 600 seconds. >>>> >>>> Can anyone advise me if if this is likely to be the problem and if not >>>> how I can diagnose what is actually going on? >>> I have put a diagnose on the mailinglist for something that is either >>> the same problem or something similar. >>> The problem is that nagios can send several commands into the pipe at >>> once and the other end will only pick up one of them. So the RRD info is >>> not written. The work around is not to allow Nagios to run things in >>> parallel. But it will severly limit the amount of hosts and services one >>> can check with Nagios. >>> This should have been fixed by using the file interface instead of the >>> named pipe. The file interface was introduced about a year ago or even >>> longer back. >>> Please check the mailinglist archives for more details. >>> Hugo. >> Hugo, >> I have the following in my nagios.cfg >> # grep service_perfdata ../nagios.cfg|grep -v # >> service_perfdata_file=/var/spool/nagios/perfdata.log >> service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ >> service_perfdata_file_mode=a >> service_perfdata_file_processing_interval=30 >> service_perfdata_file_processing_command=process-service-perfdata >> Also, the perfdata.log file size changes with time, all of which seems >> to suggest to me that I'm using the file interface. Is this correct? >> Steve. > talking to myself.... > I've tweaked one plugin to write a log file. So far I'm getting an > entry about every five minutes, as expected but I'll see what happens > after daybreak when things get busy. > If this test succeeds I'll try taking apart an rrd but I've been > putting that off. > Steve. I cocked-up the first attempt but I think I've corrected that now. The log shows that the plugin is apparently not being called every five minutes. There are gaps. The longest gap I've seen is several hours long. The gaps are not the same for each server so I'll re-examine the plugin to ensure it's not failing *before* the log entry is written. BTW I set up nagiosgraph according to the 'new' method in the INSTALL file that came with the source. Steve. >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Fri Dec 5 00:08:34 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Thu, 4 Dec 2008 17:08:34 -0600 (CST) Subject: Testing the configuration Message-ID: <69569cc8d63de4429441db6ccd1f84a4.squirrel@webmail.dd-b.net> Since the top configuration file, at least in the examples I have, gives absolute paths to the other config files it specifies, it makes it hard to test a configuration before putting it into production (short of a separate test system, perhaps a virtual one). Are those absolute paths needed? The doc gives examples showing absolute paths, and doesn't talk about what a relative path would mean (but doesn't say it's forbidden, either). Are relative paths allowed? Can we predict what they'd be relative to? Running Nagios 2.10 (due to Centos 5 packaging). -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Dec 5 00:10:11 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 05 Dec 2008 00:10:11 +0100 Subject: Where in the docs... In-Reply-To: <8140685619e8e0ec8788f4785da71760.squirrel@webmail.dd-b.net> References: <49384212.9000903@networkmail.eu> <8140685619e8e0ec8788f4785da71760.squirrel@webmail.dd-b.net> Message-ID: <49386353.5080003@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Dyer-Bennet wrote: > On Thu, December 4, 2008 14:48, Andy Shellam wrote: > >> This explains how macros work: >> http://nagios.sourceforge.net/docs/3_0/macros.html > > Thanks very much, that's just what I need. > > And now of course I see how I should have found it myself. I was getting > lost enough in the documentation navigation that I just didn't look > closely enough at the TOC (should have used text search, much more > reliable than the Mark I eyeball). Well. The Mk I eyeball combined with the heuristic algorithms installed in the Mk I brain can still deliver stunning results. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJOGNRBvzDRVjxmYERAvYNAJ9YWX9rA/hYwTlDlK/fEy4IRg/jJQCfVR7Y 5UMtXDp1m11rITeeNNBgHdE= =CXjC -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Fri Dec 5 00:29:20 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Thu, 4 Dec 2008 17:29:20 -0600 (CST) Subject: Confusing error message Message-ID: Nagios 2.10 is giving me an actively misleading error message. In this segment of log, it says I have an invalid "retry_interval" possibly; then, when I add one (there was none), it says that "retry_interval" is an invalid directive. I'm assuming that reading the config docs will tell me what the real name is, this is just a grouse about the incorrect error. Error: Invalid max_attempts, check_interval, retry_interval, or notification_int erval value for service '$HOSTNAME$ ssh' on host 'prcapp02' Error: Could not register service (config file '/etc/nagios/modcl.cfg', starting on line 42) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [ddb at prcapp00 dev]$ ./install.sh [ddb at prcapp00 dev]$ nagios -v /etc/nagios/nagios.cfg Nagios 2.10 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 10-21-2007 License: GPL Reading configuration data... Error: Cannot open resource file '/etc/nagios/private/resource.cfg' for reading! Error: Invalid host object directive 'retry_interval'. Error: Could not add object property in file '/etc/nagios/linux.cfg' on line 21. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 00:37:45 2008 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2008 17:37:45 -0600 Subject: Testing the configuration In-Reply-To: <69569cc8d63de4429441db6ccd1f84a4.squirrel@webmail.dd-b.net> References: <69569cc8d63de4429441db6ccd1f84a4.squirrel@webmail.dd-b.net> Message-ID: On Dec 4, 2008, at 5:08 PM, David Dyer-Bennet wrote: > separate test system, perhaps a virtual one). Are those absolute > paths > needed? The doc gives examples showing absolute paths, and doesn't > talk > about what a relative path would mean (but doesn't say it's forbidden, > either). Are relative paths allowed? Can we predict what they'd be > relative to? Simple enough TAFO question. Answers appear to be no, yes and yes respectively but absolute paths eliminate much confusion -- editing ~nagios/etc/nagios.cfg to specify -- cfg_file=etc/template.cfg * Testing from ~nagios is successful -- nagios]$ bin/nagios -v etc/nagios.cfg Nagios 2.7 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 01-19-2007 License: GPL Reading configuration data... ... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre- flight check * Testing from ~nagios/bin fails -- bin]$ ./nagios -v ../etc/nagios.cfg Nagios 2.7 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 01-19-2007 License: GPL Reading configuration data... Error: Cannot open config file 'etc/template.cfg' for reading: No such file or directory ***> One or more problems was encountered while processing the config files... * Editing ~nagios/etc/nagios.cfg to specify -- cfg_file=../etc/template.cfg results in successful test -- bin]$ ./nagios -v ../etc/nagios.cfg Nagios 2.7 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 01-19-2007 License: GPL Reading configuration data... ... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre- flight check So it appears possible but the paths must be referenced from your current working directory (PWD). That's fine when launched manually since you can always cd to the correct directory to test from but when launched via script, care must be taken to ensure that PWD is correct. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 00:56:06 2008 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2008 17:56:06 -0600 Subject: Confusing error message In-Reply-To: References: Message-ID: <43EDA874-3A56-4933-B982-85EB64723F5D@ena.com> On Dec 4, 2008, at 5:29 PM, David Dyer-Bennet wrote: > Nagios 2.10 is giving me an actively misleading error message. In > this > segment of log, it says I have an invalid "retry_interval" possibly; > then, > when I add one (there was none), it says that "retry_interval" is an > invalid directive. I'm assuming that reading the config docs will > tell me > what the real name is, this is just a grouse about the incorrect > error. > Error: Invalid max_attempts, check_interval, retry_interval, or > notification_int > erval value for service '$HOSTNAME$ ssh' on host 'prcapp02' > Error: Could not register service (config file '/etc/nagios/ > modcl.cfg', > starting on line 42) Agreed. It's retry_check_interval for service objects in nagios-2.x and was changing to retry_interval for nagios-3. (p.s. your use of $HOSTNAME$ here seems to be very unusual and I believe doesn't do what you think it's doing. What were you trying to accomplish? Does it really do that?) > Error: Invalid host object directive 'retry_interval'. > Error: Could not add object property in file '/etc/nagios/linux.cfg' > on > line 21. retry(_check)_interval of any kind has never been valid for host{} objects in 2.x. You tried fixing it in the wrong place and so saw this different error. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Fri Dec 5 01:59:39 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Fri, 5 Dec 2008 00:59:39 +0000 Subject: Nagiosgraph graphs have gaps In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB554E@exchange.ishisystems.com> References: <19010023454.20081129215201@sliderule.demon.co.uk> <4932443C.2020806@vanderkooij.org> <2BA70ED7C7275645B648362FB35913A901EB554E@exchange.ishisystems.com> Message-ID: <1314376811.20081205005939@sliderule.demon.co.uk> > Hi Hugo, > Thanks for the reply I am also facing the same issue. > As per you suggestion I have gone through the archieve and found one big > thread regarding Nagios graph gap. > https://sourceforge.net/mailarchive/message.php?msg_id=007301c84e20$4def > 0850$98ad38a6 at na.dsmain.com > In the thread the working solution as per people is but when I went > through the it then found > We need to make change in ngraph.ncfg but in current nagiosgraph there > is no such file. > Pls guide how to solve graph this gap issue. > In my machine heartbeat is 600 sec and perf_file_iterval is 60 sec. > thanks > ================================================== > Hi, > the old NagiosGrapher interfaces (network/pipe) can cause huge > latency :-(. Thanks to a patch we got there is a new interface type > "file". The main advantages of this new interface are: > * no gaps any more > * no latency caused by NagiosGrapher > * restarting NagiosGrapher does not cause any gaps > I am sorry but the documentation totally lacks this interface. But below > is all you need. > Cheers, > Gerd > =20 > ngraph.ncfg: > interface file > perffile_path /dev/shm > nagios.cfg: > process_performance_data=1 > service_perfdata_file=/dev//shm/service-perfdata > service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT > $\t$SERVICEPERFDATA$\t$TIMET$ > service_perfdata_file_mode=a > service_perfdata_file_processing_interval=60 > service_perfdata_file_processing_command=3Dprocess-service-perfdata-file > commands.cfg: > define command{ > command_name process-service-perfdata-file > command_line > mv /dev/shm/service-perfdata /dev/shm/service-perfdata.$TIMET$ > } > ================================================== > Thanks & Regards > Novin Jaiswal > Ishi Systems Inc. > 201-521-3155(Direct) > 732-318-8156(Cell) > -----Original Message----- > From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] > Sent: Sunday, November 30, 2008 2:44 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Nagiosgraph graphs have gaps > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Steve Burton wrote: >> Hi, >> >> I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to >> generate rrd's on the data. I'm visualizing the data with both >> nagiosgraph and drraw. >> >> My problem is that the graphs have gaps so I guessing that the rrd's >> are not being updated. I'm concentrating on just one service for >> debugging and I've run the plugin (which I wrote) from the >> command-line many times for a local server and I haven't seen it fail >> to connect or report or to time out. It is as though nagios is not >> checking the service within the heartbeat of the rrd's in question. I >> have set the service check interval to 5 minutes, which I believe to >> be the default nagiosgraph step time and the heartbeat is set to the >> nagiosgraph default of 600 seconds. >> >> Can anyone advise me if if this is likely to be the problem and if not >> how I can diagnose what is actually going on? > I have put a diagnose on the mailinglist for something that is either > the same problem or something similar. > The problem is that nagios can send several commands into the pipe at > once and the other end will only pick up one of them. So the RRD info is > not written. The work around is not to allow Nagios to run things in > parallel. But it will severly limit the amount of hosts and services one > can check with Nagios. > This should have been fixed by using the file interface instead of the > named pipe. The file interface was introduced about a year ago or even > longer back. > Please check the mailinglist archives for more details. > Hugo. This seems to refer to nagiosgrapher, see: http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1659.html whereas I'm trying to set up nagiosgraph, see: http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1501.html Steve. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Dec 5 05:16:15 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 04 Dec 2008 23:16:15 -0500 Subject: nohup and check_nrpe and timeout In-Reply-To: References: Message-ID: <4938AB0F.7010405@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/12/08 01:27 PM, David Shapiro wrote: > Hello, > > I wrote something that starts a python script to check weblogic that if > it sees it is not running starts it. The problem is that it takes > several minutes to start. I tried in my script to just nohup and > background the process that also says it is starting and exists with a > 1. For some reason though even though I do a nohup and background, it > does not run with a nohup. It times out. Is there a way to do this? > Why is check_nrpe maxed for 60 seconds? Why will it not recognize I > just used a nohup and background? nrpe is definitely not the best way to do it, but here's some insights on what you could try: 1. I think the 60 second timeout is configurable in nrpe.conf 2. You can start nohup with setsid to run it in a new session. You can possibly avoid the use of nohup at all by closing stdin/out/err (in bash: exec /dev/null; exec 2>/dev/null; setsid ) 3. It's possible that nrpe starts the alarm handler before exec'ing the plugin; try resetting it before running. You could do that in perl: perl -e 'alarm(0); exec ' (actually I think exec in perl will invoke the shell which will get the the signal, so alarm(0) is useless anyway) 4. check_by_ssh has a mode to start the remote program/script and return. You will need to setup an ssh keypair for this to work (don't forget that nagios will run it as the nagios user, do you'll have to set up the keys for that user) - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJOKow6dZ+Kt5BchYRAnxsAKDRiYNHxGkoLGLww6YG5qnGNBbrIACfW6fY WHe4BSKXgC5AH56aTWGWpW0= =sdKI -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Cherrington at rhul.ac.uk Fri Dec 5 10:04:58 2008 From: Stuart.Cherrington at rhul.ac.uk (Cherrington Stuart) Date: Fri, 5 Dec 2008 09:04:58 -0000 Subject: Too many alerts Message-ID: <5332CCE6B7DACF4CA514A1F8141A5D2802626464@EXCH-DB-04.cc.rhul.local> Hi, (Spot the newbie time). I'm running Nagios 2.6 on Debian. The system works fine, but I'm getting more flack from colleagues about the Amount of email they get. Basically, if Nagios spots a problem/Warning/Critical, it emails out until we acknowledge the issue, is there a way to tailor Nagios config so it only emails once? So once for a Warning, once for a Critical, and then once when Resolved? Thanks, Stuart Cherrington Unix Systems Admin Royal Holloway University -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 5 10:36:21 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Dec 2008 10:36:21 +0100 Subject: Too many alerts In-Reply-To: <5332CCE6B7DACF4CA514A1F8141A5D2802626464@EXCH-DB-04.cc.rhul.local> References: <5332CCE6B7DACF4CA514A1F8141A5D2802626464@EXCH-DB-04.cc.rhul.local> Message-ID: <4938F615.4010704@op5.se> Cherrington Stuart wrote: > Hi, > > > > (Spot the newbie time). > > > > I'm running Nagios 2.6 on Debian. The system works fine, but I'm getting > more flack from colleagues about the Amount of email they get. > Basically, if Nagios spots a problem/Warning/Critical, it emails out > until we acknowledge the issue, is there a way to tailor Nagios config > so it only emails once? > > > > So once for a Warning, once for a Critical, and then once when Resolved? > Set "notification_interval" to 0 for all your services. If you're using templates, this should be a fairly quick operation. otherwise, read the sed manpage and you'll be done in a jiffy. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marouane.himdi at kereval.com Fri Dec 5 10:37:31 2008 From: marouane.himdi at kereval.com (Marouane HIMDI) Date: Fri, 5 Dec 2008 10:37:31 +0100 Subject: Too many alerts In-Reply-To: <5332CCE6B7DACF4CA514A1F8141A5D2802626464@EXCH-DB-04.cc.rhul.local> References: <5332CCE6B7DACF4CA514A1F8141A5D2802626464@EXCH-DB-04.cc.rhul.local> Message-ID: <002901c956bd$18a34250$b00aa8c0@pcmhi> This from Nagios doc notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this server is still down or unreachable. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this host - only one problem notification will be sent out. Best regards Dr Marouane HIMDI Ing?nieur R&D/R&D Engineer KEREVAL 4, rue H?l?ne Boucher Z.A. Bellevue 35235 Thorign? Fouillard Tel : +33 (0)2 23 20 36 64 http://www.kereval.com P Pensez ? l'environnement: n'imprimez ce message et ses pi?ces jointes que si n?cessaire ! _____ De : Cherrington Stuart [mailto:Stuart.Cherrington at rhul.ac.uk] Envoy? : vendredi 5 d?cembre 2008 10:05 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Too many alerts Hi, (Spot the newbie time). I?m running Nagios 2.6 on Debian. The system works fine, but I?m getting more flack from colleagues about the Amount of email they get. Basically, if Nagios spots a problem/Warning/Critical, it emails out until we acknowledge the issue, is there a way to tailor Nagios config so it only emails once? So once for a Warning, once for a Critical, and then once when Resolved? Thanks, Stuart Cherrington Unix Systems Admin Royal Holloway University -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2459 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David.Shapiro at sas.com Fri Dec 5 14:37:17 2008 From: David.Shapiro at sas.com (David Shapiro) Date: Fri, 5 Dec 2008 08:37:17 -0500 Subject: nohup and check_nrpe and timeout In-Reply-To: <4938AB0F.7010405@aei.ca> References: <4938AB0F.7010405@aei.ca> Message-ID: Thank you Thomas, this looks like good info. I do not seem to have an executable on Solaris called setsid though. It is listed as a c function. Nrpe.cfg does in fact let you increase the timeout, but I was thinking that will not help because my program remains running in a loop. Re-iterations has it check logs that it is generating. If it is not seen as running, I mentioned that it will just start it again. However, since it is in a loop, I am thinking that nrpe will timeout no matter how much my timeout is set to. The setsid idea looked interesting, but unfortunately I do not see it on my server. The last one I think was using bash to close stdout, stdin, and stderr, but it also used setsid in your example (sigh). The alarm handle idea did not work. That leaves the ssh check age nt. I will look into that today. David -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Thursday, December 04, 2008 11:16 PM To: David Shapiro Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nohup and check_nrpe and timeout -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/12/08 01:27 PM, David Shapiro wrote: > Hello, > > I wrote something that starts a python script to check weblogic that if > it sees it is not running starts it. The problem is that it takes > several minutes to start. I tried in my script to just nohup and > background the process that also says it is starting and exists with a > 1. For some reason though even though I do a nohup and background, it > does not run with a nohup. It times out. Is there a way to do this? > Why is check_nrpe maxed for 60 seconds? Why will it not recognize I > just used a nohup and background? nrpe is definitely not the best way to do it, but here's some insights on what you could try: 1. I think the 60 second timeout is configurable in nrpe.conf 2. You can start nohup with setsid to run it in a new session. You can possibly avoid the use of nohup at all by closing stdin/out/err (in bash: exec /dev/null; exec 2>/dev/null; setsid ) 3. It's possible that nrpe starts the alarm handler before exec'ing the plugin; try resetting it before running. You could do that in perl: perl -e 'alarm(0); exec ' (actually I think exec in perl will invoke the shell which will get the the signal, so alarm(0) is useless anyway) 4. check_by_ssh has a mode to start the remote program/script and return. You will need to setup an ssh keypair for this to work (don't forget that nagios will run it as the nagios user, do you'll have to set up the keys for that user) - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJOKow6dZ+Kt5BchYRAnxsAKDRiYNHxGkoLGLww6YG5qnGNBbrIACfW6fY WHe4BSKXgC5AH56aTWGWpW0= =sdKI -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Dec 5 15:13:57 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 05 Dec 2008 09:13:57 -0500 Subject: nohup and check_nrpe and timeout In-Reply-To: References: <4938AB0F.7010405@aei.ca> Message-ID: <49393725.8080205@aei.ca> On 05/12/08 08:37 AM, David Shapiro wrote: > Thank you Thomas, this looks like good info. I do not seem to have an executable on Solaris called setsid though. It is listed as a c function. Nrpe.cfg does in fact let you increase the timeout, but I was thinking that will not help because my program remains running in a loop. Re-iterations has it check logs that it is generating. If it is not seen as running, I mentioned that it will just start it again. However, since it is in a loop, I am thinking that nrpe will timeout no matter how much my timeout is set to. The setsid idea looked interesting, but unfortunately I do not see it on my server. The last one I think was using bash to close stdout, stdin, and stderr, but it also used setsid in your example (sigh). The alarm handle idea did not work. That leaves the ssh check a gent. I will look into that today. > Try this maybe... http://www.google.com/codesearch?hl=en&q=linux+setsid.c+show:SQhth2SDUWk:_rHMxvw0UiI:7BWeGpnuS2M&sa=N&cd=5&ct=rc&cs_p=ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing/util-linux-2.13-pre7.tar.gz&cs_f=util-linux-2.13-pre7/sys-utils/setsid.c -- Thomas ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rup001 at yahoo.com Fri Dec 5 16:51:38 2008 From: rup001 at yahoo.com (Vuppala) Date: Fri, 5 Dec 2008 21:21:38 +0530 (IST) Subject: Starting nagios server Message-ID: <60796.14024.qm@web94807.mail.in2.yahoo.com> Hi ? ?? When i restart my old nagios?it is?showing?4 processes, when i do grep?looks like below ? XXX?????? 25902??????? 1? 2 Dec01 ???????? 00:30:22 /usr/local/nagios/bin/nagios -d? XXX?????? 25903 25902? 0 Dec01 ???????? 00:00:00 /usr/local/nagios/bin/nagios -d? XXX?????? 25910 25903? 0 Dec01 ???????? 00:00:01 /usr/local/nagios/bin/nagios -d? XXX??? ?? 25919 25903? 0 Dec01 ???????? 00:00:07 /usr/local/nagios/bin/nagios -d ? ?? new nagios which i installed recently, showing one process,?looks like below ? xxx????????1224???? 1? 0 Nov02 ???????? 00:00:11 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg ? ? any idea??what is the difference. ? ? Thanks Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coolmrhonest at yahoo.com Fri Dec 5 17:12:14 2008 From: coolmrhonest at yahoo.com (XYZ XYZ) Date: Fri, 5 Dec 2008 08:12:14 -0800 (PST) Subject: Starting nagios Message-ID: <863683.70935.qm@web111313.mail.gq1.yahoo.com> Hi ? ?? When i restart my old nagios?it is?showing?4 processes, when i do grep?looks like below ? XXX?????? 25902??????? 1? 2 Dec01 ???????? 00:30:22 /usr/local/nagios/bin/nagios -d? XXX?????? 25903 25902? 0 Dec01 ???????? 00:00:00 /usr/local/nagios/bin/nagios -d? XXX?????? 25910 25903? 0 Dec01 ???????? 00:00:01 /usr/local/nagios/bin/nagios -d? XXX??? ?? 25919 25903? 0 Dec01 ???????? 00:00:07 /usr/local/nagios/bin/nagios -d ? ?? new nagios which i installed recently, showing one process,?looks like below ? xxx????????1224???? 1? 0 Nov02 ???????? 00:00:11 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg ? ? any idea??what is the difference. ? ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 5 17:46:18 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 5 Dec 2008 11:46:18 -0500 Subject: Starting nagios In-Reply-To: <863683.70935.qm@web111313.mail.gq1.yahoo.com> References: <863683.70935.qm@web111313.mail.gq1.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB12217@buf-ex01.cymfony.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=123 From: XYZ XYZ [mailto:coolmrhonest at yahoo.com] Sent: Friday, December 5, 2008 11:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Starting nagios Hi When i restart my old nagios it is showing 4 processes, when i do grep looks like below XXX 25902 1 2 Dec01 ? 00:30:22 /usr/local/nagios/bin/nagios -d XXX 25903 25902 0 Dec01 ? 00:00:00 /usr/local/nagios/bin/nagios -d XXX 25910 25903 0 Dec01 ? 00:00:01 /usr/local/nagios/bin/nagios -d XXX 25919 25903 0 Dec01 ? 00:00:07 /usr/local/nagios/bin/nagios -d new nagios which i installed recently, showing one process, looks like below xxx 1224 1 0 Nov02 ? 00:00:11 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg any idea what is the difference. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Fri Dec 5 18:55:38 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Fri, 5 Dec 2008 11:55:38 -0600 (CST) Subject: I don't understand the check_by_ssh plugin Message-ID: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> I'm running Nagios 2.10 (the Centos 5.2 packaged version). I want to do some small local checks on each of a bunch of real and virtual servers, and I really don't want to have to set up Nagios (even a minimal install) on each of them just to check uptime, load average, and disk space. (Mostly I'm testing externally visible services on them.) The documentation on this plugin doesn't seem to tell me anything about what it does with the part of the command output it processes (I see that the -S and -E commands let me prune what command output it looks at). When I run it from the command line simply, I just get the output of the remote command (as if the plugin was just passing it through). I see that I could cause it to produce errors based on how long it takes, but nothing about how to actually use the output. Then I see some tantalizing hints about "passive" mode, where it writes a file that seems to show it doing some parsing and making decisions based on the data (in the example). But I can't get the example to produce a non-empty file from the command line. So I'm pretty sure I'm missing something about how to use this plugin in the first place, or what it's supposed to let me do, or some such. Or, if the answer to what I'm trying to do is some other approach entirely, I'd settle for enlightenment about that! Help? -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Shapiro at sas.com Fri Dec 5 19:36:08 2008 From: David.Shapiro at sas.com (David Shapiro) Date: Fri, 5 Dec 2008 13:36:08 -0500 Subject: nohup and check_nrpe and timeout In-Reply-To: <49393725.8080205@aei.ca> References: <4938AB0F.7010405@aei.ca> <49393725.8080205@aei.ca> Message-ID: Okay, I tried to compile the setsid.c, but it wanted nls.h. I tried to get nls.h, and it wanted types.h, etc etc. I searched around for a version for Solaris, which is what I am using, but I had no luck. I ended up abandoning this idea and tried the check_by_ssh, and this worked fine, so I am good for now I think. The one thing I am not certain about is the comment that when you use the -f option, to disassociate the process from a tty, it says something like if ssh is successful it always returns a success. Is it trying to say that it will ignore my exit codes if I use the -f option?!? That will not work for me if that is the case. Anyway, Thomas,you are absolutely great with passing me this information. I highly appreciate the fact you stepped up and did so. I wish you happy holidays and the best in case I do not hear back from you. David -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Friday, December 05, 2008 9:14 AM To: David Shapiro Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nohup and check_nrpe and timeout On 05/12/08 08:37 AM, David Shapiro wrote: > Thank you Thomas, this looks like good info. I do not seem to have an executable on Solaris called setsid though. It is listed as a c function. Nrpe.cfg does in fact let you increase the timeout, but I was thinking that will not help because my program remains running in a loop. Re-iterations has it check logs that it is generating. If it is not seen as running, I mentioned that it will just start it again. However, since it is in a loop, I am thinking that nrpe will timeout no matter how much my timeout is set to. The setsid idea looked interesting, but unfortunately I do not see it on my server. The last one I think was using bash to close stdout, stdin, and stderr, but it also used setsid in your example (sigh). The alarm handle idea did not work. That leaves the ssh check a gent. I will look into that today. > Try this maybe... http://www.google.com/codesearch?hl=en&q=linux+setsid.c+show:SQhth2SDUWk:_rHMxvw0UiI:7BWeGpnuS2M&sa=N&cd=5&ct=rc&cs_p=ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing/util-linux-2.13-pre7.tar.gz&cs_f=util-linux-2.13-pre7/sys-utils/setsid.c -- Thomas ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Fri Dec 5 19:40:50 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Fri, 05 Dec 2008 18:40:50 +0000 Subject: I don't understand the check_by_ssh plugin In-Reply-To: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> Message-ID: <493975B2.8080001@networkmail.eu> David Dyer-Bennet wrote: > I'm running Nagios 2.10 (the Centos 5.2 packaged version). > > I want to do some small local checks on each of a bunch of real and > virtual servers, and I really don't want to have to set up Nagios (even a > minimal install) on each of them just to check uptime, load average, and > disk space. (Mostly I'm testing externally visible services on them.) > You'd be better off using NRPE - yes, you need NRPE and the Nagios plugins package installed on each remote server, but NRPE takes care of all the parsing output and returning the correct code to Nagios, as well as using the standard plugins so if you have another monitoring requirement in the future (e.g. RAID status or something) you just have to install another plugin - minimal effort! Thanks, Andy ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Fri Dec 5 20:03:23 2008 From: gevery at gmail.com (Gary Every) Date: Fri, 5 Dec 2008 12:03:23 -0700 Subject: I don't understand the check_by_ssh plugin In-Reply-To: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> Message-ID: I, for one, am against any use of check_by_ssh as it requires authorized keys, hence opening a security hole. All scripts can be executed thru snmp. Install it on your servers and use the exec directive to remotely execute the script. The output will return the last line and the exit code from the call, so the check_snmp plugin can work. NOTE: Unless snmp was already installed on your nagios server prior to installing nagios, you'll need to re-run the ./configure, make and make install commands for the plugins, so check_snmp will be compiled in. A simple line in your snmpd.conf file like the one below can be executed from the nagios server: exec checkrootpartition /usr/local/nagios/libexec/check_disk -w 1000 -c 500 -p / -u MB Subsequent exec directives can be added as well. Of course, you'll need to copy the libexec directory over to the remote server (although it's not necessary, you can write your own scripts if you'd like) All parameters will need to be on the line in the snmpd.conf file. Then write a little script on the nagios server to check it. Here's the contents of that script. It DOES require the community name be the same on both servers. In snmpd.conf, edit this line: com2sec readonly default and replace with your made-up string Edit it so that it fits your environment, such as the path to check_snmp and the community string. Now, name it test_snmp and run the script: ./test_snmp 1 where 1 is the ordinal "exec" directive. exec directives in snmpd.conf are numbered as they appear in the file, so the first exec directive is accessed as "1", the second as "2" etc. On Fri, Dec 5, 2008 at 10:55 AM, David Dyer-Bennet wrote: > I'm running Nagios 2.10 (the Centos 5.2 packaged version). > > I want to do some small local checks on each of a bunch of real and > virtual servers, and I really don't want to have to set up Nagios (even a > minimal install) on each of them just to check uptime, load average, and > disk space. (Mostly I'm testing externally visible services on them.) > > The documentation on this plugin doesn't seem to tell me anything about > what it does with the part of the command output it processes (I see that > the -S and -E commands let me prune what command output it looks at). > > When I run it from the command line simply, I just get the output of the > remote command (as if the plugin was just passing it through). I see that > I could cause it to produce errors based on how long it takes, but nothing > about how to actually use the output. > > Then I see some tantalizing hints about "passive" mode, where it writes a > file that seems to show it doing some parsing and making decisions based > on the data (in the example). But I can't get the example to produce a > non-empty file from the command line. > > So I'm pretty sure I'm missing something about how to use this plugin in > the first place, or what it's supposed to let me do, or some such. > > Or, if the answer to what I'm trying to do is some other approach > entirely, I'd settle for enlightenment about that! > > Help? > -- > David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ > Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ > Photos: http://dd-b.net/photography/gallery/ > Dragaera: http://dragaera.info > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Dec 5 20:26:41 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 5 Dec 2008 11:26:41 -0800 Subject: I don't understand the check_by_ssh plugin In-Reply-To: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> Message-ID: <20081205192641.GL26044@bakgwai.americas.hpqcorp.net> On Fri, 05 Dec 2008, David Dyer-Bennet wrote: > I'm running Nagios 2.10 (the Centos 5.2 packaged version). > > I want to do some small local checks on each of a bunch of real and > virtual servers, and I really don't want to have to set up Nagios (even a > minimal install) on each of them just to check uptime, load average, and > disk space. (Mostly I'm testing externally visible services on them.) > > The documentation on this plugin doesn't seem to tell me anything about > what it does with the part of the command output it processes (I see that > the -S and -E commands let me prune what command output it looks at). > > When I run it from the command line simply, I just get the output of the > remote command (as if the plugin was just passing it through). I see that > I could cause it to produce errors based on how long it takes, but nothing > about how to actually use the output. > > Then I see some tantalizing hints about "passive" mode, where it writes a > file that seems to show it doing some parsing and making decisions based > on the data (in the example). But I can't get the example to produce a > non-empty file from the command line. > > So I'm pretty sure I'm missing something about how to use this plugin in > the first place, or what it's supposed to let me do, or some such. > > Or, if the answer to what I'm trying to do is some other approach > entirely, I'd settle for enlightenment about that! In addition to the remote-plugin-execution approachi via something like NSCA or NRPE, you can probably use SNMP to pull what you're looking for using the check_snmp plugin without having to install additional software on your monitored hosts. It involves a bit more research up front to find the OIDs you want to watch, but it's pretty flexible and often doesn't require and special configuration on the monitored machines. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alan.mckay at gmail.com Fri Dec 5 20:57:41 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Fri, 5 Dec 2008 14:57:41 -0500 Subject: command line parameters in service definitions Message-ID: <844129e80812051157r7d86494brce906c2a144ae0bb@mail.gmail.com> OK folks, I've been working on some of the suggested improvements for my check_iflocal plugin, and I cannot seem to get command line parameters going into the script from my service definition. When I run the below from the BASH command line it works as I would expect. But as my service definition it is not working. It does not seems as though the WANTDUPLEX and WANTAUTONEG parameters are getting into my script. Yes, I restarted nagios after updating the service definition. Any thoughts here? define service{ use local-service host_name localhost service_groups Interfaces contact_groups admins service_description eth0 check_command check_iflocal!eth0!WANTDUPLEX=half!WANTAUTONEG=on } ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at blue-labs.org Fri Dec 5 20:22:08 2008 From: david at blue-labs.org (David Ford) Date: Fri, 05 Dec 2008 14:22:08 -0500 Subject: I don't understand the check_by_ssh plugin In-Reply-To: References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> Message-ID: <49397F60.5060104@blue-labs.org> This is branching off topic, but using ssh with keys is hardly a security hole. Please don't be throwing a bucket of red herrings into the crowd. You can configure sub processing for ssh in a similar function. AFAIK, the encryption and use of keys is far more hefty of a standards bar than using snmp. This use of snmp may be a handy alternative, but using SSH is not inherently flawed. -david Gary Every wrote: > I, for one, am against any use of check_by_ssh as it requires > authorized keys, hence opening a security hole. All scripts can be > executed thru snmp. Install it on your servers and use the exec > directive to remotely execute the script. The output will return the > last line and the exit code from the call, so the check_snmp plugin > can work. > NOTE: Unless snmp was already installed on your nagios server prior to > installing nagios, you'll need to re-run the ./configure, make and > make install commands for the plugins, so check_snmp will be compiled in. > > A simple line in your snmpd.conf file like the one below can be > executed from the nagios server: > > > exec checkrootpartition /usr/local/nagios/libexec/check_disk -w 1000 > -c 500 -p / -u MB > > > Subsequent exec directives can be added as well. > > Of course, you'll need to copy the libexec directory over to the > remote server (although it's not necessary, you can write your own > scripts if you'd like) > > All parameters will need to be on the line in the snmpd.conf file. > Then write a little script on the nagios server to check it. Here's > the contents of that script. It DOES require the community name be the > same on both servers. In snmpd.conf, edit this line: > > com2sec readonly default > > and replace with your made-up string > > > > Edit it so that it fits your environment, such as the path to > check_snmp and the community string. > > Now, name it test_snmp and run the script: > ./test_snmp 1 > where 1 is the ordinal "exec" directive. exec directives in snmpd.conf > are numbered as they appear in the file, so the first exec directive > is accessed as "1", the second as "2" etc. > > > > On Fri, Dec 5, 2008 at 10:55 AM, David Dyer-Bennet > wrote: > > I'm running Nagios 2.10 (the Centos 5.2 packaged version). > > I want to do some small local checks on each of a bunch of real and > virtual servers, and I really don't want to have to set up Nagios > (even a > minimal install) on each of them just to check uptime, load > average, and > disk space. (Mostly I'm testing externally visible services on them.) > > The documentation on this plugin doesn't seem to tell me anything > about > what it does with the part of the command output it processes (I > see that > the -S and -E commands let me prune what command output it looks at). > > When I run it from the command line simply, I just get the output > of the > remote command (as if the plugin was just passing it through). I > see that > I could cause it to produce errors based on how long it takes, but > nothing > about how to actually use the output. > > Then I see some tantalizing hints about "passive" mode, where it > writes a > file that seems to show it doing some parsing and making decisions > based > on the data (in the example). But I can't get the example to > produce a > non-empty file from the command line. > > So I'm pretty sure I'm missing something about how to use this > plugin in > the first place, or what it's supposed to let me do, or some such. > > Or, if the answer to what I'm trying to do is some other approach > entirely, I'd settle for enlightenment about that! > > Help? > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 21:08:05 2008 From: marc at ena.com (Marc Powell) Date: Fri, 5 Dec 2008 14:08:05 -0600 Subject: I don't understand the check_by_ssh plugin In-Reply-To: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> Message-ID: <0D3B50BA-6935-4A87-A796-6DBF9CE0BDBC@ena.com> On Dec 5, 2008, at 11:55 AM, David Dyer-Bennet wrote: > When I run it from the command line simply, I just get the output of > the > remote command (as if the plugin was just passing it through). I > see that > I could cause it to produce errors based on how long it takes, but > nothing > about how to actually use the output. This is what check_by_ssh does. It's simply a transport mechanism to allow nagios to run a plugin on a remote host and receive that plugin's output. It does not perform any testing, just transport. The plugin that is being executed by check_by_ssh would be doing the testing that you're looking for. For example -- define command { command_name check_disk_remote command_line $USER1$/check_by_ssh -t 120 -l username -H $HOSTADDRESS$ -C "/home/monitor/libexec/check_disk -t 40 - w 10% -c 5%" } When nagios executes the check_disk_remote command, it will tell check_by_ssh to connect to $HOSTADDRESS$ as username and execute the command '/home/monitor/libexec/check_disk -t 40 -w 10% -c 5%'. check_disk is a nagios plugin that lives on the remote host. The plugin will execute and check_by_ssh will capture it's output and exit code and return those to nagios. Nagios will interpret those as if the check_disk plugin were run directly. If the check_disk plugin returns a non-OK state, nagios will see that as if it were run locally, the check_by_ssh transport is transparent as far as nagios is concerned. In order for the ssh connection to work, you do need to configure SSH's authorized_keys functionality. You can limit the host allowed to connect without password as well as the specific command that is run based on the key. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 21:11:25 2008 From: marc at ena.com (Marc Powell) Date: Fri, 5 Dec 2008 14:11:25 -0600 Subject: command line parameters in service definitions In-Reply-To: <844129e80812051157r7d86494brce906c2a144ae0bb@mail.gmail.com> References: <844129e80812051157r7d86494brce906c2a144ae0bb@mail.gmail.com> Message-ID: <9B56BD76-18CA-4159-94AC-71995C5D0604@ena.com> On Dec 5, 2008, at 1:57 PM, Alan McKay wrote: > OK folks, I've been working on some of the suggested improvements for > my check_iflocal plugin, and I cannot seem to get command line > parameters going into the script from my service definition. > > When I run the below from the BASH command line it works as I would > expect. But as my service definition it is not working. It does > not seems as though the WANTDUPLEX and WANTAUTONEG parameters are > getting into my script. Yes, I restarted nagios after updating the > service definition. > > Any thoughts here? > > define service{ > use local-service > host_name localhost > service_groups Interfaces > contact_groups admins > service_description eth0 > check_command > check_iflocal!eth0!WANTDUPLEX=half!WANTAUTONEG=on > } You'll need to post the check_iflocal command{} definition. That's what determines how the command line is created. It should use the $ARG1$, $ARG2$ and $ARG3$ macros in the appropriate places for the substitution you're expecting. Better yet, read Example 2 of http://nagios.sourceforge.net/docs/3_0/macros.html -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Fri Dec 5 21:32:56 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Fri, 5 Dec 2008 14:32:56 -0600 (CST) Subject: I don't understand the check_by_ssh plugin In-Reply-To: <0D3B50BA-6935-4A87-A796-6DBF9CE0BDBC@ena.com> References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> <0D3B50BA-6935-4A87-A796-6DBF9CE0BDBC@ena.com> Message-ID: <4781ffabd11708d729ab7a8da8e1557e.squirrel@webmail.dd-b.net> On Fri, December 5, 2008 14:08, Marc Powell wrote: > > On Dec 5, 2008, at 11:55 AM, David Dyer-Bennet wrote: > >> When I run it from the command line simply, I just get the output of >> the >> remote command (as if the plugin was just passing it through). I >> see that >> I could cause it to produce errors based on how long it takes, but >> nothing >> about how to actually use the output. > > This is what check_by_ssh does. It's simply a transport mechanism to > allow nagios to run a plugin on a remote host and receive that > plugin's output. It does not perform any testing, just transport. The > plugin that is being executed by check_by_ssh would be doing the > testing that you're looking for. For example -- > > define command { > command_name check_disk_remote > command_line $USER1$/check_by_ssh -t 120 -l > username -H $HOSTADDRESS$ -C "/home/monitor/libexec/check_disk -t 40 - > w 10% -c 5%" > } > > When nagios executes the check_disk_remote command, it will tell > check_by_ssh to connect to $HOSTADDRESS$ as username and execute the > command '/home/monitor/libexec/check_disk -t 40 -w 10% -c 5%'. Okay, I can work with that. The --help output from the plugin, and I believe the website (but it's timing out right now for me), gave an example using the ordinary "uptime" service, and not a nagios plugin; and the text made no mention of the thing run needing to be a nagios plugin. If it needs to be a plugin (or if the vast majority of effective uses use a plugin) those docs should probably be updated to reflect that! > In order for the ssh connection to work, you do need to configure > SSH's authorized_keys functionality. You can limit the host allowed to > connect without password as well as the specific command that is run > based on the key. Sure, I'm familiar with that. For command-line testing I'm relying on my normal key and ssh-agent authentication, but I am planning to set up a special nagios key that I can install, with limited command access, on systems I need to monitor this way. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Fri Dec 5 21:34:38 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Fri, 5 Dec 2008 14:34:38 -0600 (CST) Subject: command line parameters in service definitions In-Reply-To: <9B56BD76-18CA-4159-94AC-71995C5D0604@ena.com> References: <844129e80812051157r7d86494brce906c2a144ae0bb@mail.gmail.com> <9B56BD76-18CA-4159-94AC-71995C5D0604@ena.com> Message-ID: On Fri, December 5, 2008 14:11, Marc Powell wrote: > > On Dec 5, 2008, at 1:57 PM, Alan McKay wrote: > >> OK folks, I've been working on some of the suggested improvements for >> my check_iflocal plugin, and I cannot seem to get command line >> parameters going into the script from my service definition. >> >> When I run the below from the BASH command line it works as I would >> expect. But as my service definition it is not working. It does >> not seems as though the WANTDUPLEX and WANTAUTONEG parameters are >> getting into my script. Yes, I restarted nagios after updating the >> service definition. >> >> Any thoughts here? >> >> define service{ >> use local-service >> host_name localhost >> service_groups Interfaces >> contact_groups admins >> service_description eth0 >> check_command >> check_iflocal!eth0!WANTDUPLEX=half!WANTAUTONEG=on >> } > > You'll need to post the check_iflocal command{} definition. That's > what determines how the command line is created. It should use the > $ARG1$, $ARG2$ and $ARG3$ macros in the appropriate places for the > substitution you're expecting. > > Better yet, read Example 2 of > http://nagios.sourceforge.net/docs/3_0/macros.html I will say that I got a command using one parameter working without any trouble (and have since abandoned it for an approach making better use of templates) yesterday. That example (well, the 2.10 version) was useful to me. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alan.mckay at gmail.com Fri Dec 5 21:44:30 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Fri, 5 Dec 2008 15:44:30 -0500 Subject: command line parameters in service definitions In-Reply-To: <9B56BD76-18CA-4159-94AC-71995C5D0604@ena.com> References: <844129e80812051157r7d86494brce906c2a144ae0bb@mail.gmail.com> <9B56BD76-18CA-4159-94AC-71995C5D0604@ena.com> Message-ID: <844129e80812051244i64d60187sb364ac1a9aea5e8@mail.gmail.com> > You'll need to post the check_iflocal command{} definition. That's > what determines how the command line is created. It should use the > $ARG1$, $ARG2$ and $ARG3$ macros in the appropriate places for the > substitution you're expecting. OK, I'm an idiot! I completely forgot about this intermediary step with the nagios command. I was looking at "check_iflocal" in the service definition and thinking it was calling my plugin from there. But of course it's actually calling the command I have defined in the commands definition! Sounds like I"m going to have to make a litlte README file for the next release of my plugin! (coming soon ...) ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Fri Dec 5 21:57:31 2008 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Fri, 5 Dec 2008 14:57:31 -0600 (CST) Subject: I don't understand the check_by_ssh plugin In-Reply-To: <20081205192641.GL26044@bakgwai.americas.hpqcorp.net> References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> <20081205192641.GL26044@bakgwai.americas.hpqcorp.net> Message-ID: On Fri, December 5, 2008 13:26, Patrick Morris wrote: > In addition to the remote-plugin-execution approachi via something like > NSCA or NRPE, you can probably use SNMP to pull what you're looking for > using the check_snmp plugin without having to install additional software > on your monitored hosts. It involves a bit more research up front to find > the OIDs you want to watch, but it's pretty flexible and often doesn't > require and special configuration on the monitored machines. I have a bad history of failure to accomplish much of anything in at least three runs at using SNMP to get data from various devices, so I tend to shy away from the concept. It seems to be a horrendous learning curve, and none of the sites I've found so far make any *sense*. Having said that -- can you recommend a site that talks about SNMP and gives examples at the level of getting information out of a Linux box, and perhaps some sort of household router/WAP? It'd be good for me to learn, if I had some reason to hope I'd have a better outcome than the last few times. It does seem very likely that the simple things I need from Linux may already be in the MIB, meaning I just need to access stuff there rather than add anything new. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mothbitten1 at yahoo.com Fri Dec 5 21:58:04 2008 From: mothbitten1 at yahoo.com (Dan McManus) Date: Fri, 5 Dec 2008 12:58:04 -0800 (PST) Subject: problem with timeperiod configuration References: <838042.38400.qm@web35404.mail.mud.yahoo.com> <200812041035.26161.assaf.flatto@ssp.uk.com> Message-ID: <945179.99503.qm@web35404.mail.mud.yahoo.com> Nope, when I add a space, it gives me a config error: Error: Could not parse timerange #1 for day 1 of timeperiod (config file '/usr/local/nagios/etc/objects/timeperiods.cfg', starting on line 48) ----- Original Message ---- From: Assaf Flatto To: Nagios User list Sent: Thursday, December 4, 2008 3:35:25 AM Subject: Re: [Nagios-users] problem with timeperiod configuration Dan , The reason i asked is - in the Documentation , there is a space , and maybe that is the issue . i think it is worth a shot to try with the space and test it before you report a bug ? Assaf On Wednesday 03 December 2008 18:20:56 Dan McManus wrote: > There is no space between - and 1, so how do I file a bug report? > > Thanks! > > Dan -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Dec 5 23:17:28 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 05 Dec 2008 17:17:28 -0500 Subject: nohup and check_nrpe and timeout In-Reply-To: References: <4938AB0F.7010405@aei.ca> <49393725.8080205@aei.ca> Message-ID: <4939A878.10305@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/12/08 01:36 PM, David Shapiro wrote: > > Okay, I tried to compile the setsid.c, but it wanted nls.h. I tried > to get nls.h, and it wanted types.h, etc etc. I searched around for > a version for Solaris, which is what I am using, but I had no luck. > I Yep... it's part of linux-utils... I'm dure there's a way on solaris though, I unfortunately don'T have time to try right now. > ended up abandoning this idea and tried the check_by_ssh, and this > worked fine, so I am good for now I think. The one thing I am not > certain about is the comment that when you use the -f option, to > disassociate the process from a tty, it says something like if ssh is > successful it always returns a success. Is it trying to say that it > will ignore my exit codes if I use the -f option?!? That will not > work for me if that is the case. Yes, it will. You can't get the return code of a process anyway. You could possibly try check_by_ssh the normal way to see if it behaves any better in your case... Although it seems to me that yore trying to perform two seperate things... Check a service and restart it if it's down? The proper way to do it is having a normal check, and trigger an event handler to restart the service (or anything else?). Note though that you must fork in your event handler before doing anything because nagios will wait until the event handler finishes executing (teh fork option of check_by_sse could work most of the time, but if the host does not answer to ssh it will hang anyway). Maybe you could describe the whole flow you want instead of the forking problem alone ;) > > Anyway, Thomas,you are absolutely great with passing me this > information. I highly appreciate the fact you stepped up and did so. I > wish you happy holidays and the best in case I do not hear back from > you. You too, thanks! Ps,: please don't top-post (it breaks discussion flow), and try to word-wrap your emails (otherwise I have to redo it myself...)... thanks! - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJOah46dZ+Kt5BchYRAtB6AKCelnYEbn9LHKT3x63qEmBPi3Fy8QCgt6KE N6Lqib6sMhFOK0M7yb5Ri1M= =IoLG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Fri Dec 5 22:33:27 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Fri, 05 Dec 2008 21:33:27 +0000 Subject: I don't understand the check_by_ssh plugin In-Reply-To: References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> <20081205192641.GL26044@bakgwai.americas.hpqcorp.net> Message-ID: <49399E27.8070000@networkmail.eu> David Dyer-Bennet wrote: > On Fri, December 5, 2008 13:26, Patrick Morris wrote: > > I have a bad history of failure to accomplish much of anything in at least > three runs at using SNMP to get data from various devices, so I tend to > shy away from the concept. It seems to be a horrendous learning curve, > and none of the sites I've found so far make any *sense*. > Ditto - I once tried the SNMP approach instead of the Nagios plugins and NRPE, but it took me about 6 hours to get NetSNMP installed, set up and running on a Debian box. I also failed to get SNMP v3 going, I could only get it to work with v1 or 2. I found the plugins and NRPE approach so much easier to configure and manage - it's much more flexible, way easier to set up and manage. I've always found SNMP to be best suited to devices you cannot manage or customise, like routers and network printers, but that's just my experience. Andy ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bigedd at gmail.com Sat Dec 6 16:47:18 2008 From: bigedd at gmail.com (Eddie) Date: Sun, 7 Dec 2008 02:47:18 +1100 Subject: Failover Monitoring. Message-ID: <12b44e560812060747r43ac1ea7g2da5a1e8ea9d23d6@mail.gmail.com> Hello all, On reading the Nagios 3 Documentation re' failover monitoring, there are some things I'd like to ask. To keep services status information up-to-date on the slave the master sends all service check results to the slave. If monitoring fails-over to the slave, how is the status information sent to the new slave so that it is then kept updated with new status information, or do we need to set this up manually after the failover? Couldn't we nullify the need to keep two separate stores of status information data, by keeping it in one place? Is it possible to have the status information stored on a third host (say on an NFS) that both the master and slave have access to? Is it possible to have more than one slave? Are there any other resources that go into more detail on failover (and redundant monitoring)? Thanks, Eddie. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamsda_1 at yahoo.com Sun Dec 7 18:04:21 2008 From: jamsda_1 at yahoo.com (jimj) Date: Sun, 7 Dec 2008 09:04:21 -0800 (PST) Subject: check_http not returning expected 502 Message-ID: <804773.94160.qm@web50903.mail.re2.yahoo.com> Hello, I've got nagios installed and seems to be running ok except for one thing. I'm running https checks with "check_http" and get the expected result when I run it on the command line: ./check_http -H somehost.com -S HTTP CRITICAL: HTTP/1.1 502 Bad Gateway But in the UI its giving me: HTTP OK HTTP/1.1 200 OK My config runs it like this: check_command check_http!-S -t 30 Anybody have any ideas? Thanks, Jim ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.elsen at gmail.com Sun Dec 7 19:56:09 2008 From: mark.elsen at gmail.com (Mark Elsen) Date: Sun, 7 Dec 2008 19:56:09 +0100 Subject: check_http not returning expected 502 In-Reply-To: <804773.94160.qm@web50903.mail.re2.yahoo.com> References: <804773.94160.qm@web50903.mail.re2.yahoo.com> Message-ID: > Hello, > > I've got nagios installed and seems to be running ok except for one thing. I'm running https checks with "check_http" and get the expected result when I run it on the command line: > > ./check_http -H somehost.com -S > > HTTP CRITICAL: HTTP/1.1 502 Bad Gateway > > > But in the UI its giving me: > > HTTP OK HTTP/1.1 200 OK > > My config runs it like this: > > check_command check_http!-S -t 30 > > Anybody have any ideas? Check your webserver's log file, in both case. Turn on full logging, including request headers. Compare the output, may be indicative. M. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Dec 7 23:02:38 2008 From: marc at ena.com (Marc Powell) Date: Sun, 7 Dec 2008 16:02:38 -0600 Subject: check_http not returning expected 502 In-Reply-To: <804773.94160.qm@web50903.mail.re2.yahoo.com> References: <804773.94160.qm@web50903.mail.re2.yahoo.com> Message-ID: On Dec 7, 2008, at 11:04 AM, jimj wrote: > Hello, > > I've got nagios installed and seems to be running ok except for one > thing. I'm running https checks with "check_http" and get the > expected result when I run it on the command line: > > ./check_http -H somehost.com -S > > HTTP CRITICAL: HTTP/1.1 502 Bad Gateway > > > But in the UI its giving me: > > HTTP OK HTTP/1.1 200 OK > > My config runs it like this: > > check_command check_http!-S -t 30 > > Anybody have any ideas? The command line that nagios is actually executing comes from the check_http command{} definition. Is it the same as your test above with the $ARG1$ substitution? Based on what you've shown so far, there's already a minor difference... -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 7 23:53:58 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 07 Dec 2008 23:53:58 +0100 Subject: check_http not returning expected 502 In-Reply-To: <804773.94160.qm@web50903.mail.re2.yahoo.com> References: <804773.94160.qm@web50903.mail.re2.yahoo.com> Message-ID: <493C5406.2000200@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jimj wrote: > I've got nagios installed and seems to be running ok except for one thing. I'm running https checks with "check_http" and get the expected result when I run it on the command line: > > ./check_http -H somehost.com -S > > HTTP CRITICAL: HTTP/1.1 502 Bad Gateway > > > But in the UI its giving me: > > HTTP OK HTTP/1.1 200 OK > > My config runs it like this: > > check_command check_http!-S -t 30 This will not work as you expect. There must be plenty of samples in the mailinglist archives to show you how it can done. But to add one more to the archives: define command{ command_name check_https_credentials command_line $USER1$/check_http -H $HOSTADDRESS$ -S -a $ARG1$ } define service{ use waakhond.net-service host_name https_with_login-server service_description HTTPS check_command check_https_credentials!user:password contact_groups customers } I always will advocate to add your own check_http like commands and use them in your services. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJPFQEBvzDRVjxmYERAkG8AJ9ad5+Dx6QdGvIvLWH6ZAo3bRNYUQCggK8g MM/ZrbI+2AMlraWjdb3G7+8= =0rc6 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamsda_1 at yahoo.com Mon Dec 8 02:13:35 2008 From: jamsda_1 at yahoo.com (jimj) Date: Sun, 7 Dec 2008 17:13:35 -0800 (PST) Subject: check_http not returning expected 502 In-Reply-To: <493C5406.2000200@vanderkooij.org> References: <493C5406.2000200@vanderkooij.org> Message-ID: <919471.96782.qm@web50906.mail.re2.yahoo.com> Thanks Hugo, I see how I mis-configured it now. I appreciate the response! Jim --- On Sun, 12/7/08, Hugo van der Kooij wrote: > From: Hugo van der Kooij > Subject: Re: [Nagios-users] check_http not returning expected 502 > To: "Nagios Users Mailinglist" > Date: Sunday, December 7, 2008, 2:53 PM > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > jimj wrote: > > > I've got nagios installed and seems to be running > ok except for one thing. I'm running https checks with > "check_http" and get the expected result when I > run it on the command line: > > > > ./check_http -H somehost.com -S > > > > HTTP CRITICAL: HTTP/1.1 502 Bad Gateway > > > > > > But in the UI its giving me: > > > > HTTP OK HTTP/1.1 200 OK > > > > My config runs it like this: > > > > check_command check_http!-S -t 30 > > This will not work as you expect. There must be plenty of > samples in the > mailinglist archives to show you how it can done. > > But to add one more to the archives: > > define command{ > command_name check_https_credentials > command_line $USER1$/check_http -H $HOSTADDRESS$ > -S -a $ARG1$ > } > > define service{ > use > waakhond.net-service > host_name > https_with_login-server > service_description HTTPS > check_command > check_https_credentials!user:password > contact_groups customers > } > > I always will advocate to add your own check_http like > commands and use > them in your services. > > Hugo. > > - -- > hvdkooij at vanderkooij.org > http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of > conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those > images. > > Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith > i'w gyfieithu. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - > http://enigmail.mozdev.org > > iD8DBQFJPFQEBvzDRVjxmYERAkG8AJ9ad5+Dx6QdGvIvLWH6ZAo3bRNYUQCggK8g > MM/ZrbI+2AMlraWjdb3G7+8= > =0rc6 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in > Las Vegas, Nevada. > The future of the web can't happen without you. Join > us at MIX09 to help > pave the way to the Next Web now. Learn more and register > at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eliot.Picken at wenaas.co.uk Mon Dec 8 05:00:56 2008 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Mon, 8 Dec 2008 04:00:56 +0000 Subject: AUTO: Eliot Picken is out of the office (returning 11/12/2008) Message-ID: I am out of the office until 11/12/2008. I am currently out of the office, returning Thursday 11th December During this time my email and mobile will be checked occasionally. For urgent issues, please contact Alex Lawrie on +44 (0) 1224 894 000 Best regards Eliot Note: This is an automated response to your message "Re: [Nagios-users] check_http not returning expected 502" sent on 12/7/2008 10:53:58 PM. This is the only notification you will receive while this person is away. **************************************************************************************************************************************** Important Note:? This message contains confidential information which is intended to?be recevied by the addressee only.???We acknowledge that e-mail is not an entirely secure medium of communication and you should be aware of this when replying.? If you have received this email in error, please advise the sender?of this at the earliest opportunity.??We take all reasonable steps to ensure?this email is free from any malicious content, but cannot provide any guarantee that this is the case.? The company's ?email and internet traffic is also?monitored under the provisions of the Regulation of Investigatory Powers Act 2000. Wenaas UK Ltd is a limited company registered in Scotland, under company number 62062. Registered Office : Unit 1 Hareness Circle, Altens, Aberdeen, AB12 3LY, United Kingdom **************************************************************************************************************************************** -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Mon Dec 8 07:42:55 2008 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Mon, 08 Dec 2008 12:27:55 +0545 Subject: Regarding Alert History. Message-ID: <493CC1EF.3060706@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, I wanna know more about the Nagios Alert History. What does it log? Is it only that it logs the downtimes and their corresponding uptimes? OR it logs everything. The case is in my nagios installation. I can see only the history for today. Once I try to see the same for the earlier days. It says that no information was found in the log files. And I think that this mustn't be the case.I should be seeing any information collected for the host in the period of time. Regards, Gaurav -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkk8we8ACgkQnfv7imVnL2vlLACeOdHXmbo+iZCDs8hACb8t7Raz f6IAoJwUlQuPS4CrByuFhdWEOyA3H48F =k+Nh -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Mon Dec 8 11:03:28 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Mon, 08 Dec 2008 10:03:28 +0000 Subject: Nagiosgraph graphs have gaps In-Reply-To: <1314376811.20081205005939@sliderule.demon.co.uk> References: <19010023454.20081129215201@sliderule.demon.co.uk> <4932443C.2020806@vanderkooij.org> <2BA70ED7C7275645B648362FB35913A901EB554E@exchange.ishisystems.com> <1314376811.20081205005939@sliderule.demon.co.uk> Message-ID: <493CF0F0.7030708@sliderule.demon.co.uk> Steve Burton wrote: >> Hi Hugo, >> > > >> Thanks for the reply I am also facing the same issue. >> > > >> As per you suggestion I have gone through the archieve and found one big >> thread regarding Nagios graph gap. >> > > >> https://sourceforge.net/mailarchive/message.php?msg_id=007301c84e20$4def >> 0850$98ad38a6 at na.dsmain.com >> > > >> In the thread the working solution as per people is but when I went >> through the it then found >> We need to make change in ngraph.ncfg but in current nagiosgraph there >> is no such file. >> > > >> Pls guide how to solve graph this gap issue. >> > > >> In my machine heartbeat is 600 sec and perf_file_iterval is 60 sec. >> > > >> thanks >> > > >> ================================================== >> Hi, >> > > >> the old NagiosGrapher interfaces (network/pipe) can cause huge >> latency :-(. Thanks to a patch we got there is a new interface type >> "file". The main advantages of this new interface are: >> * no gaps any more >> * no latency caused by NagiosGrapher >> * restarting NagiosGrapher does not cause any gaps >> > > >> I am sorry but the documentation totally lacks this interface. But below >> is all you need. >> > > >> Cheers, >> > > >> Gerd >> > > > > > >> =20 >> ngraph.ncfg: >> > > >> interface file >> perffile_path /dev/shm >> > > >> nagios.cfg: >> > > >> process_performance_data=1 >> service_perfdata_file=/dev//shm/service-perfdata >> service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT >> $\t$SERVICEPERFDATA$\t$TIMET$ >> service_perfdata_file_mode=a >> service_perfdata_file_processing_interval=60 >> > > >> service_perfdata_file_processing_command=3Dprocess-service-perfdata-file >> > > > >> commands.cfg: >> define command{ >> command_name process-service-perfdata-file >> command_line >> mv /dev/shm/service-perfdata /dev/shm/service-perfdata.$TIMET$ >> } >> ================================================== >> > > > > >> Thanks & Regards >> Novin Jaiswal >> Ishi Systems Inc. >> 201-521-3155(Direct) >> 732-318-8156(Cell) >> > > > > >> -----Original Message----- >> From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] >> Sent: Sunday, November 30, 2008 2:44 AM >> To: Nagios Users Mailinglist >> Subject: Re: [Nagios-users] Nagiosgraph graphs have gaps >> > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> > > >> Steve Burton wrote: >> >>> Hi, >>> >>> I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to >>> generate rrd's on the data. I'm visualizing the data with both >>> nagiosgraph and drraw. >>> >>> My problem is that the graphs have gaps so I guessing that the rrd's >>> are not being updated. I'm concentrating on just one service for >>> debugging and I've run the plugin (which I wrote) from the >>> command-line many times for a local server and I haven't seen it fail >>> to connect or report or to time out. It is as though nagios is not >>> checking the service within the heartbeat of the rrd's in question. I >>> have set the service check interval to 5 minutes, which I believe to >>> be the default nagiosgraph step time and the heartbeat is set to the >>> nagiosgraph default of 600 seconds. >>> >>> Can anyone advise me if if this is likely to be the problem and if not >>> how I can diagnose what is actually going on? >>> > > >> I have put a diagnose on the mailinglist for something that is either >> the same problem or something similar. >> > > >> The problem is that nagios can send several commands into the pipe at >> once and the other end will only pick up one of them. So the RRD info is >> not written. The work around is not to allow Nagios to run things in >> parallel. But it will severly limit the amount of hosts and services one >> can check with Nagios. >> > > >> This should have been fixed by using the file interface instead of the >> named pipe. The file interface was introduced about a year ago or even >> longer back. >> > > >> Please check the mailinglist archives for more details. >> > > >> Hugo. >> > > This seems to refer to nagiosgrapher, see: > http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1659.html > > whereas I'm trying to set up nagiosgraph, see: > > http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1501.html > > Steve. > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 was me, mea culpa (or as they say in Seattle, my bad). Everything I tried pointed to Nagios not checking hosts and services on a regular basis but I *knew* that it doesn't do that! Eventually, I looked at my config files. The first giveaway was in the header 'NAGIOS.CFG - Sample Main Config File for Nagios 1.0b6' Intrigued, I read on and there, buried halfway down, I found 'max_concurrent_checks=10'. This must have been in there for years and it's a tribute to Nagios (and Ethan) that it has been working correctly until I imposed the extra load (another 100 or so services). I have re-written nagios.cfg and I'm working on the rest of the config. Sorry, for all the noise and thanks for all the help I received. I have certainly learned a lot from this. Steve. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 15:11:22 2008 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2008 08:11:22 -0600 Subject: Regarding Alert History. In-Reply-To: <493CC1EF.3060706@subisu.net.np> References: <493CC1EF.3060706@subisu.net.np> Message-ID: <545F82D6-5AEE-4EBF-8754-8BD121132A83@ena.com> On Dec 8, 2008, at 12:42 AM, Gaurav Ghimire wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dear all, > > I wanna know more about the Nagios Alert History. What does it log? > Is it only that it logs the downtimes and their corresponding > uptimes? OR it Typically only state changes since that's primarily what the CGI's report on. You have some control over the logging of additional information for your own purposes by changing the log_* values in nagios.cfg. > The case is in my nagios installation. I can see only the history > for today. Once I try to see the same for the earlier days. It says > that no information was found in the log files. And I think that > this mustn't be the case.I should be seeing any information > collected for the host in the period of time. Is log_rotation_method in nagios.cfg set to 'd' (daily)? Current logs (based on the value of log_rotation_method) are in /usr/local/nagios/ var/nagios.log. Historical logs are in /usr/local/nagios/var/ archives/, one per log_rotation_method interval. Nagios automatically rotates them there and they, and the directory they are in, should be readable by your web server. They are simple text files so you could easily examine them to verify that what you're looking for exists in them. Be aware that depending on the version of nagios you are using, it will log usually only when a host or service changes state. If the host you are searching for has not changed state during your reporting window you'll need to use the backtracked archives setting to include a time period when it did or set the first assumed state to give nagios a starting state for the host. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alessandro.usai at switch.ch Mon Dec 8 15:16:51 2008 From: alessandro.usai at switch.ch (Alessandro Usai) Date: Mon, 08 Dec 2008 15:16:51 +0100 Subject: Nagios and AAI (Shibboleth) Message-ID: <493D2C53.9080704@switch.ch> Hi all, I would like to know if it is possible to manage access to Nagios using Shibboleth and the AAI attributes, and if so whether there is any documentation about it. Has anyone a similar user case? As a first example we have turned off nagios authentication control and configured in a default guest user: access to the web portal is then restricted by Shibboleth so that any user with the right AAI credentials is allowed in and mapped to the guest user. However we would like to be able to map different AAI users to different nagios users, so as to have a more fine-grained access control management. Thanks in advance for any help you may provide. Cheers Alessandro -- SWITCH Serving Swiss Universities -------------------------- Dr. Alessandro Usai P.O. Box, 8021 Zurich, Switzerland phone +41 44 268 15 72, fax +41 44 268 15 68 alessandro.usai at switch.ch, http://www.switch.ch ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Dec 8 16:35:46 2008 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 8 Dec 2008 10:35:46 -0500 Subject: Failover Monitoring. In-Reply-To: <12b44e560812060747r43ac1ea7g2da5a1e8ea9d23d6@mail.gmail.com> References: <12b44e560812060747r43ac1ea7g2da5a1e8ea9d23d6@mail.gmail.com> Message-ID: > -----Original Message----- > From: Eddie [mailto:bigedd at gmail.com] > > To keep services status information up-to-date on the slave the master > sends all service check results to the slave. I got this set up between my master and slave servers, and then noticed that comments and other stuff like that weren't being replicated. If you add hosts and services, or otherwise change your configuration, those changes won't be replicated either. > If monitoring fails-over to the slave, how is the status information > sent to the new slave so that it is then kept updated with new status > information, or do we need to set this up manually after the failover? I wrote a script which is run every minute by a cron job on the slave server. It uses check_by_ssh to run check_nagios on the master. If Nagios is running on the master, then it checks if Nagios is running on the slave. If so, it stops the slave Nagios. If Nagios is only running on the master, it rsyncs any changed files in the whole Nagios directory (minus the checkresults directory, archives directory, lock file, and command file). If Nagios is not currently running on either server, it will start Nagios on the slave server. And, just because I could, I have it write to a log file and e-mail me if it fails over or back. It doesn't copy anything from the slave server back to the master server, because I expect the slave to run only temporarily. If the master server takes that long to fix, I can copy the status back manually. Since my master and slave servers are identically-configured, when I upgraded the master to Nagios 3.0.6, the slave got upgraded a minute later. > Couldn't we nullify the need to keep two separate stores of status > information data, by keeping it in one place? Is it possible to have > the status information stored on a third host (say on an NFS) that > both the master and slave have access to? I don't have a highly-available file share, so I keep two copies of Nagios and rsync minimizes the amount of data that has to be copied.. I plan to move the slave server to another office (it's a virtual machine). If the link between the offices went down, one Nagios or the other would lose its connection to its config files. Also, this way there is a window of time where both instances might be active and trying to write to the same files. > Is it possible to have more than one slave? Yes. If you do it like the docs say, you'll need to write a script to submit check results to the slave server. It's just one more line to submit the check results to another slave server. I don't know how to write the event handler to check more than one Nagios process, though. If you do it like above, both slave servers can run the cron job, and they can check each other as well as the primary to see if they need to start their Nagios process. You might want to have one slave run the cron job on the even minutes and the other slave run the job on the odd minutes (or some other alternating pattern) so that they won't both try to start up at the same time. > Are there any other resources that go into more detail on failover > (and redundant monitoring)? I did a lot of Googling to get it working like in the docs, and then subscribed to this mailing list five days ago so I could ask about how to get status information to the slave server. :-) Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately . Thank you. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.ottavi at medi.fr Mon Dec 8 18:38:02 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Mon, 08 Dec 2008 18:38:02 +0100 Subject: Host down, still doing active checks, causing multiple unwanted service failures Message-ID: <493D5B7A.2050205@medi.fr> Hi list, I've been investigating this problem for a while, but I couldn't find a good solution. * Example situation : Assume I have one host with 20 service checks. * Problem : If the host becomes DOWN, Nagios still continues to do service checks on this host. So, after a while, all the services will go to a CRITICAL state. Then, in my console, I will see : - 1 Host down, - 20 Services down This information is not pertinent. The only information I would see in such a case is the "host down". The 20 "service down" informations are obvious, and generate a "visual pollution" that may prevent to easily identify the problem. * Expected behavior : When a host is down, I would like to : - See only one thing in red in the console : 1 HOST DOWN - Disabling all the service checks (which at this point do not have any chance of success) - Put the service into "UNKNOWN" status Comments: In Nagios, there are parent/child dependencies. When a host is down, all the child hosts are not tested, and their status becomes "UNREACHABLE". Good thing. Same thing for services. But, as far as I know, there are no dependencies between a host and its services. I googled/read a lot of things in the docs. This seems to be "by design", there's no way to declare a service as a child of its (parent) host ! I didn't really understand the reasons of this choice, but I would like to work around. Then I played around with event handlers. When a host status changes, the event handler calls a script. The script checks the status of the "calling" host. If the host is DOWN or UNREACHABLE, it sends back to Nagios an "external command" to disable all active service checks. If the status of the host is UP, then it sends the external command to enable all service checks for that particular host. It works. But there is some "latency" between the time the services are disabled by the eventhandler, and the time Nagios stops doing the service checks. Usually, some services are still checked, and provide unwanted "FAILED" status. I think this is because these checks were queued before the handler disabled them, thus they're executed. So I'm not s100% satisfied. The next step would be to use service event handlers to put every service into "UNKNOWN" status each time a service check is disabled. But I have two problems : - In my external script, I can not determine if a service check is ENABLED of DISABLED. There are a lot of "macros" available, but none of them gives me this information. - This may not solve the "latency" problem, if I manually set an "UNKNOWN" status on a DISABLED service, but an active check is already in the queue, and its result will arrive later... Of course, the ideal situation would be to have a parent/child dependancy acting between hosts and services... Any comments and suggestions are welcome. Thank you in advance for your help. Kind regards -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* ***Mail:* t.ottavi at medi.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Mon Dec 8 18:49:45 2008 From: perldork at webwizarddesign.com (Max) Date: Mon, 8 Dec 2008 12:49:45 -0500 Subject: I don't understand the check_by_ssh plugin In-Reply-To: References: <1d0da1e9e9dcc6932eba2f4a8031da7c.squirrel@webmail.dd-b.net> <20081205192641.GL26044@bakgwai.americas.hpqcorp.net> Message-ID: On Fri, Dec 5, 2008 at 3:57 PM, David Dyer-Bennet wrote: > Having said that -- can you recommend a site that talks about SNMP and > gives examples at the level of getting information out of a Linux box, and > perhaps some sort of household router/WAP? It'd be good for me to learn, > if I had some reason to hope I'd have a better outcome than the last few > times. Disclamer: this is not a promotion / plug of the book I helped write. Really. http://www.nagios3book.com/nagios-3-enm/checks/ Under the checks directory you will see a number of check scripts. As part of the book, I wrote a bunch of perl-based Net-SNMP plugins for Nagios, some to monitor basic host metrics via the Net-SNMP agent, a few examples of router plugins, and a few bluecoat plugins as well. The publisher was fine with me posting them on a website we created for anyone who wants them to be able to download them. All work well under ePN, they use Nagios::Plugin and my subclassed Nagios::Plugin::SNMP module along with a module I wrote specifically for the book, which can be downloaded at http://www.nagios3book.com/nagios-3-enm/checks/lib/ Nagios::Plugin::SNMP is also available via CPAN. Pretty easy to use them (in my opinion) .. all are downloadable from the site above at no cost and without any requirements to register etc. Hoping to be able to release updates to them that i and my coworker have made at work back to the Nagios community as we have made some enhancements and fixed some bugs in them at the company i currently work for (our manager is working on getting us permission to release our updates back to the public). SNMP may seem difficult but as an end user it really is not hard, just takes some patience and i agree that there is not nearly enough easy-to-read SNMP documentation available online, especially for integrators. For example, with Net-SNMP, granting read-only SNMP v2 access to all clients via the snmpd.conf file is as simple as putting rocommunity your-community-string in the file and restarting the agent. use a host-based firewall to limit who can access the SNMP polling port. Typically the hardest part about SNMP in a project is convincing network staff and security staff that allowing SNMP access within the trusted zone(s) of a network isn't going to lead to every system getting rooted. - Max ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 19:31:12 2008 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2008 12:31:12 -0600 Subject: Host down, still doing active checks, causing multiple unwanted service failures In-Reply-To: <493D5B7A.2050205@medi.fr> References: <493D5B7A.2050205@medi.fr> Message-ID: On Dec 8, 2008, at 11:38 AM, Toussaint OTTAVI wrote: > Hi list, > > I've been investigating this problem for a while, but I couldn't > find a good solution. > > * Example situation : > Assume I have one host with 20 service checks. > > * Problem : > If the host becomes DOWN, Nagios still continues to do service > checks on this host. So, after a while, all the services will go to > a CRITICAL state. Then, in my console, I will see : > - 1 Host down, > - 20 Services down > This information is not pertinent. The only information I would see > in such a case is the "host down". The 20 "service down" > informations are obvious, and generate a "visual pollution" that may > prevent to easily identify the problem. Nagios is first and foremost a service monitor, not a host monitor. Host monitoring is only necessary, as far as nagios is concerned, for two reasons -- - notification supression. If the host is down, don't notify about the services. They're still down so show them down, but don't wake anybody up over it if they're not also responsible for the host. - parenting/unreachable logic. Nagios is designed to show the current state of services as accurately as possible. This helps explain the 'why' of the behavior you are seeing and works very well to cover the edge cases that your goal won't catch. For example, if your host check is a ping and something borks ICMP on your network, you would have all the services on that host disabled and set to unknown, even though they are working just fine. Your understanding of exactly what is impacted on that host is now completely wrong. By artificially changing the service state, your reporting is no longer reliable as well. You may be fine with that but understand that your goal is opposite of what nagios is meant to do. > * Expected behavior : > When a host is down, I would like to : > - See only one thing in red in the console : 1 HOST DOWN > - Disabling all the service checks (which at this point do not have > any chance of success) > - Put the service into "UNKNOWN" status This kind of methodology is just about opposite of what nagios is designed to do. While you may be able to do it with creative event handlers and modifications to your notification scripts, it's a square- box-in-round-hole task. Instead of disabling the service checks, you may be able to use adaptive monitoring to change the service check_commands to something that always returns UNKNOWN (i.e. check_dummy). This of course assumes that you are using regularly scheduled host checks otherwise nagios would never check your host state again and that you're able to glean what the current check_command is for each service. When the host recovered, change the check_command back to whatever it was before for each service. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tad1214 at aol.com Mon Dec 8 21:39:30 2008 From: tad1214 at aol.com (Thomas Donnelly) Date: Mon, 08 Dec 2008 14:39:30 -0600 Subject: Hosts randomly disappearing Message-ID: <493D8602.9060209@aol.com> Hello All, I have about 115 hosts in my nagios pool and I recently added a group of 7 UPSs. I made my own check using the check_snmp to check the load percentage. Funny thing is, some times they show up in the host detail and some times they do not. Refreshing a few times will get them to show, then another refresh usually causes them to disappear. Opening one of the hosts usually results in the message: "Error: Host Status Information Not Found!" a few refreshes gets the host state to become viewable. I find this behavior only with the 7 hosts i just added. The config file is: #cat ups.cfg #UPS1 define host{ host_name ups-r1.hou.example.com alias UPS Rack 1 address 192.168.96.8 check_command check-host-alive max_check_attempts 10 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups web-admins notification_options d,r notification_interval 30 notification_period 24x7 parents co1.hou.example.com } define hostextinfo{ host_name ups-r1.hou.example.com icon_image www.jpg statusmap_image www.gd2 } define service{ host_name ups-r1.hou.example.com service_description check_ping check_command check_ping!140,25%!180,50% max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } define service{ host_name ups-r1.hou.example.com service_description check_ups_load check_command check_ups_load!84!89 max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } #UPS2 define host{ host_name ups-r2.hou.example.com alias UPS Rack 2 address 192.168.96.9 check_command check-host-alive max_check_attempts 10 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups web-admins notification_options d,r notification_interval 30 notification_period 24x7 parents co1.hou.example.com } define hostextinfo{ host_name ups-r2.hou.example.com icon_image www.jpg statusmap_image www.gd2 } define service{ host_name ups-r2.hou.example.com service_description check_ping check_command check_ping!140,25%!180,50% max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } define service{ host_name ups-r2.hou.example.com service_description check_ups_load check_command check_ups_load!84!89 max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } #UPS3 define host{ host_name ups-r3.hou.example.com alias UPS Rack 3 address 192.168.96.10 check_command check-host-alive max_check_attempts 10 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups web-admins notification_options d,r notification_interval 30 notification_period 24x7 parents co1.hou.example.com } define hostextinfo{ host_name ups-r3.hou.example.com icon_image www.jpg statusmap_image www.gd2 } define service{ host_name ups-r3.hou.example.com service_description check_ping check_command check_ping!140,25%!180,50% max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } define service{ host_name ups-r3.hou.example.com service_description check_ups_load check_command check_ups_load!84!89 max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } #UPS5 define host{ host_name ups-r5.hou.example.com alias UPS Rack 5 address 192.168.96.12 check_command check-host-alive max_check_attempts 10 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups web-admins notification_options d,r notification_interval 30 notification_period 24x7 parents co1.hou.example.com } define hostextinfo{ host_name ups-r5.hou.example.com icon_image www.jpg statusmap_image www.gd2 } define service{ host_name ups-r5.hou.example.com service_description check_ping check_command check_ping!140,25%!180,50% max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } define service{ host_name ups-r5.hou.example.com service_description check_ups_load check_command check_ups_load!84!89 max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } #UPS6 define host{ host_name ups-r6.hou.example.com alias UPS Rack 6 address 192.168.96.13 check_command check-host-alive max_check_attempts 10 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups web-admins notification_options d,r notification_interval 30 notification_period 24x7 parents co1.hou.example.com } define hostextinfo{ host_name ups-r6.hou.example.com icon_image www.jpg statusmap_image www.gd2 } define service{ host_name ups-r6.hou.example.com service_description check_ping check_command check_ping!140,25%!180,50% max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } define service{ host_name ups-r6.hou.example.com service_description check_ups_load check_command check_ups_load!84!89 max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } #UPS7 define host{ host_name ups-r7.hou.example.com alias UPS Rack 7 address 192.168.96.11 check_command check-host-alive max_check_attempts 10 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups web-admins notification_options d,r notification_interval 30 notification_period 24x7 parents co1.hou.example.com } define hostextinfo{ host_name ups-r7.hou.example.com icon_image www.jpg statusmap_image www.gd2 } define service{ host_name ups-r7.hou.example.com service_description check_ping check_command check_ping!140,25%!180,50% max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } define service{ host_name ups-r7.hou.example.com service_description check_ups_load check_command check_ups_load!84!89 max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups web-admins } any and all help is greatly appreciated! Thanks!!! -=Tom ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 22:14:52 2008 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2008 15:14:52 -0600 Subject: Hosts randomly disappearing In-Reply-To: <493D8602.9060209@aol.com> References: <493D8602.9060209@aol.com> Message-ID: <422FD42D-965F-4BAC-AD0C-9DFDCAEC7E91@ena.com> On Dec 8, 2008, at 2:39 PM, Thomas Donnelly wrote: > Hello All, > > I have about 115 hosts in my nagios pool and I recently added a > group of > 7 UPSs. I made my own check using the check_snmp to check the load > percentage. Funny thing is, some times they show up in the host detail > and some times they do not. Refreshing a few times will get them to > show, then another refresh usually causes them to disappear. http://www.nagios.org/faqs/viewfaq.php?faq_id=21 -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coolmrhonest at yahoo.com Mon Dec 8 23:23:44 2008 From: coolmrhonest at yahoo.com (XYZ XYZ) Date: Mon, 8 Dec 2008 14:23:44 -0800 (PST) Subject: Migrating nagios from one server to other Message-ID: <205828.21293.qm@web112217.mail.gq1.yahoo.com> Hi ? I am in process of migrating nagios from one server to other server(same OS but lower version to higher version). Can anyone suggest me what are the steps to be?followed to get same look and feel. ? ? Thanks ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 23:51:41 2008 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2008 16:51:41 -0600 Subject: Migrating nagios from one server to other In-Reply-To: <205828.21293.qm@web112217.mail.gq1.yahoo.com> References: <205828.21293.qm@web112217.mail.gq1.yahoo.com> Message-ID: <15BB20F3-2631-4ACB-A34F-85C7988E65B9@ena.com> On Dec 8, 2008, at 4:23 PM, XYZ XYZ wrote: > Hi > I am in process of migrating nagios from one server to other > server(same OS but lower version to higher version). Can anyone > suggest me what are the steps to be followed to get same look and > feel. Feels like homework but... (assumes nagios versions are the same and using a source-installed nagios) - Configure the webservers the same (The nagios documentation should help here). - Install nagios on the new machine - Install nagios plugins on the new machine (including any special ones you've installed or created) - Install any nagios addons you use on the new machine - Move dynamic data from current nagios to the new machine # stop nagios on current machine # tar up current etc and var directories # restart nagios # copy data tar file over to the new machine # log in to the new machine # extract the data to the new install of nagios # verify nagios configuration /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg # [start nagios if all looks well]. If you're using NSCA or any other passive checks, you should know what to do there. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Mon Dec 8 23:52:08 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 8 Dec 2008 17:52:08 -0500 Subject: Migrating nagios from one server to other In-Reply-To: <205828.21293.qm@web112217.mail.gq1.yahoo.com> References: <205828.21293.qm@web112217.mail.gq1.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB12288@buf-ex01.cymfony.com> You should be fine installing Nagios on the new box and copying your config files - assuming the path stays the same. Everything under /usr/local/nagios/etc should suffice. I've done it before and it worked fine on the new box. If the path to the config files change, you would need to change it in nagios.cfg else nothing will work. From: XYZ XYZ [mailto:coolmrhonest at yahoo.com] Sent: Monday, December 8, 2008 5:24 PM To: Nagios Mailinglist Subject: [Nagios-users] Migrating nagios from one server to other Hi I am in process of migrating nagios from one server to other server(same OS but lower version to higher version). Can anyone suggest me what are the steps to be followed to get same look and feel. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.ottavi at medi.fr Tue Dec 9 12:35:15 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Tue, 09 Dec 2008 12:35:15 +0100 Subject: Host down, still doing active checks, causing multiple unwanted service failures In-Reply-To: References: <493D5B7A.2050205@medi.fr> Message-ID: <493E57F3.10903@medi.fr> Hi Mark, thank you for your answer, Marc Powell a ?crit: > Nagios is first and foremost a service monitor, not a host monitor. > Host monitoring is only necessary, as far as nagios is concerned, for > two reasons -- > - notification supression. If the host is down, don't notify about > the services. They're still down so show them down, but don't wake > anybody up over it if they're not also responsible for the host. > - parenting/unreachable logic. > I agree with you. Parenting / unreachable logic is a very good thing. But I think it should allow to declare a service as a child of its host. This parent/child logic can suppress 'notifications'. I think it could also suppress the display of inaccurate 'status' on the console window. We do not use email notifications, because we are only 2 guys, and this would generate too much messages. We periodically check the web console, and we use on all our PCs small plugins for Firefox and Windows that display in a small popup the list of errors/warnings. When a host is down, we just get pages of errors about all service errors, when we would like to have just one. It would be interesting for us if the parent/child notification suppression mechanism could also suppress these unwanted displays. > Nagios is designed to show the current state of services as accurately > as possible. This helps explain the 'why' of the behavior you are > seeing and works very well to cover the edge cases that your goal > won't catch. For example, if your host check is a ping and something > borks ICMP on your network, you would have all the services on that > host disabled and set to unknown, even though they are working just > fine. That's not what happens. Most of the monitored hosts are located on WANs. These links, at least those from my office, are used only for remote control and remote administration, thus they're build with cheap technologies, not intended to be highly reliable. When a host becomes not pingable, then it usually means the WAN link is down. The action is usually to reboot a router, or reset a VPN tunnel. But, during this time, there's no sense for me to send hundreds of checks through this wan, because they will fail. And there's no need for me to know the services are in a failed status. They may be working fine. But the service check won't have any chance of success, because of WAN failure. Then, what I would expect in the service status is "UNKNOWN". Same as when a child becomes "UNREACHABLE" because of parent down > Your understanding of exactly what is impacted on that host is > now completely wrong. By artificially changing the service state, your > reporting is no longer reliable as well. You may be fine with that but > understand that your goal is opposite of what nagios is meant to do. > In my configuration, WAN failures occur far more often than general crash of a host causing lots of services down. I agree with you, when the WAN is down, my understanding of exactly what is impacted on the host is completely wrong. Nagios says all the services are down, when it should say, in my opinion, that it could not determone the status of the services. Moreover, plugins from various sources behave differently when the host is unreachable. Some plugins return UNKNOWN, which may be the most accurate result in such a sutuation. But some plugins return FAILED, and also some plugins return WARNING. This adds a little bit more confusion to the console, where it may not be easy to find the original problem. > Instead of disabling the service checks, you > may be able to use adaptive monitoring to change the service > check_commands to something that always returns UNKNOWN (i.e. > check_dummy). I already think about that. But I would have to change every check_command for every service. And, more complicated, I will have to put back the contents of all the original service checks when the host comes back. About disabling the services, there's an external command called "DISABLE ALL SERVICE CHECKS" for a particular host, so that I can disable all services in one go But to change service check_commands, I would have to do that for every service, which would be very huge and quite difficult to maintain ! Each remote server has approximately 20 service checks, some hundred services total, and this is only the beginning, the full setup would require some thousands of checks, all of them located over poor WAN links... In fact, parent/child mechanism seems to be the right way to handle hosts located over WANs or routers. In my opinion, it should be possible to consider services as childs of their parent host. This may be a feature request for future versions... Following this idea, I will investigate the following : - Hosts associated themselves with parent/child relationship according to WAN topology (already working) - For each host, I will create a "parent" service with only a check_alive command - Every other service will be a child of this parent service I'll try right now. Comments and suggestions are welcome. Am I the only one having this problem ? Kind regards -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* *Mail:* t.ottavi at medi.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Tue Dec 9 14:29:56 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Tue, 9 Dec 2008 14:29:56 +0100 Subject: Setting up guest user for nagios In-Reply-To: <49311125.5010801@vanderkooij.org> References: <49311125.5010801@vanderkooij.org> Message-ID: Thanks for your reply. I've ensured that user "guest" is only included in these two lists: - authorized_for_all_services=usernagios,guest - authorized_for_all_hosts=usernagios,guest >From what I can see, the guest user will now only have read/view access to Nagios. Are there any security or other problems to this approach that I don't see? Regards, Kenneth On 11/29/08, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Kenneth Holter wrote: > > Hi. > > > > > > I need to configure a guest account so that anyone in the organization > > interested in monitoring can log into our Nagios web interface. > > > > Setting up the guest user account is a matter of adding the guest user > > to the required lines in "cgi.bin". What is the recommended practice > > here? I were thinking I'd add "guest" to each of these lines, but I'm > > not sure if these leaves the guest user with too much privileges: > > > > > > * authorized_for_system_information=usernagios > > * authorized_for_configuration_information=usernagios > > * authorized_for_system_commands=usernagios > > So they can now do pretty much shutdown operations? > > > * authorized_for_all_services=usernagios > > * authorized_for_all_hosts=usernagios > > > > Does anyone have any recommendations on this? > > I think using nagvis or looking glass or .... seems the better way to > add a view only account. > > Hugo. > > - -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > iD8DBQFJMREkBvzDRVjxmYERAvi5AJ9zi845wYju2HIVUmHPzrl8IA6uywCeMiOd > V4TVW6zIioHLBbOdeTXeyyo= > =HrH7 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 9 15:17:00 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Dec 2008 08:17:00 -0600 Subject: Host down, still doing active checks, causing multiple unwanted service failures In-Reply-To: <493E57F3.10903@medi.fr> References: <493D5B7A.2050205@medi.fr> <493E57F3.10903@medi.fr> Message-ID: <7594E500-FD83-46A3-BEDD-5AB2A55FB3C6@ena.com> On Dec 9, 2008, at 5:35 AM, Toussaint OTTAVI wrote: > I agree with you. Parenting / unreachable logic is a very good > thing. But I think it should allow to declare a service as a child > of its host. This parent/child logic can suppress 'notifications'. I > think it could also suppress the display of inaccurate 'status' on > the console window. Our ideas of accuracy would seem to differ ;) > We do not use email notifications, because we are only 2 guys, and > this would generate too much messages. It shouldn't. In your scenario of 1 host down with X number of services on it, you should only receive 1 down message and 1 recovery message per host event (unless you want more). > In fact, parent/child mechanism seems to be the right way to handle > hosts located over WANs or routers. In my opinion, it should be > possible to consider services as childs of their parent host. This > may be a feature request for future versions... Possibly but with an additional requirement that regularly scheduled host checks are enabled for those hosts. Those are still considered optional and have been undesirable for all prior versions of nagios before current. If someone were to code the patch they would need to ensure they were enabled for the hosts with this new feature enabled otherwise the host would never be checked and return out of it's critical state. > Following this idea, I will investigate the following : > - Hosts associated themselves with parent/child relationship > according to WAN topology (already working) > - For each host, I will create a "parent" service with only a > check_alive command > - Every other service will be a child of this parent service This is promising. http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency will help with the config if you haven't seen it. > Am I the only one having this problem ? I don't consider it a problem myself, just that nagios doesn't work as you want it to in your environment. I personally prefer the current behavior since it provides more accurate information over a wider variety of outage scenarios. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.ottavi at medi.fr Tue Dec 9 15:17:22 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Tue, 09 Dec 2008 15:17:22 +0100 Subject: Host down, still doing active checks, causing multiple unwanted service failures In-Reply-To: <493E57F3.10903@medi.fr> References: <493D5B7A.2050205@medi.fr> <493E57F3.10903@medi.fr> Message-ID: <493E7DF2.7000102@medi.fr> Toussaint OTTAVI a ?crit: > > Following this idea, I will investigate the following : > - Hosts associated themselves with parent/child relationship according > to WAN topology (already working) > - For each host, I will create a "parent" service with only a > check_alive command > - Every other service will be a child of this parent service Answer to myself... After some investigations and doc readings :-) it seems I made a little confusion between "parent/child" and "dependency" : - Parent/Child relationship is for hosts only, and should map network topology. When a host is DOWN, all the children are set to UNREACHABLE. But this parent/child relationship does not exist for services. - Dependency can be either for hosts or services. When a dependant object is down, the "depended upon" object is not checked. But no assumption is made to the "depended upon" object status. Thus, it is not set to UNREACHABLE or UNKNOWN, such as for parent/child relationship. Here's the actual situation : - Creating a dependancy solves my problem of not checking services when hosts are unreachable due to WAN failure. This is a smarter solution than my previous attempt using event_handlers and DISABLE_ALL_SVC_CHECKS external command. Using wildcards, I just have to declare one dependency for all services on several hosts like this : define servicedependency{ host_name Remote_WAN_Router service_description Remote WAN router ping test dependent_host_name REMOTE_HOST1, REMOTE_HOST2, ..., REMOTE_HOSTn dependent_service_description * inherits_parent 1 execution_failure_criteria w,u,c } - Doing that, when the WAN fails, the checks are not executed, and they keep their previous status. That's a good thing. But I would have prefered they get the status UNKNOWN or UNREACHABLE. In fact, I would like to have the same parent/child behavior that exists for hosts, but for services. - I'm not sure it will solve the "latency" problem : if a service check attempt on remote_host occurs before the remote_wan_router is declared DOWN and the dependency does its job, then I'll still get critical failures for those services. The console will display a mix of FAILED services (those executed before the WAN router check) and some OK services (Previous state of services that will not be checked due to dependency). This display would be completely wrong ! Again, in such a situation, I think the right display for services whose status could not be determined should be "UNKNOWN". Same as hosts that are "UNREACHABLE" Comments and ideas welcome. Kind regards, -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* ***Mail:* t.ottavi at medi.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coolmrhonest at yahoo.com Tue Dec 9 15:48:42 2008 From: coolmrhonest at yahoo.com (XYZ XYZ) Date: Tue, 9 Dec 2008 06:48:42 -0800 (PST) Subject: Migrating nagios from one server to other In-Reply-To: <15BB20F3-2631-4ACB-A34F-85C7988E65B9@ena.com> References: <15BB20F3-2631-4ACB-A34F-85C7988E65B9@ena.com> Message-ID: <508095.49936.qm@web112214.mail.gq1.yahoo.com> ? Marc, Seth ?? Thanks for quick response. ? ? Thanks --- On Mon, 12/8/08, Marc Powell wrote: From: Marc Powell Subject: Re: [Nagios-users] Migrating nagios from one server to other To: "Nagios Mailinglist" Date: Monday, December 8, 2008, 5:51 PM On Dec 8, 2008, at 4:23 PM, XYZ XYZ wrote: > Hi > I am in process of migrating nagios from one server to other > server(same OS but lower version to higher version). Can anyone > suggest me what are the steps to be followed to get same look and > feel. Feels like homework but... (assumes nagios versions are the same and using a source-installed nagios) - Configure the webservers the same (The nagios documentation should help here). - Install nagios on the new machine - Install nagios plugins on the new machine (including any special ones you've installed or created) - Install any nagios addons you use on the new machine - Move dynamic data from current nagios to the new machine # stop nagios on current machine # tar up current etc and var directories # restart nagios # copy data tar file over to the new machine # log in to the new machine # extract the data to the new install of nagios # verify nagios configuration /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg # [start nagios if all looks well]. If you're using NSCA or any other passive checks, you should know what to do there. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 9 17:17:06 2008 From: marc at ena.com (Marc Powell) Date: Tue, 9 Dec 2008 10:17:06 -0600 Subject: Migrating nagios from one server to other In-Reply-To: <637277.9299.qm@web112204.mail.gq1.yahoo.com> References: <637277.9299.qm@web112204.mail.gq1.yahoo.com> Message-ID: Please always respond on list so that others, now and in the future, learn from your experience. On Dec 9, 2008, at 8:46 AM, XYZ XYZ wrote: > Marc > My old server nagios version was 2.1 and new server nagios version > is 2.12, do i get any problem in migrating. Upgrades within the same major version of nagios aren't a problem. > > one more thing look and feel of my old nagios is different from > new, can i have same old look and feel(background and foreground > colors), i found few articles that share directory contains > stylesheets can i copy over to new server. If you've modified the stylesheets from the default then you'll need to move them over or make the same changes. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coolmrhonest at yahoo.com Tue Dec 9 17:38:08 2008 From: coolmrhonest at yahoo.com (XYZ XYZ) Date: Tue, 9 Dec 2008 08:38:08 -0800 (PST) Subject: Migrating nagios from one server to other In-Reply-To: References: Message-ID: <648171.95130.qm@web112201.mail.gq1.yahoo.com> Thanks Marc, Sorry for that i didnt check it. ? --- On Tue, 12/9/08, Marc Powell wrote: From: Marc Powell Subject: Re: [Nagios-users] Migrating nagios from one server to other To: "Nagios Mailinglist" Date: Tuesday, December 9, 2008, 11:17 AM Please always respond on list so that others, now and in the future, learn from your experience. On Dec 9, 2008, at 8:46 AM, XYZ XYZ wrote: > Marc > My old server nagios version was 2.1 and new server nagios version > is 2.12, do i get any problem in migrating. Upgrades within the same major version of nagios aren't a problem. > > one more thing look and feel of my old nagios is different from > new, can i have same old look and feel(background and foreground > colors), i found few articles that share directory contains > stylesheets can i copy over to new server. If you've modified the stylesheets from the default then you'll need to move them over or make the same changes. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Tue Dec 9 21:35:24 2008 From: maxwellb at oclc.org (Maxwell,Brady) Date: Tue, 9 Dec 2008 15:35:24 -0500 Subject: Nrpe and windows Message-ID: <4E7C2F493C1A1A44BE705AFDCEE8A133119771@OAEXCH2SERVER.oa.oclc.org> I have some questions for the group about nagios, nrpe, nrpe_nt.exe and windows. Some Background: We are currently using check_nrpe to send checks to an nrpe_nt.exe which then runs checks on about 350 windows servers and returns the output to nagios one service at a time, a total of about 1500 checks run this way. The servers are all one-offs and are not part of a ad auth domain. We have have issues like "[No output available from command...]: 128" on our "nrpe proxy". Rebooting the proxy server seems to fix this issue. According to what I have found via google there is some speculation that nrpe_nt.exe is not letting go of tcp ports it uses. I do not buy it. Since nrpe_nt.exe is not a current project anymore I was thinking maybe its time to find a new solution to check these servers. Is anyone using a similar configuration? Does anyone know of a more current project that can facilitate the same monitoring architecture? Thanks Brady -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at u-journal.org Wed Dec 10 02:56:09 2008 From: me at u-journal.org (Unai Rodriguez) Date: Tue, 09 Dec 2008 18:56:09 -0700 Subject: Nrpe and windows In-Reply-To: <4E7C2F493C1A1A44BE705AFDCEE8A133119771@OAEXCH2SERVER.oa.oclc.org> References: <4E7C2F493C1A1A44BE705AFDCEE8A133119771@OAEXCH2SERVER.oa.oclc.org> Message-ID: <16a294c51b317d97f5f61ea2c75ad430@mail.u-journal.org> Dear Brady, > Is anyone using a similar configuration? Does anyone know of a more > current project that can facilitate the same monitoring architecture? I am currently using NSClient++ (http://trac.nakednuns.org/nscp/). I am monitoring 48 servers and 675 services with no issues. unai ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Wed Dec 10 04:44:02 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 10 Dec 2008 09:14:02 +0530 Subject: Nrpe and windows References: <4E7C2F493C1A1A44BE705AFDCEE8A133119771@OAEXCH2SERVER.oa.oclc.org> Message-ID: Brady, You can use NSclient++ also add a few more NSclient++ proxies. Write a wrapper script around check_nt to use multiple proxies instead of one. Regards, Naren -----Original Message----- From: Maxwell,Brady [mailto:maxwellb at oclc.org] Sent: Wed 12/10/2008 2:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nrpe and windows I have some questions for the group about nagios, nrpe, nrpe_nt.exe and windows. Some Background: We are currently using check_nrpe to send checks to an nrpe_nt.exe which then runs checks on about 350 windows servers and returns the output to nagios one service at a time, a total of about 1500 checks run this way. The servers are all one-offs and are not part of a ad auth domain. We have have issues like "[No output available from command...]: 128" on our "nrpe proxy". Rebooting the proxy server seems to fix this issue. According to what I have found via google there is some speculation that nrpe_nt.exe is not letting go of tcp ports it uses. I do not buy it. Since nrpe_nt.exe is not a current project anymore I was thinking maybe its time to find a new solution to check these servers. Is anyone using a similar configuration? Does anyone know of a more current project that can facilitate the same monitoring architecture? Thanks Brady -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Dec 10 05:50:35 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 10 Dec 2008 13:50:35 +0900 Subject: Setting up guest user for nagios In-Reply-To: References: <49311125.5010801@vanderkooij.org> Message-ID: <493F4A9B.1040401@acces.co.jp> > I've ensured that user "guest" is only included in these two lists: > > * authorized_for_all_services=usernagios,guest > * authorized_for_all_hosts=usernagios,guest That sorts out the nagios configuration side of things. You'll also need to add an entry to /usr/local/nagios/etc/htpasswd.users so that the guest user can authenticate before accessing the web interface as per: http://nagios.sourceforge.net/docs/3_0/cgiauth.html HTH IM -- Nagios 3.0.4 (with plugins v1.4.13) on CentOS 5.2 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Wed Dec 10 08:24:00 2008 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Wed, 10 Dec 2008 08:24:00 +0100 Subject: Nrpe and windows In-Reply-To: <16a294c51b317d97f5f61ea2c75ad430@mail.u-journal.org> References: <4E7C2F493C1A1A44BE705AFDCEE8A133119771@OAEXCH2SERVER.oa.oclc.org> <16a294c51b317d97f5f61ea2c75ad430@mail.u-journal.org> Message-ID: <493F6E90.4050509@op5.com> Unai Rodriguez skrev: > Dear Brady, > >> Is anyone using a similar configuration? Does anyone know of a more >> current project that can facilitate the same monitoring architecture? > > I am currently using NSClient++ (http://trac.nakednuns.org/nscp/). You can also reach it on http://www.nsclient.org (some companies don't like you to surf to naked nuns :)) I am > monitoring 48 servers and 675 services with no issues. > > unai > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Wed Dec 10 09:19:18 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Wed, 10 Dec 2008 09:19:18 +0100 Subject: Nagios and SELinux issue Message-ID: Hello list. We're running Nagios 3.0.3 on RHEL 5, and are having an issue with SELinux. A symptom I have noticed it that acknowledging a problem results in the following error: *Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd' * We need to keep SELinux active on the server, so I'll have to configure it to allow for Nagios. Does anyone know what needs to be done to do this? Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Wed Dec 10 09:27:54 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Wed, 10 Dec 2008 09:27:54 +0100 Subject: Setting up guest user for nagios In-Reply-To: <493F4A9B.1040401@acces.co.jp> References: <49311125.5010801@vanderkooij.org> <493F4A9B.1040401@acces.co.jp> Message-ID: I already added a "guest" entry in that file, but thansk anyway. Everything seems to be working correctly. On 12/10/08, Ian Masters wrote: > > > I've ensured that user "guest" is only included in these two lists: > > > > * authorized_for_all_services=usernagios,guest > > * authorized_for_all_hosts=usernagios,guest > > That sorts out the nagios configuration side of things. > > You'll also need to add an entry to /usr/local/nagios/etc/htpasswd.users > so that the guest user can authenticate before accessing the web > interface as per: > > http://nagios.sourceforge.net/docs/3_0/cgiauth.html > > HTH > > IM > > -- > Nagios 3.0.4 (with plugins v1.4.13) on CentOS 5.2 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Wed Dec 10 09:43:44 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Wed, 10 Dec 2008 09:43:44 +0100 Subject: Network and machine resource consumption for Nagios Message-ID: Hi. Is there any resource consumption with regards to network or server/client machines to worry about when running Nagios? We're running active checks, i.e. the Nagios server uses SSH to run plugins on the client side and gather the information. I guessing that the per service per check interval load on the network is a matter of a couple of very small packets travelling between the Nagios server and the Nagios client. And on the client side it is only a matter of running small, simple scripts that causes very little processing overhead. Thus, all in all there shouldn't be much of a overhead to talk about when running Nagios? Of course, it all depends on the check interval and the number of checks, and if anyone knows any nagios check per processing/network capacity ratio please speak up. Regards, Kenneth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Dec 10 09:54:31 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 10 Dec 2008 17:54:31 +0900 Subject: Nagios and SELinux issue In-Reply-To: References: Message-ID: <493F83C7.1070207@acces.co.jp> Kenneth Holter wrote: > We're running Nagios 3.0.3 on RHEL 5, and are having an issue with > SELinux. A symptom I have noticed it that acknowledging a problem > results in the following error: > > /Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd' / > > We need to keep SELinux active on the server, so I'll have to configure > it to allow for Nagios. Does anyone know what needs to be done to do this? Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html Especially the heading: 8) Modify SELinux Settings IM ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 10 10:00:59 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 10 Dec 2008 09:00:59 +0000 Subject: Nagios and SELinux issue In-Reply-To: <493F83C7.1070207@acces.co.jp> References: <493F83C7.1070207@acces.co.jp> Message-ID: <4b008f7d0812100100k22548c8qdab09bb03af3acec@mail.gmail.com> Hmmmm, You have to hit the Selinux docs to help. I usually just disable Selinux. Lex On Wed, Dec 10, 2008 at 8:54 AM, Ian Masters wrote: > Kenneth Holter wrote: > > We're running Nagios 3.0.3 on RHEL 5, and are having an issue with > > SELinux. A symptom I have noticed it that acknowledging a problem > > results in the following error: > > > > /Error: Could not stat() command file > > '/usr/local/nagios/var/rw/nagios.cmd' / > > > > We need to keep SELinux active on the server, so I'll have to configure > > it to allow for Nagios. Does anyone know what needs to be done to do > this? > > Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > > Especially the heading: > 8) Modify SELinux Settings > > IM > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Wed Dec 10 10:41:40 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Wed, 10 Dec 2008 10:41:40 +0100 Subject: Nagios and SELinux issue In-Reply-To: <493F83C7.1070207@acces.co.jp> References: <493F83C7.1070207@acces.co.jp> Message-ID: Thanks - I missed this part during installation. I'll give it a read. On 12/10/08, Ian Masters wrote: > > Kenneth Holter wrote: > > We're running Nagios 3.0.3 on RHEL 5, and are having an issue with > > SELinux. A symptom I have noticed it that acknowledging a problem > > results in the following error: > > > > /Error: Could not stat() command file > > '/usr/local/nagios/var/rw/nagios.cmd' / > > > > We need to keep SELinux active on the server, so I'll have to configure > > it to allow for Nagios. Does anyone know what needs to be done to do > this? > > Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > > Especially the heading: > 8) Modify SELinux Settings > > IM > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 10 10:46:04 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 10 Dec 2008 09:46:04 +0000 Subject: Nagios and SELinux issue In-Reply-To: References: <493F83C7.1070207@acces.co.jp> Message-ID: <4b008f7d0812100146t5749ef59o2a50e7d0a4c4b782@mail.gmail.com> There should be an option in Selinux to allow certain network services run. Try and narrow your search around that area. Lex On Wed, Dec 10, 2008 at 9:41 AM, Kenneth Holter wrote: > > Thanks - I missed this part during installation. I'll give it a read. > > On 12/10/08, Ian Masters wrote: >> >> Kenneth Holter wrote: >> > We're running Nagios 3.0.3 on RHEL 5, and are having an issue with >> > SELinux. A symptom I have noticed it that acknowledging a problem >> > results in the following error: >> > >> > /Error: Could not stat() command file >> > '/usr/local/nagios/var/rw/nagios.cmd' / >> > >> > We need to keep SELinux active on the server, so I'll have to configure >> > it to allow for Nagios. Does anyone know what needs to be done to do >> this? >> >> Did you see http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html >> >> Especially the heading: >> 8) Modify SELinux Settings >> >> IM >> >> > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v.matys at grumpa.net Wed Dec 10 10:42:44 2008 From: v.matys at grumpa.net (Viktor Matys) Date: Wed, 10 Dec 2008 10:42:44 +0100 Subject: host port setting Message-ID: <493F8F14.1050708@grumpa.net> I have machine with NRPE server, where I needed change the port number where the NRPE listens. It's simply allowed in configuration file. But I cannot find out how to set this port number on main Nagios server, which collects information from that remote NRPE server. Is there a configuration directive I overlooked? Thank for help Viktor -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Cherrington at rhul.ac.uk Wed Dec 10 11:15:22 2008 From: Stuart.Cherrington at rhul.ac.uk (Cherrington Stuart) Date: Wed, 10 Dec 2008 10:15:22 -0000 Subject: host port setting In-Reply-To: <493F8F14.1050708@grumpa.net> References: <493F8F14.1050708@grumpa.net> Message-ID: <5332CCE6B7DACF4CA514A1F8141A5D28027F769E@EXCH-DB-04.cc.rhul.local> Viktor, The nrpe.cfg file (in my install its in /etc/Nagios) hold the port number 5666, is this what you rlooking for? Thanks, Stuart Cherrington Unix Systems Admin Royal Holloway University Mobile: 07756 857607 -----Original Message----- From: Viktor Matys [mailto:v.matys at grumpa.net] Sent: 10 December 2008 09:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host port setting I have machine with NRPE server, where I needed change the port number where the NRPE listens. It's simply allowed in configuration file. But I cannot find out how to set this port number on main Nagios server, which collects information from that remote NRPE server. Is there a configuration directive I overlooked? Thank for help Viktor -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 10 11:19:27 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 10 Dec 2008 10:19:27 +0000 Subject: host port setting In-Reply-To: <493F8F14.1050708@grumpa.net> References: <493F8F14.1050708@grumpa.net> Message-ID: <4b008f7d0812100219t78a34404w322e6d4fd2a2f36c@mail.gmail.com> A process/app as to listen/bind on a port before it can be used. On Wed, Dec 10, 2008 at 9:42 AM, Viktor Matys wrote: > I have machine with NRPE server, where I needed change the port number > where the NRPE listens. It's simply allowed in configuration file. But I > cannot find out how to set this port number on main Nagios server, which > collects information from that remote NRPE server. Is there a > configuration directive I overlooked? > > Thank for help > > Viktor > > > -- > Tato zprava byla prohledana na vyskyt viru > a nebezpecneho obsahu antivirovym systemem > MailScanner a zda se byt cista. > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 10 11:24:25 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 10 Dec 2008 10:24:25 +0000 Subject: host port setting In-Reply-To: <5332CCE6B7DACF4CA514A1F8141A5D28027F769E@EXCH-DB-04.cc.rhul.local> References: <493F8F14.1050708@grumpa.net> <5332CCE6B7DACF4CA514A1F8141A5D28027F769E@EXCH-DB-04.cc.rhul.local> Message-ID: <4b008f7d0812100224v564b42a5y7315862c209bc982@mail.gmail.com> U have to explain your setup pretty well before I can advice. For example, a web server listens on port 80. A web browser connects to the web server on port 80 before communication can take place. How is your setup like? Lex On Wed, Dec 10, 2008 at 10:15 AM, Cherrington Stuart < Stuart.Cherrington at rhul.ac.uk> wrote: > Viktor, > > The nrpe.cfg file (in my install its in /etc/Nagios) hold the port > number 5666, is this what you rlooking for? > > > Thanks, > > Stuart Cherrington > Unix Systems Admin > Royal Holloway University > > Mobile: 07756 857607 > > > -----Original Message----- > From: Viktor Matys [mailto:v.matys at grumpa.net] > Sent: 10 December 2008 09:43 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host port setting > > I have machine with NRPE server, where I needed change the port number > where the NRPE listens. It's simply allowed in configuration file. But I > > cannot find out how to set this port number on main Nagios server, which > > collects information from that remote NRPE server. Is there a > configuration directive I overlooked? > > Thank for help > > Viktor > > > -- > Tato zprava byla prohledana na vyskyt viru > a nebezpecneho obsahu antivirovym systemem > MailScanner a zda se byt cista. > > > ------------------------------------------------------------------------ > ------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. > com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 10 11:52:01 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 10 Dec 2008 10:52:01 +0000 Subject: host port setting In-Reply-To: <493F9A37.5050909@grumpa.net> References: <493F8F14.1050708@grumpa.net> <5332CCE6B7DACF4CA514A1F8141A5D28027F769E@EXCH-DB-04.cc.rhul.local> <4b008f7d0812100224v564b42a5y7315862c209bc982@mail.gmail.com> <493F9A37.5050909@grumpa.net> Message-ID: <4b008f7d0812100252g1aa7026ya58150801d6721eb@mail.gmail.com> I will advice you configure the nrpe daemon on the remote host to listen on which ever port you choose. After that, restart nagios on the monitoring host and use the plugin in the libexec directory to see if you can still talk to the remote server. To answer your question, I do not know of any directive to change the port number for nrpe on nagios. Perhaps it is harded coded in the plugin, perhaps not, you will only know after testing it. Lex On Wed, Dec 10, 2008 at 10:30 AM, Viktor Matys wrote: > Alex Dehaini napsal(a): > >> U have to explain your setup pretty well before I can advice. >> >> For example, a web server listens on port 80. A web browser connects to >> the web server on port 80 before communication can take place. >> >> How is your setup like? >> >> Lex >> >> On Wed, Dec 10, 2008 at 10:15 AM, Cherrington Stuart < >> Stuart.Cherrington at rhul.ac.uk > >> wrote: >> >> Viktor, >> >> The nrpe.cfg file (in my install its in /etc/Nagios) hold the port >> number 5666, is this what you rlooking for? >> >> Hello, thanks > > The question is: Is there a configuration direcitive for Nagios to connect > remote NRPE on a port nuber different from 5666? > > > Do you know that directive? > > Thank you > > > Viktor > > > -- > Tato zprava byla prohledana na vyskyt viru > a nebezpecneho obsahu antivirovym systemem > MailScanner a zda se byt cista. > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 10 12:02:26 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 10 Dec 2008 12:02:26 +0100 Subject: host port setting In-Reply-To: <4b008f7d0812100219t78a34404w322e6d4fd2a2f36c@mail.gmail.com> References: <493F8F14.1050708@grumpa.net> <4b008f7d0812100219t78a34404w322e6d4fd2a2f36c@mail.gmail.com> Message-ID: <493FA1C2.9000400@op5.se> Alex Dehaini wrote: > A process/app as to listen/bind on a port before it can be used. > That was the most irrelevant answer I've yet seen on this list, while still being 100% accurate. Are you by any chance a member of the microsoft customer support team? > On Wed, Dec 10, 2008 at 9:42 AM, Viktor Matys wrote: > >> I have machine with NRPE server, where I needed change the port number >> where the NRPE listens. It's simply allowed in configuration file. But I >> cannot find out how to set this port number on main Nagios server, which >> collects information from that remote NRPE server. Is there a >> configuration directive I overlooked? >> To change the port-number check_nrpe will connect to, use the -p flag. check_nrpe --help would have told you so. I just filled it in to get a chance to be a bit rude up above without adding to the list-noise ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boph at tdchosting.dk Wed Dec 10 12:16:07 2008 From: boph at tdchosting.dk (Bo Philip Larsen) Date: Wed, 10 Dec 2008 12:16:07 +0100 Subject: host port setting In-Reply-To: <4b008f7d0812100252g1aa7026ya58150801d6721eb@mail.gmail.com> References: <493F8F14.1050708@grumpa.net> <5332CCE6B7DACF4CA514A1F8141A5D28027F769E@EXCH-DB-04.cc.rhul.local> <4b008f7d0812100224v564b42a5y7315862c209bc982@mail.gmail.com> <493F9A37.5050909@grumpa.net> <4b008f7d0812100252g1aa7026ya58150801d6721eb@mail.gmail.com> Message-ID: <02EAC0960BFECB4F9EAEC26B4972EE4471CB9A2C73@TDCHEXBE01.int.tdch.dk> Hi, You can use the -p parameter on check_nrpe Bo From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: 10. december 2008 11:52 To: Viktor Matys Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] host port setting I will advice you configure the nrpe daemon on the remote host to listen on which ever port you choose. After that, restart nagios on the monitoring host and use the plugin in the libexec directory to see if you can still talk to the remote server. To answer your question, I do not know of any directive to change the port number for nrpe on nagios. Perhaps it is harded coded in the plugin, perhaps not, you will only know after testing it. Lex On Wed, Dec 10, 2008 at 10:30 AM, Viktor Matys > wrote: Alex Dehaini napsal(a): U have to explain your setup pretty well before I can advice. For example, a web server listens on port 80. A web browser connects to the web server on port 80 before communication can take place. How is your setup like? Lex On Wed, Dec 10, 2008 at 10:15 AM, Cherrington Stuart >> wrote: Viktor, The nrpe.cfg file (in my install its in /etc/Nagios) hold the port number 5666, is this what you rlooking for? Hello, thanks The question is: Is there a configuration direcitive for Nagios to connect remote NRPE on a port nuber different from 5666? Do you know that directive? Thank you Viktor -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.16/1840 - Release Date: 09-12-2008 16:53 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 10 12:40:16 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 10 Dec 2008 11:40:16 +0000 Subject: host port setting In-Reply-To: <493FA1C2.9000400@op5.se> References: <493F8F14.1050708@grumpa.net> <4b008f7d0812100219t78a34404w322e6d4fd2a2f36c@mail.gmail.com> <493FA1C2.9000400@op5.se> Message-ID: <4b008f7d0812100340h3cc1c2edrf27fd55a36ad82a0@mail.gmail.com> On Wed, Dec 10, 2008 at 11:02 AM, Andreas Ericsson wrote: > Alex Dehaini wrote: > >> A process/app as to listen/bind on a port before it can be used. >> >> > That was the most irrelevant answer I've yet seen on this list, > while still being 100% accurate. Are you by any chance a member > of the microsoft customer support team? - lol, the beauty of mailing list > is to allow people express themselves & no, I don't work for microsoft > > > On Wed, Dec 10, 2008 at 9:42 AM, Viktor Matys wrote: >> >> I have machine with NRPE server, where I needed change the port number >>> where the NRPE listens. It's simply allowed in configuration file. But I >>> cannot find out how to set this port number on main Nagios server, which >>> collects information from that remote NRPE server. Is there a >>> configuration directive I overlooked? >>> >>> > To change the port-number check_nrpe will connect to, use the -p flag. > check_nrpe --help would have told you so. I just filled it in to get a > chance to be a bit rude up above without adding to the list-noise ;-) > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adesperateuser at googlemail.com Wed Dec 10 13:07:25 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 10 Dec 2008 13:07:25 +0100 Subject: Nagios and AAI (Shibboleth) In-Reply-To: <493D2C53.9080704@switch.ch> References: <493D2C53.9080704@switch.ch> Message-ID: <493FB0FD.8090208@googlemail.com> Alessandro Usai schrieb: > I would like to know if it is possible > to manage access to Nagios using > Shibboleth and the AAI attributes, and if so > whether there is any documentation about it. > Has anyone a similar user case? My ex-colleague did this :-), so it's possible. Nagios uses the htaccess-username by default, so you have to map the shibboleth user to that attribute. Sorry, not very technical, I know. Thats because I just sat next to my colleague, when she hacked the solution, and didn't do it myself. Greetz Marcus ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v.matys at grumpa.net Wed Dec 10 14:33:39 2008 From: v.matys at grumpa.net (Viktor Matys) Date: Wed, 10 Dec 2008 14:33:39 +0100 Subject: host port setting SOLVED In-Reply-To: <493F8F14.1050708@grumpa.net> References: <493F8F14.1050708@grumpa.net> Message-ID: <493FC533.4060508@grumpa.net> Viktor Matys napsal(a): > I have machine with NRPE server, where I needed change the port number > where the NRPE listens. It's simply allowed in configuration file. But I > cannot find out how to set this port number on main Nagios server, which > collects information from that remote NRPE server. Is there a > configuration directive I overlooked? > > Thank for help > > Viktor > > > Thank to everybody for help. Solution is: We can put command line parameters in directive "address" in "define host" statement: # This is a nrpe remote server definition. NRPE is listening on port 5667. # Tested on Debian Lenny. define host { host_name some_host host_alias some_alias *address host.domain.com -p 5667* } Thank again :o) Viktor -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Wed Dec 10 16:19:12 2008 From: maxwellb at oclc.org (Maxwell,Brady) Date: Wed, 10 Dec 2008 10:19:12 -0500 Subject: Nrpe and windows In-Reply-To: References: <4E7C2F493C1A1A44BE705AFDCEE8A133119771@OAEXCH2SERVER.oa.oclc.org> Message-ID: <4E7C2F493C1A1A44BE705AFDCEE8A133119775@OAEXCH2SERVER.oa.oclc.org> We are currently setting up a second proxy and are going to split the checks between them. I am not sure I like that solution but were going to try it and see if it helps. -Brady -----Original Message----- From: narendran.neelamegam at wipro.com [mailto:narendran.neelamegam at wipro.com] Sent: Tuesday, December 09, 2008 10:44 PM To: Maxwell,Brady; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nrpe and windows Brady, You can use NSclient++ also add a few more NSclient++ proxies. Write a wrapper script around check_nt to use multiple proxies instead of one. Regards, Naren -----Original Message----- From: Maxwell,Brady [mailto:maxwellb at oclc.org] Sent: Wed 12/10/2008 2:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nrpe and windows I have some questions for the group about nagios, nrpe, nrpe_nt.exe and windows. Some Background: We are currently using check_nrpe to send checks to an nrpe_nt.exe which then runs checks on about 350 windows servers and returns the output to nagios one service at a time, a total of about 1500 checks run this way. The servers are all one-offs and are not part of a ad auth domain. We have have issues like "[No output available from command...]: 128" on our "nrpe proxy". Rebooting the proxy server seems to fix this issue. According to what I have found via google there is some speculation that nrpe_nt.exe is not letting go of tcp ports it uses. I do not buy it. Since nrpe_nt.exe is not a current project anymore I was thinking maybe its time to find a new solution to check these servers. Is anyone using a similar configuration? Does anyone know of a more current project that can facilitate the same monitoring architecture? Thanks Brady Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Wed Dec 10 17:14:50 2008 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 10 Dec 2008 11:14:50 -0500 Subject: Nagios and SELinux issue In-Reply-To: <493F83C7.1070207@acces.co.jp> References: <493F83C7.1070207@acces.co.jp> Message-ID: -----Original Message----- Kenneth Holter wrote: > We're running Nagios 3.0.3 on RHEL 5, and are having an issue with > SELinux. A symptom I have noticed it that acknowledging a problem > results in the following error: > > /Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd' / > > We need to keep SELinux active on the server, so I'll have to > configure > it to allow for Nagios. Does anyone know what needs to be done to do > this? I kept SELinux in Enforcing mode on CentOS 5.2, so hopefully this will be similar. Create a file called "mynagios.te", and put this in there: module mynagios 1.0; require { type initrc_tmp_t; type httpd_sys_script_t; type usr_t; type ping_t; type httpd_t; type unlabeled_t; class file execute_no_trans; class association recvfrom; class file execute; class file { read write }; class fifo_file write; class fifo_file getattr; } #============= httpd_t ============== allow httpd_t usr_t:file execute_no_trans; allow httpd_t usr_t:file execute; #============= unlabeled_t ============== allow unlabeled_t self:association recvfrom; #============= httpd_sys_script_t ============== allow httpd_sys_script_t usr_t:fifo_file write; allow httpd_sys_script_t usr_t:fifo_file getattr; #============= ping_t ============== allow ping_t initrc_tmp_t:file { read write }; To arrive at these settings, I ran Nagios with Enforcing turned on, and clicked on all the links in the side bar, and tried to do stuff like send acknowledgements. You can use audit2allow to generate the type enforcement file above from the audit.log file. I kept finding things I'd missed, so the above is the result of several iterations of audit2allow and merging copies of their output into one file: #audit2allow -m mynagios -l -i audit.log > mynagios.te (Make a backup copy of the .te file somewhere in case you miss something the first time around) #gedit mynagios.te (to merge in the settings from the previous .te file's backup) #checkmodule -M -m -o mynagios.mod mynagios.te #semodule_package -o mynagios.pp -m mynagios.mod #semodule -i mynagios.pp You can verify your mynagios policy package has been installed with: #semodule -l There was already a Nagios policy package installed on CentOS by default, but it didn't work for me. Maybe it was because I installed Nagios from source instead of using a package. Anyway, that's why I called it mynagios, so that it didn't collide with the provided Nagios package. Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately . Thank you. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miroslaw at gmail.com Wed Dec 10 18:10:09 2008 From: miroslaw at gmail.com (Miroslaw Horbal) Date: Wed, 10 Dec 2008 12:10:09 -0500 Subject: How to reduce a very high latency number Message-ID: <209ef4990812100910j64bd537cg12c275d10ae91977@mail.gmail.com> Have you tried modifying the OCSP command? More specifically, have you optimized the command to have the lowest possible runtime. I noticed that only one instance of the OCSP command is executed at a time and this can lead to very high latencies when a large number of checks are queued for submission. In our environment the OCSP command took approximately 0.7seconds to run - so with 100 checks there would be approximately 70seconds where nagios is submitting results. It's pretty easy to see how this can lead to performance issues as the number of checks increases. Our OCSP command is submit_check_results is very similar to the one shown in the nagios docs (http://nagios.sourceforge.net/docs/3_0/distributed.html). Notice the last line: ''' /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca -H central_server -c /usr/local/nagios/etc/send_nsca.cfg ''' In this version, the submit_check_result script has to wait for the send_nsca command to execute before the script can exit. If send_nsca takes 0.6seconds to send the check results and receive confirmation that the packet has been sent then the submit_check_result script has to wait at least 0.6seconds before exiting. Now consider this modified line: ''' /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca -H central_server -c /usr/local/nagios/etc/send_nsca.cfg > /dev/null & ''' In this version, submit_check_result will run send_nsca in the background (similar to forking the process). This time submit_check_result will only execute send_nsca, but it will not wait for send_nsca to finish running. This effectivly reduces the runtime of submit_check_result to about 0.02seconds which is a huge improvement compared to 0.7seconds. Now lets look at the numbers: Before I modified submit_check_results our average service check latency was 160seconds. After modifying the script latency dropped down to 1second. Hope this helps, beegie_b ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mohr at elaxy.com Wed Dec 10 18:35:14 2008 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 10 Dec 2008 18:35:14 +0100 Subject: SQL to read service configuration from mysql DB Message-ID: Hi All! I am trying to put together an SQL query to read the MySQL NDO DB in order to get the same kind of information that the web GUI provides under the "Configuration" link. I was hoping that someone already had written the query so I would not have to re-invent the wheel. Any input is appreciated. regards, Jim Mohr ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Wed Dec 10 19:01:26 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 10 Dec 2008 13:01:26 -0500 Subject: How to reduce a very high latency number In-Reply-To: <209ef4990812100910j64bd537cg12c275d10ae91977@mail.gmail.com> References: <209ef4990812100910j64bd537cg12c275d10ae91977@mail.gmail.com> Message-ID: <494003F6.9080206@collaborativefusion.com> Miroslaw Horbal wrote: > > In this version, submit_check_result will run send_nsca in the > background (similar to forking the process). This time > submit_check_result will only execute send_nsca, but it will not wait > for send_nsca to finish running. This effectivly reduces the runtime > of submit_check_result to about 0.02seconds which is a huge > improvement compared to 0.7seconds. Something about using shell level job control rubs me the wrong way. We reduced our latency to similar levels using the OCP Daemon documented here: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epearce at amberpoint.com Wed Dec 10 19:08:31 2008 From: epearce at amberpoint.com (Eric Pearce) Date: Wed, 10 Dec 2008 10:08:31 -0800 Subject: problems with action_url/notes_url URL truncation Message-ID: Sorry if this in the docs or FAQ - I didn't see it if it is. I'm running nagios 3.0.6 and 1.4.13 plugins. I want to have a URL in the email host notification that would allow me to connect to an Avocent KVM switch. This is what I have for the host definition: define host{ use generic-host host_name dbtest alias dbtest contact_groups buildpeople action_url https://kvmswitch/cgi-bin/kvm.cgi?&file=overview-dsr&userID=1326154034&index=25 } This URL works fine if you use it directly in a browser. I changed the notify-host-by-email command to include action_url via $HOSTACTIONURL$: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NO TIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOST OUTPUT$\n\nDate/Time: $LONGDATETIME$\nKVM URL: $HOSTACTIONURL$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } But the resulting email message seems to have lost all but the first "&" character, so the URL now looks like: KVM URL: https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25 What am I missing here? I see others posting examples of URLs with arguements, which implies that they are working for them. thanks -e -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 19:56:46 2008 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2008 12:56:46 -0600 Subject: SQL to read service configuration from mysql DB In-Reply-To: References: Message-ID: On Dec 10, 2008, at 11:35 AM, Mohr James wrote: > Hi All! > > I am trying to put together an SQL query to read the MySQL NDO DB in > order to get the same kind of information that the web GUI provides > under the "Configuration" link. I was hoping that someone already had > written the query so I would not have to re-invent the wheel. Any > input > is appreciated. Looks like these are a good starting point -- queries]# pwd ; ls /usr/local/src/ndoutils-1.4b7/db/queries comment_history.sql contacts.sql host_comments.sql host_notifications.sql scheduled_downtime.sql servicegroup_membership.sql state_history.sql comments.sql contact_status.sql host_downtime_history.sql hosts.sql service_comments.sql service_notifications.sql timed_event_queue.sql contactgroup_membership.sql downtime_history.sql host_event_handlers.sql host_state_history.sql service_downtime_history.sql services.sql timed_events.sql contact_notification_methods.sql event_handlers.sql host_flapping_history.sql host_status.sql service_event_handlers.sql service_state_history.sql contact_notifications.sql flapping_history.sql hostgroup_membership.sql notifications.sql service_flapping_history.sql service_status.sql -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mohr at elaxy.com Wed Dec 10 20:31:25 2008 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 10 Dec 2008 20:31:25 +0100 Subject: SQL to read service configuration from mysql DB In-Reply-To: References: Message-ID: > -----Urspr?ngliche Nachricht----- > Von: Marc Powell [mailto:marc at ena.com] > Gesendet: Mittwoch, 10. Dezember 2008 19:57 > An: Nagios Mailinglist > Betreff: Re: [Nagios-users] SQL to read service configuration > from mysql DB > > > On Dec 10, 2008, at 11:35 AM, Mohr James wrote: > > > Hi All! > > > > I am trying to put together an SQL query to read the MySQL > NDO DB in > > order to get the same kind of information that the web GUI provides > > under the "Configuration" link. I was hoping that someone > already had > > written the query so I would not have to re-invent the wheel. Any > > input is appreciated. > > Looks like these are a good starting point -- > > queries]# pwd ; ls > > /usr/local/src/ndoutils-1.4b7/db/queries THANKS!!! Although I can't find a query that lists all of the service configration information, these definately give me an insight into how the tables are connected in order to build the query I need. Regards, Jim Mohr ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 10 20:32:59 2008 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2008 13:32:59 -0600 Subject: problems with action_url/notes_url URL truncation In-Reply-To: References: Message-ID: <4BE9D495-B53E-4282-817B-3C725B4EE592@ena.com> On Dec 10, 2008, at 12:08 PM, Eric Pearce wrote: > But the resulting email message seems to have lost all but the first > "&" character, so the URL now looks like: > > KVM URL: https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25 > > What am I missing here? I see others posting examples of URLs with > arguements, which implies that they are working for them. > thanks It's a stab but is '&' listed in nagios.cfg:illegal_macro_output_chars? I know that it doesn't list $HOSTACTIONURL$ as one to be cleaned but it sure seems to fit. I've tried figuring out if that action applies to that macro but the code there gets a little complicated for me to follow. It seems like it might be cleaned though. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Dec 10 20:35:43 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 10 Dec 2008 20:35:43 +0100 Subject: problems with action_url/notes_url URL truncation In-Reply-To: References: Message-ID: <49401A0F.1090307@ederdrom.de> Eric Pearce schrieb: > Sorry if this in the docs or FAQ - I didn't see it if it is. > I'm running nagios 3.0.6 and 1.4.13 plugins. > I want to have a URL in the email host notification that would allow me > to connect to an Avocent KVM switch. This is what I have for the host > definition: > > > define host{ > use generic-host > host_name dbtest > alias dbtest > contact_groups buildpeople > action_url > https://kvmswitch/cgi-bin/kvm.cgi?&file=overview-dsr&userID=1326154034&index=25 > > } > > This URL works fine if you use it directly in a browser. > > I changed the notify-host-by-email command to include action_url via > $HOSTACTIONURL$: > > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NO > TIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOST > OUTPUT$\n\nDate/Time: $LONGDATETIME$\nKVM URL: $HOSTACTIONURL$\n" | > /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is > $HOSTSTATE$ **" $CONTACTEMAIL$ > } > > But the resulting email message seems to have lost all but the first "&" > character, so the URL now looks like: > > KVM URL: > https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25 > > What am I missing here? I see others posting examples of URLs with > arguements, which implies that they are working for them. > thanks Hi Eric, please check your nagios.cfg for illegal_macro_output_chars= kind regards, Joerg ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Wed Dec 10 20:45:15 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 10 Dec 2008 11:45:15 -0800 Subject: Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available! Message-ID: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> Lilac 1.0 beta 1 is NOW released. Featuring a robust importer for importing existing Nagios 2.x and 3.x configurations, an exporter to export to Nagios 3.x and a robust Auto-Discovery system. Downloads and documentation at http://www.lilacplatform.com Thanks to everyone for their extensive testing of Alpha and filing bugs and suggestions. Beta 1 is *very* awesome. -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwhitehead at ti.com Wed Dec 10 21:03:08 2008 From: bwhitehead at ti.com (Whitehead, Brian) Date: Wed, 10 Dec 2008 14:03:08 -0600 Subject: Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available! In-Reply-To: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> References: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> Message-ID: <92CDD168D1E81F4F9D3839DC45903FC63DB52A25@dlee03.ent.ti.com> Just being picky, but unless I've slept for a year, you might want to adjust the date. 12/10/2009: Beta Release Now Available -----Original Message----- From: Taylor Dondich [mailto:tdondich at gmail.com] Sent: Wednesday, December 10, 2008 1:45 PM To: nagios-user Mailinglist Subject: [Nagios-users] Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available! Lilac 1.0 beta 1 is NOW released. Featuring a robust importer for importing existing Nagios 2.x and 3.x configurations, an exporter to export to Nagios 3.x and a robust Auto-Discovery system. Downloads and documentation at http://www.lilacplatform.com Thanks to everyone for their extensive testing of Alpha and filing bugs and suggestions. Beta 1 is *very* awesome. -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 10 23:15:58 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 10 Dec 2008 14:15:58 -0800 Subject: Network and machine resource consumption for Nagios In-Reply-To: References: Message-ID: <20081210221558.GA26044@bakgwai.americas.hpqcorp.net> On Wed, 10 Dec 2008, Kenneth Holter wrote: > Is there any resource consumption with regards to network or server/client machines to worry about when running Nagios? We're running active checks, i.e. the Nagios server uses SSH to run plugins on the client side and gather the information. > > I guessing that the per service per check interval load on the network is a matter of a couple of very small packets travelling between the Nagios server and the Nagios client. And on the client side it is only a matter of running small, simple scripts that causes very little processing overhead. Thus, all in all there shouldn't be much of a overhead to talk about when running Nagios? Of course, it all depends on the check interval and the number of checks, and if anyone knows any nagios check per processing/network capacity ratio please speak up. Apologies for the upcoming non-answer, but... Nagios is very configurable and customizable, and any overhead on either the client or server is completely dependent on what you've configured it to check, and how you're checking it. In the absence of any knowledge about what that might be, it's really impossible to come up with even a wildly inaccurate ballpark figure. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Thu Dec 11 00:16:30 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 10 Dec 2008 15:16:30 -0800 Subject: Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available! In-Reply-To: <92CDD168D1E81F4F9D3839DC45903FC63DB52A25@dlee03.ent.ti.com> References: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> <92CDD168D1E81F4F9D3839DC45903FC63DB52A25@dlee03.ent.ti.com> Message-ID: <3d2eb72a0812101516x3d4de37bke83f0f04c6fc8eae@mail.gmail.com> hah. doh. Thank God it's a wiki. :) Taylor On Wed, Dec 10, 2008 at 12:03 PM, Whitehead, Brian wrote: > Just being picky, but unless I've slept for a year, you might want to adjust the date. > > 12/10/2009: Beta Release Now Available > > -----Original Message----- > From: Taylor Dondich [mailto:tdondich at gmail.com] > Sent: Wednesday, December 10, 2008 1:45 PM > To: nagios-user Mailinglist > Subject: [Nagios-users] Lilac 1.0 beta 1 released! The most robust Nagios 3.x configuration tool available! > > Lilac 1.0 beta 1 is NOW released. Featuring a robust importer for > importing existing Nagios 2.x and 3.x configurations, an exporter to > export to Nagios 3.x and a robust Auto-Discovery system. Downloads > and documentation at http://www.lilacplatform.com > > Thanks to everyone for their extensive testing of Alpha and filing > bugs and suggestions. Beta 1 is *very* awesome. > > -- > Taylor Dondich > Check out Lilac, a configuration tool for Nagios 3 at > http://www.lilacplatform.com > > Check out my Shortcut with O'Reilly Press: > Network Monitoring with Nagios: > http://oreilly.com/catalog/9780596528195/index.html > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Dec 11 11:10:09 2008 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 11 Dec 2008 10:10:09 -0000 Subject: Lilac 1.0 beta 1 released! The most robust Nagios3.x configuration tool available! In-Reply-To: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> References: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA055C6594@HC-MBX02.herefordshire.gov.uk> Shame it requires PHP 5.2. Any chance of re-engineering it so it works out of the box with a standard RedHat / CentOS 5.2 install? My past experience of the hassles of custom builds of PHP makes me very wary of going down that route again. Cheers, Phil -- Phil Randal | Networks Engineer Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 email: prandal at herefordshire.gov.uk Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -----Original Message----- From: Taylor Dondich [mailto:tdondich at gmail.com] Sent: 10 December 2008 19:45 To: nagios-user Mailinglist Subject: [Nagios-users] Lilac 1.0 beta 1 released! The most robust Nagios3.x configuration tool available! Lilac 1.0 beta 1 is NOW released. Featuring a robust importer for importing existing Nagios 2.x and 3.x configurations, an exporter to export to Nagios 3.x and a robust Auto-Discovery system. Downloads and documentation at http://www.lilacplatform.com Thanks to everyone for their extensive testing of Alpha and filing bugs and suggestions. Beta 1 is *very* awesome. -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Thu Dec 11 15:18:49 2008 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Thu, 11 Dec 2008 09:18:49 -0500 Subject: Lilac 1.0 beta 1 released! The most robust Nagios3.x configuration tool available! In-Reply-To: <7EF0EE5CB3B263488C8C18823239BEBA055C6594@HC-MBX02.herefordshire.gov.uk> References: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> <7EF0EE5CB3B263488C8C18823239BEBA055C6594@HC-MBX02.herefordshire.gov.uk> Message-ID: <2274b9c30812110618s6e18cd43r57da5be13908b4f2@mail.gmail.com> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=17595 php 5.2.7 is in the testing repo On 12/11/08, Randal, Phil wrote: > Shame it requires PHP 5.2. > > Any chance of re-engineering it so it works out of the box with a > standard RedHat / CentOS 5.2 install? > > My past experience of the hassles of custom builds of PHP makes me very > wary of going down that route again. > > Cheers, > > Phil > > -- > Phil Randal | Networks Engineer > Herefordshire Council | Deputy Chief Executive's Office | I.C.T. > Services Division > Thorn Office Centre, Rotherwas, Hereford, HR2 6JT > Tel: 01432 260160 > email: prandal at herefordshire.gov.uk > > Any opinion expressed in this e-mail or any attached files are those of > the individual and not necessarily those of Herefordshire Council. > > This e-mail and any attached files are confidential and intended solely > for the use of the addressee. This communication may contain material > protected by law from being passed on. If you are not the intended > recipient and have received this e-mail in error, you are advised that > any use, dissemination, forwarding, printing or copying of this e-mail > is strictly prohibited. If you have received this e-mail in error please > contact the sender immediately and destroy all copies of it. > > -----Original Message----- > From: Taylor Dondich [mailto:tdondich at gmail.com] > Sent: 10 December 2008 19:45 > To: nagios-user Mailinglist > Subject: [Nagios-users] Lilac 1.0 beta 1 released! The most robust > Nagios3.x configuration tool available! > > Lilac 1.0 beta 1 is NOW released. Featuring a robust importer for > importing existing Nagios 2.x and 3.x configurations, an exporter to > export to Nagios 3.x and a robust Auto-Discovery system. Downloads and > documentation at http://www.lilacplatform.com > > Thanks to everyone for their extensive testing of Alpha and filing bugs > and suggestions. Beta 1 is *very* awesome. > > -- > Taylor Dondich > Check out Lilac, a configuration tool for Nagios 3 at > http://www.lilacplatform.com > > Check out my Shortcut with O'Reilly Press: > Network Monitoring with Nagios: > http://oreilly.com/catalog/9780596528195/index.html > > ------------------------------------------------------------------------ > ------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. > com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Thu Dec 11 15:52:50 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Thu, 11 Dec 2008 15:52:50 +0100 Subject: Lilac 1.0 beta 1 released! The most robust Nagios3.x configuration tool available! In-Reply-To: <7EF0EE5CB3B263488C8C18823239BEBA055C6594@HC-MBX02.herefordshire.gov.uk> References: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> <7EF0EE5CB3B263488C8C18823239BEBA055C6594@HC-MBX02.herefordshire.gov.uk> Message-ID: <1229007170.6613.10.camel@mr-laptop> On Thu, 2008-12-11 at 10:10 +0000, Randal, Phil wrote: > Shame it requires PHP 5.2. > > Any chance of re-engineering it so it works out of the box with a > standard RedHat / CentOS 5.2 install? yum install php-devel php-pear pear install json vi /etc/php.ini change 'memmory_limit' to -1 or > 64M add 'extension=json.so' service httpd restart -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vitya at vitya.net Thu Dec 11 14:52:43 2008 From: vitya at vitya.net (=?KOI8-R?B?98nU0SDiz9LJ08/X?=) Date: Thu, 11 Dec 2008 19:52:43 +0600 Subject: I got problem with sending messages:( Message-ID: <8C203021-59A8-4D9A-9B4D-B6F0AA5AB8B2@vitya.net> Hi there! I got problem with sending messages. User nagios is capable of sending messages with assigned to him rights without any restrictions. ns:~ # su - nagios nagios at ns:~> /usr/bin/printf "test msg, yo!" | mailx -v -A myisp vitya at xxx.yyy warning: incomplete line - newline appended warning: incomplete line - newline appended Resolving host mail4.xxx.yyy . . . done. Connecting to x.x.x.x . . . connected. 220 MAIL4.xxx.yyy ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2657.72) ready EHLO ns.kgminsk 250-MAIL4.xxx.yyy Hello [x.x.x.x] 250-XEXCH50 250-HELP 250-ETRN 250-DSN 250-SIZE 2097152 250-AUTH LOGIN 250 AUTH=LOGIN AUTH LOGIN 334 VXNlcm5hbWU6 Ym9yaXNvdnZ2 334 UGFzc3dvcmQ6 MTIz 235 LOGIN authentication successful MAIL FROM: 250 OK - mail from RCPT TO: 250 OK - Recipient DATA 354 Send data. End with CRLF.CRLF . 250 OK QUIT 221 closing connection nagios at ns:~> Message is received by my email box. From: Nagios robot To: vitya at xxx.yyy Date: Thu, 11 Dec 2008 10:31:23 +0300 User-Agent: nail 11.25 7/29/05 test msg, yo! File .mailrc is located in /home/nagios/ directory. User nagios has access to the directory. account myisp{ set from="vitya at xxx.yyy (Nagios robot)" set smtp=mail4.xxx.yyy set smtp-auth=login set smtp-auth-user=vitya set smtp-auth-password=************************** } debug_verbosity=2 and debug_file=/var/opt/nagios/nagios.debug are included into nagios.cfg, following can be seen in /var/opt/nagios/ nagios.debug: [1228980610.181330] [032.0] [pid=3041] Notification viability test passed. [1228980610.181337] [032.1] [pid=3041] Current notification number: 2 (incremented) [1228980610.181343] [032.2] [pid=3041] Creating list of contacts to be notified. [1228980610.181350] [032.1] [pid=3041] Host notification will NOT be escalated. [1228980610.181360] [032.1] [pid=3041] Adding normal contacts for host to notification list. [1228980610.181366] [032.2] [pid=3041] Adding individual contacts for host to notification list. [1228980610.181371] [032.2] [pid=3041] Adding members of contact groups for host to notification list. [1228980610.181391] [032.2] [pid=3041] Adding members of contact group 'l-admin' for host to notification list. [1228980610.181397] [032.2] [pid=3041] Adding contact 'nagiosadmin' to notification list. [1228980610.181414] [032.2] [pid=3041] ** Attempting to notifying contact 'nagiosadmin'... [1228980610.181422] [032.2] [pid=3041] ** Checking host notification viability for contact 'nagiosadmin'... [1228980610.181434] [032.2] [pid=3041] ** Host notification viability for contact 'nagiosadmin' PASSED. [1228980610.181441] [032.2] [pid=3041] ** Notifying contact 'nagiosadmin' [1228980610.181461] [032.2] [pid=3041] Raw notification command: /usr/ bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | / usr/bin/nail -send -A myisp $CONTACTEMAIL$ [1228980610.181497] [032.2] [pid=3041] Processed notification command: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: RECOVERY\nHost: arm-dspg\nState: UP\nAddress: 192.168.0.12 \nInfo: PING OK - Packet loss = 0%, RTA = 0.79 ms\n\nDate/Time: Thu Dec 11 10:30:10 MSK 2008\n" | /usr/bin/nail -send -A myisp vitya at xxx.yyy [1228980614.724192] [032.2] [pid=3041] Calculating next valid notification time... [1228980614.724236] [032.2] [pid=3041] Default interval: 120.000000 [1228980614.724258] [032.2] [pid=3041] Interval used for calculating next valid notification time: 120.000000 [1228980614.724282] [032.0] [pid=3041] 1 contacts were notified. Next possible notification time: Thu Dec 11 12:30:10 2008 [1228980614.724289] [032.0] [pid=3041] 1 contacts were notified. Configuration file of box which lost connection is as follows: # Last Modified: ??? 07 ??? 2008 09:49:06 define host{ use linux-arm host_name arm-dspg alias ARM DSPG address 192.168.0.12 notification_options s,d,u,r,f } define service{ use generic-service host_name arm-dspg service_description PING check_command check_ping!100.0,20%!500.0,60% } Finally, message is not received. What's the problem? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stpierre at NebrWesleyan.edu Thu Dec 11 16:17:58 2008 From: stpierre at NebrWesleyan.edu (Chris St. Pierre) Date: Thu, 11 Dec 2008 09:17:58 -0600 (CST) Subject: Nagios doesn't die when killed Message-ID: I recently upgraded to Nagios 3.0.5 on RHEL 5, and a problem that I had thought had been solved resurfaced. After Nagios has been running for a while -- I can't tell how long, TBH -- it refuses to die when killed. I have to kill -9 it. The init script simply reports that "nagios did not exit in a timely manner", which is to say, it didn't exit at all. Everything continues to work, AFAICT; service checks are performed, notifications sent, etc. If I strace the Nagios process, I can see that SIGTERM is received, but nothing happens. I didn't find much of value when googling; any ideas where I'd start to troubleshoot this? Thanks! Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Thu Dec 11 16:18:42 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 11 Dec 2008 15:18:42 +0000 Subject: I got problem with sending messages:( In-Reply-To: <8C203021-59A8-4D9A-9B4D-B6F0AA5AB8B2@vitya.net> References: <8C203021-59A8-4D9A-9B4D-B6F0AA5AB8B2@vitya.net> Message-ID: <200812111518.42802.assaf.flatto@ssp.uk.com> On Thursday 11 December 2008 13:52:43 ???? ??????? wrote: > Hi there! > I got problem with sending messages. User nagios is capable of > sending messages with assigned to him rights without any restrictions. > > ns:~ # su - nagios > nagios at ns:~> /usr/bin/printf "test msg, yo!" | mailx -v -A myisp > vitya at xxx.yyy > warning: incomplete line - newline appended > warning: incomplete line - newline appended > Resolving host mail4.xxx.yyy . . . done. > Connecting to x.x.x.x . . . connected. > 220 MAIL4.xxx.yyy ESMTP Server (Microsoft Exchange Internet Mail > Service 5.5.2657.72) ready > EHLO ns.kgminsk > 250-MAIL4.xxx.yyy Hello [x.x.x.x] > 250-XEXCH50 > 250-HELP > 250-ETRN > 250-DSN > 250-SIZE 2097152 > 250-AUTH LOGIN > 250 AUTH=LOGIN > AUTH LOGIN > 334 VXNlcm5hbWU6 > Ym9yaXNvdnZ2 > 334 UGFzc3dvcmQ6 > MTIz > 235 LOGIN authentication successful > MAIL FROM: > 250 OK - mail from > RCPT TO: > 250 OK - Recipient > DATA > 354 Send data. End with CRLF.CRLF > . > 250 OK > QUIT > 221 closing connection > nagios at ns:~> > > Message is received by my email box. > > From: Nagios robot > To: vitya at xxx.yyy > Date: Thu, 11 Dec 2008 10:31:23 +0300 > User-Agent: nail 11.25 7/29/05 > > test msg, yo! > > File .mailrc is located in /home/nagios/ directory. User nagios has > access to the directory. > > account myisp{ > set from="vitya at xxx.yyy (Nagios robot)" > set smtp=mail4.xxx.yyy > set smtp-auth=login > set smtp-auth-user=vitya > set smtp-auth-password=************************** > } > > debug_verbosity=2 and debug_file=/var/opt/nagios/nagios.debug are > included into nagios.cfg, following can be seen in /var/opt/nagios/ > nagios.debug: > > [1228980610.181330] [032.0] [pid=3041] Notification viability test > passed. > [1228980610.181337] [032.1] [pid=3041] Current notification number: 2 > (incremented) > [1228980610.181343] [032.2] [pid=3041] Creating list of contacts to > be notified. > [1228980610.181350] [032.1] [pid=3041] Host notification will NOT be > escalated. > [1228980610.181360] [032.1] [pid=3041] Adding normal contacts for > host to notification list. > [1228980610.181366] [032.2] [pid=3041] Adding individual contacts for > host to notification list. > [1228980610.181371] [032.2] [pid=3041] Adding members of contact > groups for host to notification list. > [1228980610.181391] [032.2] [pid=3041] Adding members of contact > group 'l-admin' for host to notification list. > [1228980610.181397] [032.2] [pid=3041] Adding contact 'nagiosadmin' > to notification list. > [1228980610.181414] [032.2] [pid=3041] ** Attempting to notifying > contact 'nagiosadmin'... > [1228980610.181422] [032.2] [pid=3041] ** Checking host notification > viability for contact 'nagiosadmin'... > [1228980610.181434] [032.2] [pid=3041] ** Host notification viability > for contact 'nagiosadmin' PASSED. > [1228980610.181441] [032.2] [pid=3041] ** Notifying contact > 'nagiosadmin' > [1228980610.181461] [032.2] [pid=3041] Raw notification command: /usr/ > bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | / > usr/bin/nail -send -A myisp $CONTACTEMAIL$ > [1228980610.181497] [032.2] [pid=3041] Processed notification > command: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification > Type: RECOVERY\nHost: arm-dspg\nState: UP\nAddress: 192.168.0.12 > \nInfo: PING > OK - Packet loss = 0%, RTA = 0.79 ms\n\nDate/Time: Thu Dec 11 > 10:30:10 MSK 2008\n" | /usr/bin/nail -send -A myisp vitya at xxx.yyy > [1228980614.724192] [032.2] [pid=3041] Calculating next valid > notification time... > [1228980614.724236] [032.2] [pid=3041] Default interval: 120.000000 > [1228980614.724258] [032.2] [pid=3041] Interval used for calculating > next valid notification time: 120.000000 > [1228980614.724282] [032.0] [pid=3041] 1 contacts were notified. > Next possible notification time: Thu Dec 11 12:30:10 2008 > [1228980614.724289] [032.0] [pid=3041] 1 contacts were notified. > > Configuration file of box which lost connection is as follows: > > # Last Modified: ??? 07 ??? 2008 09:49:06 > > define host{ > use linux-arm > host_name arm-dspg > alias ARM DSPG > address 192.168.0.12 > notification_options s,d,u,r,f > } > > define service{ > use generic-service > host_name arm-dspg > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > Finally, message is not received. What's the problem? > Have you defined a contact for this notifications from this server ? you need to define contacts and contact groups to tell nagios to whom to send notifications in case of an alert ! IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Dec 11 16:32:03 2008 From: jpratt at norwich.edu (James Pratt) Date: Thu, 11 Dec 2008 10:32:03 -0500 Subject: Nagios doesn't die when killed In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E8235C891A@nuexchg.norwich.edu> > >-----Original Message----- > >From: Chris St. Pierre [mailto:stpierre at NebrWesleyan.edu] > >Sent: Thursday, December 11, 2008 10:18 AM > >To: nagios-user Mailinglist > >Subject: [Nagios-users] Nagios doesn't die when killed > > > >I recently upgraded to Nagios 3.0.5 on RHEL 5, and a problem that I > >had thought had been solved resurfaced. After Nagios has been running > >for a while -- I can't tell how long, TBH -- it refuses to die when > >killed. I have to kill -9 it. The init script simply reports that > >"nagios did not exit in a timely manner", which is to say, it didn't > >exit at all. > > > >Everything continues to work, AFAICT; service checks are performed, > >notifications sent, etc. If I strace the Nagios process, I can see > >that SIGTERM is received, but nothing happens. > > > >I didn't find much of value when googling; any ideas where I'd start > >to troubleshoot this? Thanks! > > > >Chris St. Pierre > >Unix Systems Administrator > >Nebraska Wesleyan University > > Hi Chris, I've seen this before if there is a service check that is hung, or rather not returning output, causing nagios not to exit. Do you have other nagios processes left running after sending the sigterm via init script? If so, it could be the culprit(s).. You can also try upgrading to 3.0.6 but I see no mention of any bug like that in the changelog, so that may not help.. :\ Regards, Jamie ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 11 16:44:53 2008 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2008 09:44:53 -0600 Subject: I got problem with sending messages:( In-Reply-To: <8C203021-59A8-4D9A-9B4D-B6F0AA5AB8B2@vitya.net> References: <8C203021-59A8-4D9A-9B4D-B6F0AA5AB8B2@vitya.net> Message-ID: <3A6DB52F-D74A-484D-B280-9FBE363EEA71@ena.com> On Dec 11, 2008, at 7:52 AM, ???? ??????? wrote: > Hi there! > I got problem with sending messages. User nagios is capable of > sending messages with assigned to him rights without any restrictions. > > ns:~ # su - nagios > nagios at ns:~> /usr/bin/printf "test msg, yo!" | mailx -v -A myisp > vitya at xxx.yyy You test with mailx here... > [1228980610.181461] [032.2] [pid=3041] Raw notification command: /usr/ > bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | / > usr/bin/nail -send -A myisp $CONTACTEMAIL$ ... but actually use /usr/bin/nail here. Your test is invalid. Did you mean to use /usr/bin/mailx in your notification command{} instead? Did you mean to use /usr/bin/nail but with different command-line arguments? > Finally, message is not received. What's the problem? /usr/bin/nail doesn't work as you're using it? Nagios has done what it's supposed to do and handed off the notification to /usr/bin/nail. Either it doesn't work or your mail logs will contain further information. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kun.richard at kirzen.hu Thu Dec 11 16:39:19 2008 From: kun.richard at kirzen.hu (=?iso-8859-2?Q?Kun_Rich=E1rd?=) Date: Thu, 11 Dec 2008 16:39:19 +0100 Subject: too much notify Message-ID: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> Hi, I use nagios 3.0.6, mostly with a passive checks. If a service is getting down, I get notifications every minutes, while the service is down, and the passive check drop a new result. I wanted a notification only one, I set the notification_interval to 0. Any suggestion? In my services.cfg: define service{ name passive_service active_checks_enabled 0 passive_checks_enabled 1 flap_detection_enabled 0 register 0 is_volatile 1 check_period none max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_freshness 0 contact_groups admin check_command check_dummy!3 notification_interval 0 notification_period 24x7 notification_options w,u,c,r stalking_options w,c,u define service{ use passive_service service_description Oracle host_name database } and in my nagios.cfg: interval_length=60 Thanks! -- Udv, Ricsi kun.richard at kirzen.hu ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 11 17:06:40 2008 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2008 10:06:40 -0600 Subject: too much notify In-Reply-To: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> References: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> Message-ID: <1DB9BD9F-F14A-43EB-934D-89AD4B09D34E@ena.com> On Dec 11, 2008, at 9:39 AM, Kun Rich?rd wrote: > Hi, > > I use nagios 3.0.6, mostly with a passive checks. If a service is > getting > down, I get notifications every minutes, while the service is down, > and the > passive check drop a new result. > I wanted a notification only one, I set the notification_interval to > 0. > Any suggestion? > > In my services.cfg: > > define service{ > > is_volatile 1 Find out what this means. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Thu Dec 11 17:45:26 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 11 Dec 2008 08:45:26 -0800 Subject: Lilac 1.0 beta 1 released! The most robust Nagios3.x configuration tool available! In-Reply-To: <1229007170.6613.10.camel@mr-laptop> References: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> <7EF0EE5CB3B263488C8C18823239BEBA055C6594@HC-MBX02.herefordshire.gov.uk> <1229007170.6613.10.camel@mr-laptop> Message-ID: <3d2eb72a0812110845k7d721efagc65a9b8e48b73024@mail.gmail.com> Thanks for the notes Mattias. If anyone would be willing to write quickstart guides for using Lilac with popular distributions, that would be fantastic, and I'd post the documentation on the website, along with credit. Taylor On Thu, Dec 11, 2008 at 6:52 AM, Mattias Ryrl?n wrote: > On Thu, 2008-12-11 at 10:10 +0000, Randal, Phil wrote: >> Shame it requires PHP 5.2. >> >> Any chance of re-engineering it so it works out of the box with a >> standard RedHat / CentOS 5.2 install? > yum install php-devel php-pear > pear install json > > vi /etc/php.ini > change 'memmory_limit' to -1 or > 64M > add 'extension=json.so' > > service httpd restart > > > -- > V?nliga h?lsningar / Best Regards > Mattias Ryrl?n > > __________________________ > op5 AB > F?rsta L?nggatan 19 > SE-413 27 G?teborg > Mobil: +46 735-17 70 99 > Support: +46 31-774 09 24 > www.op5.com > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Thu Dec 11 22:41:49 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 11 Dec 2008 16:41:49 -0500 Subject: Can't force active check in Nagios 3.0.6? Message-ID: Is it just my imagination or can one not force an active check with Nagios 3.0.6 anymore? I was running 3.0.2 (and earlier versions) and never had a problem with this. I typically use this to validate a new check I've setup without having to wait until the next time the passive check is supposed to run. Now if I click "Re-schedule the next check of this service" in the Service Commands are of the web interface, it accepts it (I always hit the "force check" checkbox) and I see the command request in the logs, yet it never does it. It just keeps waiting until the next passive check runs and it ignores my request. At first I thought I just wasn't close enough attention, but now I'm quite certain this is happening since we went to 3.0.6. Thanks Mark ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu Dec 11 23:55:29 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 11 Dec 2008 17:55:29 -0500 Subject: Can't force active check in Nagios 3.0.6? In-Reply-To: References: Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CDBE@buf-ex01.cymfony.com> I can't solve your problem but I just did what you did - force an active check on a service - and it works fine on 3.0.6 -----Original Message----- From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] Sent: Thursday, December 11, 2008 4:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can't force active check in Nagios 3.0.6? Is it just my imagination or can one not force an active check with Nagios 3.0.6 anymore? I was running 3.0.2 (and earlier versions) and never had a problem with this. I typically use this to validate a new check I've setup without having to wait until the next time the passive check is supposed to run. Now if I click "Re-schedule the next check of this service" in the Service Commands are of the web interface, it accepts it (I always hit the "force check" checkbox) and I see the command request in the logs, yet it never does it. It just keeps waiting until the next passive check runs and it ignores my request. At first I thought I just wasn't close enough attention, but now I'm quite certain this is happening since we went to 3.0.6. Thanks Mark ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Fri Dec 12 06:29:56 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 12 Dec 2008 06:29:56 +0100 Subject: Can't force active check in Nagios 3.0.6? In-Reply-To: References: Message-ID: <4941F6D4.3060303@ederdrom.de> Frost, Mark {PBG} schrieb: > Is it just my imagination or can one not force an active check with > Nagios 3.0.6 anymore? > > I was running 3.0.2 (and earlier versions) and never had a problem with > this. I typically use this to validate a new check I've setup without > having to wait until the next time the passive check is supposed to run. > > Now if I click "Re-schedule the next check of this service" in the > Service Commands are of the web interface, it accepts it (I always hit > the "force check" checkbox) and I see the command request in the logs, > yet it never does it. It just keeps waiting until the next passive > check runs and it ignores my request. > > At first I thought I just wasn't close enough attention, but now I'm > quite certain this is happening since we went to 3.0.6. Hi Mark, this issue is already reported by Matthias on nagios-devel http://permalink.gmane.org/gmane.network.nagios.devel/5848 Joerg ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Borger at esg.de Fri Dec 12 06:38:33 2008 From: Thomas.Borger at esg.de (Thomas Borger) Date: Fri, 12 Dec 2008 06:38:33 +0100 Subject: WG: Can't force active check in Nagios 3.0.6? Message-ID: Hi, I have find out the same problem ago three days and matthias eble on the devel mailing list too. http://article.gmane.org/gmane.network.nagios.devel/5848 I've patched my cmd.c and a "make cmd.cgi" rebuild my cmd.cgi. After the copy of the new cmd.cgi to [nagiospath]/sbin force check was function as expected and like in version prior to 3.0.6. best regards Thomas Borger ----- Weitergeleitet von Thomas Borger/ESG/DE am 12.12.2008 06:34 ----- "Frost, Mark {PBG}" schrieb am 11.12.2008 22:41:49: > Is it just my imagination or can one not force an active check with > Nagios 3.0.6 anymore? > I was running 3.0.2 (and earlier versions) and never had a problem with > this. I typically use this to validate a new check I've setup without > having to wait until the next time the passive check is supposed to run. > Now if I click "Re-schedule the next check of this service" in the > Service Commands are of the web interface, it accepts it (I always hit > the "force check" checkbox) and I see the command request in the logs, > yet it never does it. It just keeps waiting until the next passive > check runs and it ignores my request. > At first I thought I just wasn't close enough attention, but now I'm > quite certain this is happening since we went to 3.0.6. > Thanks > Mark > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Fri Dec 12 09:01:11 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Fri, 12 Dec 2008 09:01:11 +0100 Subject: Lilac 1.0 beta 1 released! The most robust Nagios3.x configuration tool available! In-Reply-To: <3d2eb72a0812110845k7d721efagc65a9b8e48b73024@mail.gmail.com> References: <3d2eb72a0812101145sab4a8d9p30ad3a42a2be6550@mail.gmail.com> <7EF0EE5CB3B263488C8C18823239BEBA055C6594@HC-MBX02.herefordshire.gov.uk> <1229007170.6613.10.camel@mr-laptop> <3d2eb72a0812110845k7d721efagc65a9b8e48b73024@mail.gmail.com> Message-ID: <1229068871.7105.2.camel@mr-laptop> On Thu, 2008-12-11 at 08:45 -0800, Taylor Dondich wrote: > Thanks for the notes Mattias. If anyone would be willing to write > quickstart guides for using Lilac with popular distributions, that > would be fantastic, and I'd post the documentation on the website, > along with credit. > > Taylor > > On Thu, Dec 11, 2008 at 6:52 AM, Mattias Ryrl?n wrote: > > On Thu, 2008-12-11 at 10:10 +0000, Randal, Phil wrote: > >> Shame it requires PHP 5.2. > >> > >> Any chance of re-engineering it so it works out of the box with a > >> standard RedHat / CentOS 5.2 install? > > yum install php-devel php-pear > > pear install json > > > > vi /etc/php.ini > > change 'memmory_limit' to -1 or > 64M > > add 'extension=json.so' > > > > service httpd restart Since CentOS has php 5.1.6 it won't work with Lilac to get it to work you have to install newer version of php (as mention before) Long version: http://bluhaloit.wordpress.com/2008/03/13/installing-php-52x-on-redhat-es5-centos-5-etc/ short version: wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm wget http://rpms.famillecollet.com/el5.i386/remi-release-5-4.el5.remi.noarch.rpm rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm yum --enablerepo=remi update php you will need to remove the extension=json.so from your /etc/php.ini if you added it. service httpd restart php -v PHP 5.2.6 (cli) (built: May 7 2008 00:50:43) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies > > > > > > -- > > V?nliga h?lsningar / Best Regards > > Mattias Ryrl?n > > > > __________________________ > > op5 AB > > F?rsta L?nggatan 19 > > SE-413 27 G?teborg > > Mobil: +46 735-17 70 99 > > Support: +46 31-774 09 24 > > www.op5.com > > > > > > ------------------------------------------------------------------------------ > > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > > The future of the web can't happen without you. Join us at MIX09 to help > > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From studyramesh at gmail.com Fri Dec 12 09:27:55 2008 From: studyramesh at gmail.com (ramesh ramesh) Date: Fri, 12 Dec 2008 13:57:55 +0530 Subject: Hai Message-ID: i want to configure email notification on my nagios 3.0 pleasee give me the step by step configuration thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 12 14:57:52 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 12 Dec 2008 08:57:52 -0500 Subject: Hai In-Reply-To: References: Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CDCA@buf-ex01.cymfony.com> Start with this first. http://nagios.sourceforge.net/docs/3_0/toc.html From: ramesh ramesh [mailto:studyramesh at gmail.com] Sent: Friday, December 12, 2008 3:28 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hai i want to configure email notification on my nagios 3.0 pleasee give me the step by step configuration thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 12 14:55:19 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 12 Dec 2008 08:55:19 -0500 Subject: WG: Can't force active check in Nagios 3.0.6? In-Reply-To: References: Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CDC9@buf-ex01.cymfony.com> That's interesting...i can't simulate the problem. I got 3.0.6 and I took a service that had the next scheduled check in 12 min, did a force check on it and it did the check within a few seconds. -----Original Message----- From: Thomas Borger [mailto:Thomas.Borger at esg.de] Sent: Friday, December 12, 2008 12:39 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] WG: Can't force active check in Nagios 3.0.6? Hi, I have find out the same problem ago three days and matthias eble on the devel mailing list too. http://article.gmane.org/gmane.network.nagios.devel/5848 I've patched my cmd.c and a "make cmd.cgi" rebuild my cmd.cgi. After the copy of the new cmd.cgi to [nagiospath]/sbin force check was function as expected and like in version prior to 3.0.6. best regards Thomas Borger ----- Weitergeleitet von Thomas Borger/ESG/DE am 12.12.2008 06:34 ----- "Frost, Mark {PBG}" schrieb am 11.12.2008 22:41:49: > Is it just my imagination or can one not force an active check with > Nagios 3.0.6 anymore? > I was running 3.0.2 (and earlier versions) and never had a problem with > this. I typically use this to validate a new check I've setup without > having to wait until the next time the passive check is supposed to run. > Now if I click "Re-schedule the next check of this service" in the > Service Commands are of the web interface, it accepts it (I always hit > the "force check" checkbox) and I see the command request in the logs, > yet it never does it. It just keeps waiting until the next passive > check runs and it ignores my request. > At first I thought I just wasn't close enough attention, but now I'm > quite certain this is happening since we went to 3.0.6. > Thanks > Mark > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kun.richard at kirzen.hu Fri Dec 12 15:17:44 2008 From: kun.richard at kirzen.hu (=?iso-8859-2?Q?Kun_Rich=E1rd?=) Date: Fri, 12 Dec 2008 15:17:44 +0100 Subject: too much notify In-Reply-To: <1DB9BD9F-F14A-43EB-934D-89AD4B09D34E@ena.com> References: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> <1DB9BD9F-F14A-43EB-934D-89AD4B09D34E@ena.com> Message-ID: > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Thursday, December 11, 2008 5:07 PM > To: nagios-user Mailinglist > Subject: Re: [Nagios-users] too much notify > > > On Dec 11, 2008, at 9:39 AM, Kun Rich?rd wrote: > > > Hi, > > > > I use nagios 3.0.6, mostly with a passive checks. If a service is > > getting > > down, I get notifications every minutes, while the service is down, > > and the > > passive check drop a new result. > > I wanted a notification only one, I set the notification_interval to > > 0. > > Any suggestion? > > > > In my services.cfg: > > > > define service{ > > > > is_volatile 1 > > Find out what this means. Thanks, now work properly. -- Udv, Ricsi kun.richard at kirzen.hu ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kun.richard at kirzen.hu Fri Dec 12 15:32:06 2008 From: kun.richard at kirzen.hu (=?iso-8859-2?Q?Kun_Rich=E1rd?=) Date: Fri, 12 Dec 2008 15:32:06 +0100 Subject: too much notify In-Reply-To: <49427446.3040609@cesga.es> References: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> <1DB9BD9F-F14A-43EB-934D-89AD4B09D34E@ena.com> <49427446.3040609@cesga.es> Message-ID: <4877D27245AA4E6BACC3AE350AB54251@office.jasminmediagroup.hu> Hi, > -----Original Message----- > From: Alejandro Feijoo Fraga [mailto:alfeijoo at cesga.es] > Sent: Friday, December 12, 2008 3:25 PM > To: Kun Rich?rd > Cc: 'nagios-user Mailinglist' > Subject: Re: [Nagios-users] too much notify > > Hi. > > how do you? because i have the same problem, i have mails alert every > minutes and i have notification_interval=0.... > > where is the problem? Set the is_volatile to 0. The is_volatile with value 1 means that the service is "volatile", and the status falling back to "OK" after every notification. (See: http://nagios.sourceforge.net/docs/2_0/volatileservices.html) -- ?dv, Ricsi kun.richard at kirzen.hu ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alfeijoo at cesga.es Fri Dec 12 15:25:10 2008 From: alfeijoo at cesga.es (Alejandro Feijoo Fraga) Date: Fri, 12 Dec 2008 15:25:10 +0100 Subject: too much notify In-Reply-To: References: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> <1DB9BD9F-F14A-43EB-934D-89AD4B09D34E@ena.com> Message-ID: <49427446.3040609@cesga.es> Hi. how do you? because i have the same problem, i have mails alert every minutes and i have notification_interval=0.... where is the problem? Kun Rich?rd escribi?: > >> -----Original Message----- >> From: Marc Powell [mailto:marc at ena.com] >> Sent: Thursday, December 11, 2008 5:07 PM >> To: nagios-user Mailinglist >> Subject: Re: [Nagios-users] too much notify >> >> >> On Dec 11, 2008, at 9:39 AM, Kun Rich?rd wrote: >> >>> Hi, >>> >>> I use nagios 3.0.6, mostly with a passive checks. If a service is >>> getting >>> down, I get notifications every minutes, while the service is down, >>> and the >>> passive check drop a new result. >>> I wanted a notification only one, I set the notification_interval to >>> 0. >>> Any suggestion? >>> >>> In my services.cfg: >>> >>> define service{ >>> >>> is_volatile 1 >> Find out what this means. > > Thanks, now work properly. > > -- > Udv, > Ricsi > kun.richard at kirzen.hu > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 11/12/2008 20:58 > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alfeijoo at cesga.es Fri Dec 12 15:20:00 2008 From: alfeijoo at cesga.es (Alejandro Feijoo Fraga) Date: Fri, 12 Dec 2008 15:20:00 +0100 Subject: Hai In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB103CDCA@buf-ex01.cymfony.com> References: <4881ECF1AB752843908A20CEE07A8EB103CDCA@buf-ex01.cymfony.com> Message-ID: <49427310.4010807@cesga.es> step 1.- open your favority browser, like firefox, opera, safari... step 2.- go to http://nagios.sourceforge.net/docs/3_0/toc.html (like seth say) step 3.- enjoy reading and finding Seth Simmons escribi?: > Start with this first. > > > > http://nagios.sourceforge.net/docs/3_0/toc.html > > > > > > *From:* ramesh ramesh [mailto:studyramesh at gmail.com] > *Sent:* Friday, December 12, 2008 3:28 AM > *To:* Nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Hai > > > > i want to configure email notification on my nagios 3.0 > > pleasee give me the step by step configuration > > > > > > thanks > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 11/12/2008 20:58 > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 15:44:31 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 12 Dec 2008 09:44:31 -0500 Subject: Can't force active check in Nagios 3.0.6? In-Reply-To: <4941F6D4.3060303@ederdrom.de> References: <4941F6D4.3060303@ederdrom.de> Message-ID: >-----Original Message----- >From: Joerg Linge [mailto:pitchfork at ederdrom.de] >Sent: Friday, December 12, 2008 12:30 AM >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Can't force active check in Nagios 3.0.6? > >Frost, Mark {PBG} schrieb: >> Is it just my imagination or can one not force an active check with >> Nagios 3.0.6 anymore? >> >> I was running 3.0.2 (and earlier versions) and never had a problem >with >> this. I typically use this to validate a new check I've setup without >> having to wait until the next time the passive check is supposed to >run. >> >> Now if I click "Re-schedule the next check of this service" in the >> Service Commands are of the web interface, it accepts it (I always hit >> the "force check" checkbox) and I see the command request in the logs, >> yet it never does it. It just keeps waiting until the next passive >> check runs and it ignores my request. >> >> At first I thought I just wasn't close enough attention, but now I'm >> quite certain this is happening since we went to 3.0.6. > >Hi Mark, >this issue is already reported by Matthias on nagios-devel > >http://permalink.gmane.org/gmane.network.nagios.devel/5848 > >Joerg > Thanks, Joerg. My sanity (at least in this one particular area) remains intact then :-) Mark ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 15:48:22 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 12 Dec 2008 09:48:22 -0500 Subject: WG: Can't force active check in Nagios 3.0.6? In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB103CDC9@buf-ex01.cymfony.com> References: <4881ECF1AB752843908A20CEE07A8EB103CDC9@buf-ex01.cymfony.com> Message-ID: >-----Original Message----- >From: Seth Simmons [mailto:ssimmons at cymfony.com] >Sent: Friday, December 12, 2008 8:55 AM >To: Thomas Borger; nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] WG: Can't force active check in Nagios >3.0.6? > >That's interesting...i can't simulate the problem. >I got 3.0.6 and I took a service that had the next scheduled check in 12 >min, did a force check on it and it did the check within a few seconds. > > I don't know if this is the key or not, but these are passive service checks that come in to a central server. So ordinarily, the check result shows PASSIVE. I can reschedule an immediate check to make the central server run the check (ACTIVE) and get results more quickly. I can't do that with 3.0.6. It just sits there until the next passive result comes in. Anyway, looks like this is a known bug. Mark ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mohr at elaxy.com Fri Dec 12 16:27:15 2008 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 12 Dec 2008 16:27:15 +0100 Subject: Nagios behaviour when scheduling checks Message-ID: Hi All! We are running Nagios 3.0.1 and have serveral services with a check interval of 5 Minutes and retry of 1 minute. The problem is that the checks have a timeout of 65 seconds. I looked through the documentation but couldn't find out how Nagios behaves in this case. In our case, we have max_check_attempts=2, so we never run into problems. If there is a NRPE timeout, for example, the service goes critical and the second check starts a minute later. Here, that's not a problem. What would happen if max_check_attempts=3? The second check starts but does not run into the NRPE timeout until after the second retry should have started. Does the second retry start? On the one hand, the service is still critical, so retry should be done. However, the first retry has not returned, so it would also be logical not to start the second retry. So to me, both ways have a certain logic. Any input is appreaciated. Regards, Jim Mohr ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.ottavi at medi.fr Fri Dec 12 16:43:43 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Fri, 12 Dec 2008 16:43:43 +0100 Subject: Host down, still doing active checks, causing multiple unwanted service failures In-Reply-To: <7594E500-FD83-46A3-BEDD-5AB2A55FB3C6@ena.com> References: <493D5B7A.2050205@medi.fr> <493E57F3.10903@medi.fr> <7594E500-FD83-46A3-BEDD-5AB2A55FB3C6@ena.com> Message-ID: <494286AF.1070106@medi.fr> Hi, Marc Powell a ?crit: > Our ideas of accuracy would seem to differ ;) > Sometimes, in life, it's necessary to be able to say : "I don't know". When a host is simply powered off, or unreachable due to network/wan failure, Nagios actually displays all the service checks with the results depending on how the plugin is written, and also depending on the exact time when the latest service check has occurred. Some results may be UNKNOWN, some other may be CRITICAL, and the others would be OK (if dependancy is used). This really bothers me, I do think this is inaccurate. In such a situation, I would expect all the services to be in "UNKNOWN" state. >> We do not use email notifications, because we are only 2 guys, and >> this would generate too much messages. >> > > It shouldn't. In your scenario of 1 host down with X number of > services on it, you should only receive 1 down message and 1 recovery > message per host event (unless you want more). > Nagios is smart enough, and notifications are very tunable, to avoid email notification floods. But other products, such as routers, firewalls or security software, are not. They used to fill our mailboxes with unuseful things. That's the reason why I don't like email notifications, at least for general purpose problems. I use them only for very critical events. Moreover, parent/child system has been design exactly to handle the situation where a host is unreachable. This system allows to disable notifications for all services, which would necessary fail or return wrong results if host is unreachable. I would like to be able to use this system also do disable "incorrect" service status display, and, when a host is unreachable, having the display saying "UNKNOWN" for all services (such as hosts are displayed as UNREACHABLE). This is the way I would like to see my results. This may not be the way other users would want to see them. But not two users are the same, have the same configuration, ot the same needs. I just would like to find a solution, allowing to display my results in a way that would be the most usable and valuable for me. > Possibly but with an additional requirement that regularly scheduled > host checks are enabled for those hosts. Those are still considered > optional and have been undesirable for all prior versions of nagios > before current. If someone were to code the patch they would need to > ensure they were enabled for the hosts with this new feature enabled > otherwise the host would never be checked and return out of it's > critical state. > I agree with you. Checks should be for services, and hosts should only be "containers" for services. Having to enable checks also for the hosts is a little bit confusing for beginners. I also consider host checks as "undesirable". But, if I understand well, host checks are here to determine parent/child reachability, which then allows to determine UNREACHABLE status, then disable unuseful service failure notifications. Then, why not creating parent/child relationship between services ? This would remove the need of host checks, and this would allow services to be displayed as UNREACHABLE or UNKNOWN, if their parent service check fails. Dependancy already exists for both hosts and services. Why not parent/child/unreachable relationship ? Of course, this is only a feature suggestion, everybody should be free to use it or not. But I'll be happy to use it ;-) > This is promising. http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency > will help with the config if you haven't seen it. > It works fine. Ability to use wildcards is a great feature. Services now don't fail when a host is unreachable, but some problems (for me) remain : - all services keep their previous status, which is usually OK. As previously said, in such a situation, I would prefer UNKNOWN - "latency" problem : some service checks are sometimes scheduled AFTER the WAN failure, but BEFORE the dependancy service check. Then, they fail.Using "soft dependancy" and scheduling the dependancy service check more often, helps to reduce this situation. But it still happens from times to times. >> Am I the only one having this problem ? >> > > I don't consider it a problem myself, just that nagios doesn't work as > you want it to in your environment. I personally prefer the current > behavior since it provides more accurate information over a wider > variety of outage scenarios. > Let's be clear. Nagios has no problems, it behaves exactly as it is intended to. The one who as a problem is ME. I need to present the results in a different way in case of unreachable host, and I'm looking for a solution to do that. I just would like to know if I am the only guy thinking results of service checks for unreachable hosts should be displayable differently ? KInd regards, -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* ***Mail:* t.ottavi at medi.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Fri Dec 12 16:53:15 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 12 Dec 2008 10:53:15 -0500 Subject: Nagios behaviour when scheduling checks In-Reply-To: References: Message-ID: <494288EB.4020702@collaborativefusion.com> Mohr James wrote: > Hi All! > > We are running Nagios 3.0.1 and have serveral services with a check > interval of 5 Minutes and retry of 1 minute. The problem is that the > checks have a timeout of 65 seconds. I looked through the documentation > but couldn't find out how Nagios behaves in this case. Simple answer: the clock doesn't start until the first check exits Real answer: Since retry_interval is only used on an non-OK return, Nagios must process the prior check before it can tell if it needs a retry. The documentation is from 2.x since 3.x is "coming soon", but look at http://nagios.sourceforge.net/docs/2_0/images/checktiming.png (taken from http://nagios.sourceforge.net/docs/2_0/checkscheduling.html). - The X3 service reaper event is the one that pulls the result of a check - X4/E is just the next check and not necessarily the next "normal" check. - If X3 is OK, then X4 is calculated from normal_check_interval - If X3 gets a non-OK, it would evaluate $SERVICEATTEMPT$ and $MAXSERVICEATTEMPTS$ to determine $SERVICESTATETYPE$, which then dictates whether the daemon needs to reschedule using retry_interval vs. normal_check_interval (and whether you've transitioned, which would kick off notifies, etc...) In your situation: 1. Check 1 kicks off at 12:00:00 & times out at 12:01:05. 2. Nagios sees that it needs to retry_interval because $MAXSERVICEATTEMPTS$ > $SERVICEATTEMPT$ 3. Check 2 is scheduled for 12:02:05 & times out at 12:02:10 4. Nagios sees that $MAXSERVICEATTEMPTS$ = $SERVICEATTEMPT$ and transistions $SERVICESTATETYPE$ from SOFT to HARD If you were to set max_check_attempts to 3, the only difference would be: 4. Nagios sees that it needs to retry_interval because $MAXSERVICEATTEMPTS$ > $SERVICEATTEMPT$ 5. Check 3 is scheduled for 12:03:15 & times out at 12:04:20 6. Nagios sees that $MAXSERVICEATTEMPTS$ = $SERVICEATTEMPT$ and transistions $SERVICESTATETYPE$ from SOFT to HARD -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stpierre at NebrWesleyan.edu Fri Dec 12 17:02:23 2008 From: stpierre at NebrWesleyan.edu (Chris St. Pierre) Date: Fri, 12 Dec 2008 10:02:23 -0600 (CST) Subject: Nagios doesn't die when killed In-Reply-To: <8147CCE3C4A8764DA9980125EE70E8235C891A@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E8235C891A@nuexchg.norwich.edu> Message-ID: On Thu, 11 Dec 2008, James Pratt wrote: > I've seen this before if there is a service check that is hung, or rather not returning output, causing nagios not to exit. > > Do you have other nagios processes left running after sending the sigterm via init script? If so, it could be the culprit(s).. Doesn't look like it. Other ideas? (I'd like to regard upgrading to 3.0.6 as a last resort, since I can't seem to find an RPM I could rebuild; Fedora 10 has 3.0.5, so rebuilding that for RHEL was trivial.) Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 12 17:23:01 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 12 Dec 2008 08:23:01 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <600306.50024.qm@web81802.mail.mud.yahoo.com> Hi all, I'm getting a message from the syslog of my nrpe client that says: Host xxx.xxx.xxx.xxx is not allowed to talk to us! In the nrpe.cfg file I have the IP address of the nagios server: allowed_hosts=127.0.0.1,172.20.40.45 I can ping the server just fine. This is nrpe v 2.10, and server is nagios 3.0.3. Any and all help is appreciated! ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Fri Dec 12 17:27:24 2008 From: jpratt at norwich.edu (James Pratt) Date: Fri, 12 Dec 2008 11:27:24 -0500 Subject: Nagios doesn't die when killed In-Reply-To: References: <8147CCE3C4A8764DA9980125EE70E8235C891A@nuexchg.norwich.edu> Message-ID: <8147CCE3C4A8764DA9980125EE70E82361E8FD@nuexchg.norwich.edu> > >-----Original Message----- > >From: Chris St. Pierre [mailto:stpierre at NebrWesleyan.edu] > >Sent: Friday, December 12, 2008 11:02 AM > >To: James Pratt > >Cc: Nagios Users > >Subject: Re: [Nagios-users] Nagios doesn't die when killed > > > >On Thu, 11 Dec 2008, James Pratt wrote: > > > >> I've seen this before if there is a service check that is hung, or rather not returning > >output, causing nagios not to exit. > >> > >> Do you have other nagios processes left running after sending the sigterm via init > >script? If so, it could be the culprit(s).. > > > >Doesn't look like it. > > > >Other ideas? (I'd like to regard upgrading to 3.0.6 as a last resort, > >since I can't seem to find an RPM I could rebuild; Fedora 10 has > >3.0.5, so rebuilding that for RHEL was trivial.) > > > >Chris St. Pierre > >Unix Systems Administrator > >Nebraska Wesleyan University Unfortunately - not really ... I guess you could modify your init script to run an strace on a quick start and stop, and redirect to file, but that may produce a lot of unwanted garbage/goop. I see Dag Wiers' has a 3.0.6 RPM for EL5 out there but I cannot locate the srpm http://rpmfind.net/linux/RPM/dag/redhat/el5/i386/nagios-devel-3.0.6-1.el5.rf.i386.html I'm not positive it would work, as I've moved most of my fedoras' to CentOS 5 - Fedoras release cycle is just a bit too fast for us, and I don't know how the versions line up with EL rpms anymore... :\ Regards, Jamie ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Fri Dec 12 17:36:29 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Fri, 12 Dec 2008 17:36:29 +0100 Subject: Host is not allowed to talk to us! In-Reply-To: <600306.50024.qm@web81802.mail.mud.yahoo.com> References: <600306.50024.qm@web81802.mail.mud.yahoo.com> Message-ID: <200812121736.29745.cschneemann@suse.de> Hi, On Friday December 12 2008 05:23:01 pm Grant Lowe wrote: > Hi all, > > I'm getting a message from the syslog of my nrpe client that says: > > Host xxx.xxx.xxx.xxx is not allowed to talk to us! > > In the nrpe.cfg file I have the IP address of the nagios server: > > allowed_hosts=127.0.0.1,172.20.40.45 is nrpe started through xinetd or inetd? If yes, these line is ignored (as documented in the config) Greetings, Christian > > I can ping the server just fine. > > This is nrpe v 2.10, and server is nagios 3.0.3. > > Any and all help is appreciated! > > --------------------------------------------------------------------------- >--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. The future of the web can't happen without you. Join us at MIX09 > to help pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com >/ _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 12 17:51:02 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 12 Dec 2008 11:51:02 -0500 Subject: WG: Can't force active check in Nagios 3.0.6? In-Reply-To: References: <4881ECF1AB752843908A20CEE07A8EB103CDC9@buf-ex01.cymfony.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CDD4@buf-ex01.cymfony.com> ok that could be the difference; previous postings showed active checks. -----Original Message----- From: Frost, Mark {PBG} [mailto:mark.frost1 at pepsi.com] Sent: Friday, December 12, 2008 9:48 AM To: Seth Simmons; Thomas Borger Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] WG: Can't force active check in Nagios 3.0.6? >-----Original Message----- >From: Seth Simmons [mailto:ssimmons at cymfony.com] >Sent: Friday, December 12, 2008 8:55 AM >To: Thomas Borger; nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] WG: Can't force active check in Nagios >3.0.6? > >That's interesting...i can't simulate the problem. >I got 3.0.6 and I took a service that had the next scheduled check in 12 >min, did a force check on it and it did the check within a few seconds. > > I don't know if this is the key or not, but these are passive service checks that come in to a central server. So ordinarily, the check result shows PASSIVE. I can reschedule an immediate check to make the central server run the check (ACTIVE) and get results more quickly. I can't do that with 3.0.6. It just sits there until the next passive result comes in. Anyway, looks like this is a known bug. Mark ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 17:58:42 2008 From: marc at ena.com (Marc Powell) Date: Fri, 12 Dec 2008 10:58:42 -0600 Subject: Host is not allowed to talk to us! In-Reply-To: <600306.50024.qm@web81802.mail.mud.yahoo.com> References: <600306.50024.qm@web81802.mail.mud.yahoo.com> Message-ID: <4DA6216F-FE0E-46FB-8999-E96E5EA71D9C@ena.com> On Dec 12, 2008, at 10:23 AM, Grant Lowe wrote: > Hi all, > > I'm getting a message from the syslog of my nrpe client that says: > > Host xxx.xxx.xxx.xxx is not allowed to talk to us! > > In the nrpe.cfg file I have the IP address of the nagios server: > > allowed_hosts=127.0.0.1,172.20.40.45 The code around this error is very straightforward and looks like a simple address match. Are you sure you have the correct IP and nrpe has been restarted? Are you using IPV6 locally? In any event, putting nrpe into debug mode and watching /var/log/ messages should be informative. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 12 18:02:58 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 12 Dec 2008 09:02:58 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <718922.10000.qm@web81806.mail.mud.yahoo.com> Hi Christian, No, nrpe doesn't run under xinetd or inetd. Thanks for asking. ----- Original Message ---- From: Christian Schneemann To: nagios-users at lists.sourceforge.net Sent: Friday, December 12, 2008 8:36:29 AM Subject: Re: [Nagios-users] Host is not allowed to talk to us! Hi, On Friday December 12 2008 05:23:01 pm Grant Lowe wrote: > Hi all, > > I'm getting a message from the syslog of my nrpe client that says: > > Host xxx.xxx.xxx.xxx is not allowed to talk to us! > > In the nrpe.cfg file I have the IP address of the nagios server: > > allowed_hosts=127.0.0.1,172.20.40.45 is nrpe started through xinetd or inetd? If yes, these line is ignored (as documented in the config) Greetings, Christian > > I can ping the server just fine. > > This is nrpe v 2.10, and server is nagios 3.0.3. > > Any and all help is appreciated! > > --------------------------------------------------------------------------- >--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. The future of the web can't happen without you. Join us at MIX09 > to help pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com >/ _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcalhoun at iodatacenters.com Fri Dec 12 18:07:43 2008 From: mcalhoun at iodatacenters.com (Calhoun, Matthew) Date: Fri, 12 Dec 2008 10:07:43 -0700 Subject: Last Check Time Issue Message-ID: <57F018B226E004449B318DAF71A60146566B11483E@IO-SCD-EX-M-01.corp.iodatacenters.com> All: We have about 1500 services that are being passively checked (custom scripts that write to the external command file). We've noticed an issue where the "Last Check" time for the service is many hours behind, but the "Last Update" time is correct and the service is alarming, etc. properly. Does anyone have an idea as to why the Last Check Time isn't being updated properly? Thanks, Matt Current Status: OK (for 4d 22h 25m 13s) Status Information: OK: No Alarms Present Performance Data: Current Attempt: 1/1 (HARD state) Last Check Time: 12-12-2008 04:20:12 Check Type: PASSIVE Check Latency / Duration: N/A / 0.000 seconds Next Scheduled Check: N/A Last State Change: 12-07-2008 11:33:00 Last Notification: N/A (notification 0) Is This Service Flapping? N/A In Scheduled Downtime? NO Last Update: 12-12-2008 09:57:59 ( 0d 0h 0m 14s ago) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 12 18:23:52 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 12 Dec 2008 09:23:52 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <654837.10868.qm@web81803.mail.mud.yahoo.com> Hi Marc, Thanks for the quick reply. Yes, I have the correct IP. Also I already have debugging turned on in nrpe.cfg. I have other clients connecting just fine. I just restarted nrpe and I got this message: Dec 12 09:18:22 nagiosclient svc.startd[7]: [ID 748625 daemon.error] network/cswnrpe:default failed repeatedly Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 601491 daemon.notice] Starting up daemon Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 627629 daemon.notice] Warning: Daemon is configured to accept command arguments from clients! Dec 12 09:19:42 nagiosclient nrpe[649]: [ID 381997 daemon.error] Host xxx.xxx.xxx.xxx is not allowed to talk to us! We're not using IPV6, so I guess that's not a problem. Other thoughts? ----- Original Message ---- From: Marc Powell To: nagios-user Mailinglist Sent: Friday, December 12, 2008 8:58:42 AM Subject: Re: [Nagios-users] Host is not allowed to talk to us! On Dec 12, 2008, at 10:23 AM, Grant Lowe wrote: > Hi all, > > I'm getting a message from the syslog of my nrpe client that says: > > Host xxx.xxx.xxx.xxx is not allowed to talk to us! > > In the nrpe.cfg file I have the IP address of the nagios server: > > allowed_hosts=127.0.0.1,172.20.40.45 The code around this error is very straightforward and looks like a simple address match. Are you sure you have the correct IP and nrpe has been restarted? Are you using IPV6 locally? In any event, putting nrpe into debug mode and watching /var/log/ messages should be informative. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stpierre at NebrWesleyan.edu Fri Dec 12 18:33:19 2008 From: stpierre at NebrWesleyan.edu (Chris St. Pierre) Date: Fri, 12 Dec 2008 11:33:19 -0600 (CST) Subject: Nagios doesn't die when killed In-Reply-To: <8147CCE3C4A8764DA9980125EE70E82361E8FD@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E8235C891A@nuexchg.norwich.edu> <8147CCE3C4A8764DA9980125EE70E82361E8FD@nuexchg.norwich.edu> Message-ID: On Fri, 12 Dec 2008, James Pratt wrote: > Unfortunately - not really ... I guess you could modify your init script to run an strace on a quick start and stop, and redirect to file, but that may produce a lot of unwanted garbage/goop. I've already straced the stop, and there's nothing even remotely suspicious. The SIGTERM is received, and happily ignored. If there's something I should be looking for, I'm afraid I don't know what that would be. > I see Dag Wiers' has a 3.0.6 RPM for EL5 out there but I cannot locate the srpm > > http://rpmfind.net/linux/RPM/dag/redhat/el5/i386/nagios-devel-3.0.6-1.el5.rf.i386.html > > I'm not positive it would work, as I've moved most of my fedoras' to CentOS 5 - Fedoras release cycle is just a bit too fast for us, and I don't know how the versions line up with EL rpms anymore... :\ Dag's Nagios RPM uses a different specfile than the one in Fedora/EPEL, with different paths and fun things that break in exciting ways when you mix his RPMs with those from Fedora or EPEL. Since we use EPEL, I try to avoid Dag Wieers' stuff where it overlaps, thus the rebuilding from Fedora. TBH, trying to use Dag's RPM would be a much bigger chore than porting the specfile in 3.0.5 in Fedora to 3.0.6 and rebuilding for RHEL. Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcalhoun at iodatacenters.com Fri Dec 12 18:33:35 2008 From: mcalhoun at iodatacenters.com (Calhoun, Matthew) Date: Fri, 12 Dec 2008 10:33:35 -0700 Subject: Last Check Time Issue In-Reply-To: <57F018B226E004449B318DAF71A60146566B11483E@IO-SCD-EX-M-01.corp.iodatacenters.com> References: <57F018B226E004449B318DAF71A60146566B11483E@IO-SCD-EX-M-01.corp.iodatacenters.com> Message-ID: <57F018B226E004449B318DAF71A60146566B114852@IO-SCD-EX-M-01.corp.iodatacenters.com> This is running Nagios 3.0.5 on RHEL 5. Thanks, Matt From: Calhoun, Matthew [mailto:mcalhoun at iodatacenters.com] Sent: Friday, December 12, 2008 10:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Last Check Time Issue All: We have about 1500 services that are being passively checked (custom scripts that write to the external command file). We've noticed an issue where the "Last Check" time for the service is many hours behind, but the "Last Update" time is correct and the service is alarming, etc. properly. Does anyone have an idea as to why the Last Check Time isn't being updated properly? Thanks, Matt Current Status: OK (for 4d 22h 25m 13s) Status Information: OK: No Alarms Present Performance Data: Current Attempt: 1/1 (HARD state) Last Check Time: 12-12-2008 04:20:12 Check Type: PASSIVE Check Latency / Duration: N/A / 0.000 seconds Next Scheduled Check: N/A Last State Change: 12-07-2008 11:33:00 Last Notification: N/A (notification 0) Is This Service Flapping? N/A In Scheduled Downtime? NO Last Update: 12-12-2008 09:57:59 ( 0d 0h 0m 14s ago) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From art at flugstodir.is Fri Dec 12 18:50:47 2008 From: art at flugstodir.is (=?ISO-8859-1?Q?Arnar_=DE=F3rarinsson?=) Date: Fri, 12 Dec 2008 17:50:47 +0000 Subject: question about hostgroups Message-ID: hi all, Say I have a hostgroup defined that has serveral services attached to it, like a typical linux server so its easy to add a server, just assigned it to this hostgroup and all the basic stuff come in automaticly. Now lets say that I'm adding a new host and I want him to have all the same services as every other linux server except for one services, can I somehow tell nagios not to apply that services check to this host ? Thanks in advance for any help you may provide. Cheers Arnar Thessi tolvupostur og vidhengi hans geta innihaldid trunadarupplysingar og er eingongu aetladur theim sem hann er stiladur a. Oheimil medferd tolvuposts thessa og vidhengja hans getur vardad skadabota- og refsiabyrgd samkvaemt logum um fjarskipti. Efni tolvupostsins og vidhengja er a abyrgd sendanda ef thad tengist ekki starfsemi Flugstoda ohf. Ef Thu ert ekki skradur mottakandi og hefur fengid skeytid vegna mistaka, vinsamlegast hafdu strax samband vid sendanda. ------------ This e-mail and its attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 12 18:58:12 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 12 Dec 2008 12:58:12 -0500 Subject: question about hostgroups In-Reply-To: References: Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CDD7@buf-ex01.cymfony.com> So you have ServerA ServerB and ServerC as part of Hostgroup1. You have services defined for the Hostgroup, but you want to exclude ServerC from that one service. In the service command, exclude ServerC by putting a ! in front of it. Example: define service{ use local-service hostgroup_name Hostgroup1 host_name !ServerC service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contacts nagiosadmin notification_options c,w,r } All hosts in Hostgroup1 get checked for ssh except ServerC. From: Arnar ??rarinsson [mailto:art at flugstodir.is] Sent: Friday, December 12, 2008 12:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] question about hostgroups hi all, Say I have a hostgroup defined that has serveral services attached to it, like a typical linux server so its easy to add a server, just assigned it to this hostgroup and all the basic stuff come in automaticly. Now lets say that I'm adding a new host and I want him to have all the same services as every other linux server except for one services, can I somehow tell nagios not to apply that services check to this host ? Thanks in advance for any help you may provide. Cheers Arnar Thessi tolvupostur og vidhengi hans geta innihaldid trunadarupplysingar og er eingongu aetladur theim sem hann er stiladur a. Oheimil medferd tolvuposts thessa og vidhengja hans getur vardad skadabota- og refsiabyrgd samkvaemt logum um fjarskipti. Efni tolvupostsins og vidhengja er a abyrgd sendanda ef thad tengist ekki starfsemi Flugstoda ohf. Ef Thu ert ekki skradur mottakandi og hefur fengid skeytid vegna mistaka, vinsamlegast hafdu strax samband vid sendanda. ------------ This e-mail and its attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy-lists at networkmail.eu Fri Dec 12 19:45:09 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Fri, 12 Dec 2008 18:45:09 +0000 Subject: Host is not allowed to talk to us! In-Reply-To: <654837.10868.qm@web81803.mail.mud.yahoo.com> References: <654837.10868.qm@web81803.mail.mud.yahoo.com> Message-ID: <4942B135.8000906@networkmail.eu> Grant, Are remote checks from your Nagios server to this NRPE client succeeding? Is xxx.xxx.xxx.xxx one of your own, or an external IP address? I'm thinking there may be a remote system trying to talk to your NRPE system that it's not allowing (which is correct.) It could potentially be some sort of port scanner if your client is publicly accessible. Regards, Andy Grant Lowe wrote: > Hi Marc, > > Thanks for the quick reply. Yes, I have the correct IP. Also I already have debugging turned on in nrpe.cfg. I have other clients connecting just fine. I just restarted nrpe and I got this message: > > Dec 12 09:18:22 nagiosclient svc.startd[7]: [ID 748625 daemon.error] network/cswnrpe:default failed repeatedly > Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 601491 daemon.notice] Starting up daemon > Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 627629 daemon.notice] Warning: Daemon is configured to accept command arguments from clients! > Dec 12 09:19:42 nagiosclient nrpe[649]: [ID 381997 daemon.error] Host xxx.xxx.xxx.xxx is not allowed to talk to us! > > We're not using IPV6, so I guess that's not a problem. Other thoughts? > > > > ----- Original Message ---- > From: Marc Powell > To: nagios-user Mailinglist > Sent: Friday, December 12, 2008 8:58:42 AM > Subject: Re: [Nagios-users] Host is not allowed to talk to us! > > > On Dec 12, 2008, at 10:23 AM, Grant Lowe wrote: > > >> Hi all, >> >> I'm getting a message from the syslog of my nrpe client that says: >> >> Host xxx.xxx.xxx.xxx is not allowed to talk to us! >> >> In the nrpe.cfg file I have the IP address of the nagios server: >> >> allowed_hosts=127.0.0.1,172.20.40.45 >> > > The code around this error is very straightforward and looks like a > simple address match. Are you sure you have the correct IP and nrpe > has been restarted? Are you using IPV6 locally? > > In any event, putting nrpe into debug mode and watching /var/log/ > messages should be informative. > > -- > Marc > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshanker at usgs.gov Fri Dec 12 20:11:39 2008 From: mshanker at usgs.gov (Matthew Shanker) Date: Fri, 12 Dec 2008 12:11:39 -0700 Subject: Servicegroups and web interface Message-ID: <4942B76B.2040802@usgs.gov> I'm having what I think is some sort of permissions issue but I can't put my finger on it. I've got a situation where I've got an empty servicegroup that shows up in the web interface. As soon as I add the servicegroups line to the definition shown below the servicegroup dissapears from the web interface. The web interface is configured with authentication using a default user 'nagios' that is set for all hosts/services. define service { use important-service hostgroups linux-servers,linux-desktops,!legacy-systems service_description NFS check_command check_nfs_by_ssh +servicegroups file-shares } Matt ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 12 20:39:40 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 12 Dec 2008 11:39:40 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <838267.54014.qm@web81806.mail.mud.yahoo.com> Hi Andy, The remote nrpe client (xxx.xxx.xxx.xxx) is on a DMZ at work, and the nagios server is internal. You're saying the remote nrpe system should not be able to accept requests when queried from the nagios host. There shouldn't be any port scanning going on. I had the networking folks open up port 5666, so I thought that would take of that. What am I missing? Thanks, Andy! ----- Original Message ---- From: Andy Shellam To: Grant Lowe Cc: nagios-user Mailinglist Sent: Friday, December 12, 2008 10:45:09 AM Subject: Re: [Nagios-users] Host is not allowed to talk to us! Grant, Are remote checks from your Nagios server to this NRPE client succeeding? Is xxx.xxx.xxx.xxx one of your own, or an external IP address? I'm thinking there may be a remote system trying to talk to your NRPE system that it's not allowing (which is correct.) It could potentially be some sort of port scanner if your client is publicly accessible. Regards, Andy Grant Lowe wrote: > Hi Marc, > > Thanks for the quick reply. Yes, I have the correct IP. Also I already have debugging turned on in nrpe.cfg. I have other clients connecting just fine. I just restarted nrpe and I got this message: > > Dec 12 09:18:22 nagiosclient svc.startd[7]: [ID 748625 daemon.error] network/cswnrpe:default failed repeatedly > Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 601491 daemon.notice] Starting up daemon > Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 627629 daemon.notice] Warning: Daemon is configured to accept command arguments from clients! > Dec 12 09:19:42 nagiosclient nrpe[649]: [ID 381997 daemon.error] Host xxx.xxx.xxx.xxx is not allowed to talk to us! > > We're not using IPV6, so I guess that's not a problem. Other thoughts? > > > > ----- Original Message ---- > From: Marc Powell > To: nagios-user Mailinglist > Sent: Friday, December 12, 2008 8:58:42 AM > Subject: Re: [Nagios-users] Host is not allowed to talk to us! > > > On Dec 12, 2008, at 10:23 AM, Grant Lowe wrote: > > >> Hi all, >> >> I'm getting a message from the syslog of my nrpe client that says: >> >> Host xxx.xxx.xxx.xxx is not allowed to talk to us! >> >> In the nrpe.cfg file I have the IP address of the nagios server: >> >> allowed_hosts=127.0.0.1,172.20.40.45 >> > > The code around this error is very straightforward and looks like a > simple address match. Are you sure you have the correct IP and nrpe > has been restarted? Are you using IPV6 locally? > > In any event, putting nrpe into debug mode and watching /var/log/ > messages should be informative. > > -- > Marc > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lunixer at gmail.com Fri Dec 12 20:49:18 2008 From: lunixer at gmail.com (Aldo Foot) Date: Fri, 12 Dec 2008 11:49:18 -0800 Subject: statusmap.cgi is missing Message-ID: <3d22fc520812121149v30e140faw71108dc261ecf2b6@mail.gmail.com> Hello nagios users: I'm new to nagios and I trying to get some info. I first tried installing nagios-3.0.2 and for the most part it worked fine. Then, I compiled nagios v3.0.6 and the statusmap.cgi file does not get installed. Why? When I click on the Status Map on the web page, I get an error: "The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server." I used these command to compile/install: $ ./configure --with-command-group=nagcmd $ make all # make install # make install-init # make install-config # make install-commandmode # make install-webconf I installed the plugins as well, $ ./configure --with-nagios-user=nagios --with-nagios-group=nagios $ make # make install This is a very basic install to start with, nothing fancy, so what's with status map missing file? ~af ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Fri Dec 12 20:50:45 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Fri, 12 Dec 2008 19:50:45 +0000 Subject: Host is not allowed to talk to us! In-Reply-To: <838267.54014.qm@web81806.mail.mud.yahoo.com> References: <838267.54014.qm@web81806.mail.mud.yahoo.com> Message-ID: <4942C095.4080906@networkmail.eu> Hi Grant, What I meant was NRPE is denying a connection from a host you've not allowed in your config (i.e. it's not your Nagios server.) Can you identify the server that NRPE is not allowing to connect? Is it one of your own IP addresses? The fact that your NRPE system is inside a DMZ may be important - it could be something simple like your NRPE box sees your Nagios server at a different IP address than you think. Can you elaborate a bit more on your layout? Thanks, Andy Grant Lowe wrote: > Hi Andy, > > The remote nrpe client (xxx.xxx.xxx.xxx) is on a DMZ at work, and the nagios server is internal. You're saying the remote nrpe system should not be able to accept requests when queried from the nagios host. There shouldn't be any port scanning going on. I had the networking folks open up port 5666, so I thought that would take of that. What am I missing? > > Thanks, Andy! > > > > ----- Original Message ---- > From: Andy Shellam > To: Grant Lowe > Cc: nagios-user Mailinglist > Sent: Friday, December 12, 2008 10:45:09 AM > Subject: Re: [Nagios-users] Host is not allowed to talk to us! > > Grant, > > Are remote checks from your Nagios server to this NRPE client > succeeding? Is xxx.xxx.xxx.xxx one of your own, or an external IP > address? I'm thinking there may be a remote system trying to talk to > your NRPE system that it's not allowing (which is correct.) It could > potentially be some sort of port scanner if your client is publicly > accessible. > > Regards, > Andy > > Grant Lowe wrote: > >> Hi Marc, >> >> Thanks for the quick reply. Yes, I have the correct IP. Also I already have debugging turned on in nrpe.cfg. I have other clients connecting just fine. I just restarted nrpe and I got this message: >> >> Dec 12 09:18:22 nagiosclient svc.startd[7]: [ID 748625 daemon.error] network/cswnrpe:default failed repeatedly >> Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 601491 daemon.notice] Starting up daemon >> Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 627629 daemon.notice] Warning: Daemon is configured to accept command arguments from clients! >> Dec 12 09:19:42 nagiosclient nrpe[649]: [ID 381997 daemon.error] Host xxx.xxx.xxx.xxx is not allowed to talk to us! >> >> We're not using IPV6, so I guess that's not a problem. Other thoughts? >> >> >> >> ----- Original Message ---- >> From: Marc Powell >> To: nagios-user Mailinglist >> Sent: Friday, December 12, 2008 8:58:42 AM >> Subject: Re: [Nagios-users] Host is not allowed to talk to us! >> >> >> On Dec 12, 2008, at 10:23 AM, Grant Lowe wrote: >> >> >> >>> Hi all, >>> >>> I'm getting a message from the syslog of my nrpe client that says: >>> >>> Host xxx.xxx.xxx.xxx is not allowed to talk to us! >>> >>> In the nrpe.cfg file I have the IP address of the nagios server: >>> >>> allowed_hosts=127.0.0.1,172.20.40.45 >>> >>> >> The code around this error is very straightforward and looks like a >> simple address match. Are you sure you have the correct IP and nrpe >> has been restarted? Are you using IPV6 locally? >> >> In any event, putting nrpe into debug mode and watching /var/log/ >> messages should be informative. >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 12 21:03:30 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 12 Dec 2008 15:03:30 -0500 Subject: statusmap.cgi is missing In-Reply-To: <3d22fc520812121149v30e140faw71108dc261ecf2b6@mail.gmail.com> References: <3d22fc520812121149v30e140faw71108dc261ecf2b6@mail.gmail.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CDE2@buf-ex01.cymfony.com> Check for missing libraries. http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=true&showdesc=fa lse -----Original Message----- From: Aldo Foot [mailto:lunixer at gmail.com] Sent: Friday, December 12, 2008 2:49 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap.cgi is missing Hello nagios users: I'm new to nagios and I trying to get some info. I first tried installing nagios-3.0.2 and for the most part it worked fine. Then, I compiled nagios v3.0.6 and the statusmap.cgi file does not get installed. Why? When I click on the Status Map on the web page, I get an error: "The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server." I used these command to compile/install: $ ./configure --with-command-group=nagcmd $ make all # make install # make install-init # make install-config # make install-commandmode # make install-webconf I installed the plugins as well, $ ./configure --with-nagios-user=nagios --with-nagios-group=nagios $ make # make install This is a very basic install to start with, nothing fancy, so what's with status map missing file? ~af ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 12 21:45:47 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 12 Dec 2008 12:45:47 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <277779.91339.qm@web81805.mail.mud.yahoo.com> Hi Andy, Bear with me. I'm trying to understand all this Hmm. That makes sense. Judging by the IP address in the NRPE logs, that looks like its a problem. The IP address it says its not allowed to talk to is the NAT'ed IP address, not the real IP address, of the Nagios server. I can ping the Nagios servver by IP and it does respond correctly, But doing a who, or a netstat -a and grepping for established connections shows the NAT'ed IP. All addresses are adddresses that we own. I'm at a loss of how to correct this. How do I get the networking folks to show the NRPE host the real IP address of the server? Can it be done? Thanks again, Andy. This is very insightful! ----- Original Message ---- From: Andy Shellam To: Grant Lowe Cc: nagios-user Mailinglist Sent: Friday, December 12, 2008 11:50:45 AM Subject: Re: [Nagios-users] Host is not allowed to talk to us! Hi Grant, What I meant was NRPE is denying a connection from a host you've not allowed in your config (i.e. it's not your Nagios server.) Can you identify the server that NRPE is not allowing to connect? Is it one of your own IP addresses? The fact that your NRPE system is inside a DMZ may be important - it could be something simple like your NRPE box sees your Nagios server at a different IP address than you think. Can you elaborate a bit more on your layout? Thanks, Andy Grant Lowe wrote: > Hi Andy, > > The remote nrpe client (xxx.xxx.xxx.xxx) is on a DMZ at work, and the nagios server is internal. You're saying the remote nrpe system should not be able to accept requests when queried from the nagios host. There shouldn't be any port scanning going on. I had the networking folks open up port 5666, so I thought that would take of that. What am I missing? > > Thanks, Andy! > > > > ----- Original Message ---- > From: Andy Shellam > To: Grant Lowe > Cc: nagios-user Mailinglist > Sent: Friday, December 12, 2008 10:45:09 AM > Subject: Re: [Nagios-users] Host is not allowed to talk to us! > > Grant, > > Are remote checks from your Nagios server to this NRPE client > succeeding? Is xxx.xxx.xxx.xxx one of your own, or an external IP > address? I'm thinking there may be a remote system trying to talk to > your NRPE system that it's not allowing (which is correct.) It could > potentially be some sort of port scanner if your client is publicly > accessible. > > Regards, > Andy > > Grant Lowe wrote: > >> Hi Marc, >> >> Thanks for the quick reply. Yes, I have the correct IP. Also I already have debugging turned on in nrpe.cfg. I have other clients connecting just fine. I just restarted nrpe and I got this message: >> >> Dec 12 09:18:22 nagiosclient svc.startd[7]: [ID 748625 daemon.error] network/cswnrpe:default failed repeatedly >> Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 601491 daemon.notice] Starting up daemon >> Dec 12 09:19:25 nagiosclient nrpe[643]: [ID 627629 daemon.notice] Warning: Daemon is configured to accept command arguments from clients! >> Dec 12 09:19:42 nagiosclient nrpe[649]: [ID 381997 daemon.error] Host xxx.xxx.xxx.xxx is not allowed to talk to us! >> >> We're not using IPV6, so I guess that's not a problem. Other thoughts? >> >> >> >> ----- Original Message ---- >> From: Marc Powell >> To: nagios-user Mailinglist >> Sent: Friday, December 12, 2008 8:58:42 AM >> Subject: Re: [Nagios-users] Host is not allowed to talk to us! >> >> >> On Dec 12, 2008, at 10:23 AM, Grant Lowe wrote: >> >> >> >>> Hi all, >>> >>> I'm getting a message from the syslog of my nrpe client that says: >>> >>> Host xxx.xxx.xxx.xxx is not allowed to talk to us! >>> >>> In the nrpe.cfg file I have the IP address of the nagios server: >>> >>> allowed_hosts=127.0.0.1,172.20.40.45 >>> >>> >> The code around this error is very straightforward and looks like a >> simple address match. Are you sure you have the correct IP and nrpe >> has been restarted? Are you using IPV6 locally? >> >> In any event, putting nrpe into debug mode and watching /var/log/ >> messages should be informative. >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 22:15:18 2008 From: marc at ena.com (Marc Powell) Date: Fri, 12 Dec 2008 15:15:18 -0600 Subject: Host is not allowed to talk to us! In-Reply-To: <277779.91339.qm@web81805.mail.mud.yahoo.com> References: <277779.91339.qm@web81805.mail.mud.yahoo.com> Message-ID: On Dec 12, 2008, at 2:45 PM, Grant Lowe wrote: > Hi Andy, > > Bear with me. I'm trying to understand all this > > Hmm. That makes sense. Judging by the IP address in the NRPE logs, > that looks like its a problem. The IP address it says its not > allowed to talk to is the NAT'ed IP address, not the real IP > address, of the Nagios server. This is what I was asking earlier ;) > I can ping the Nagios servver by IP and it does respond correctly, You can ping the private, 172.20.40.45 address? That would be a very unusual configuration if you're also seeing a public address on the NRPE side. I expect the box would have to be dual-homed for that to happen, in which case your NRPE box would also have to have an IP on the private network and you could tell Nagios to use that one instead of the one you're using now (completely guessing about your network architecture so MyMMV). > But doing a who, or a netstat -a and grepping for established > connections shows the NAT'ed IP. All addresses are adddresses that > we own. I'm at a loss of how to correct this. How do I get the > networking folks to show the NRPE host the real IP address of the > server? Can it be done? They should know how, and it depends entirely on how your network is designed. There's no way we can tell you how without knowing that in significant detail ;) Is there a reason you can't just permit the public NAT IP that NRPE is seeing? Seems to me to be the most direct and easiest solution. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorg.schulz at telia.com Fri Dec 12 22:26:55 2008 From: jorg.schulz at telia.com (jorg.schulz) Date: Fri, 12 Dec 2008 22:26:55 +0100 Subject: statusmap.cgi is missing In-Reply-To: <3d22fc520812121149v30e140faw71108dc261ecf2b6@mail.gmail.com> References: <3d22fc520812121149v30e140faw71108dc261ecf2b6@mail.gmail.com> Message-ID: <39500.5341074013$1229117423@news.gmane.org> Hello Nagios User ! Install your GD-LIB And read here http://www.nagios.org/faqs/viewfaq.php?faq_id=55 /j -----Ursprungligt meddelande----- Fr?n: Aldo Foot [mailto:lunixer at gmail.com] Skickat: den 12 december 2008 20:49 Till: nagios-users at lists.sourceforge.net ?mne: [Nagios-users] statusmap.cgi is missing >Hello nagios users: AI'm new to nagios and I trying to get some info. >I first tried installing nagios-3.0.2 and for the most part it worked fine. >Then, I compiled nagios v3.0.6 and the statusmap.cgi file does not get >installed. Why? >When I click on the Status Map on the web page, I get an error: >"The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server." >I used these command to compile/install: > $ ./configure --with-command-group=nagcmd $ make all # make install # make install-init # make install-config # make install-commandmode # make install-webconf I installed the plugins as well, $ ./configure --with-nagios-user=nagios --with-nagios-group=nagios $ make # make install This is a very basic install to start with, nothing fancy, so what's with status map missing file? ~af ---------------------------------------------------------------------------- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________ NOD32 3687 (20081212) Information __________ Detta meddelande dr genomsvkt av NOD32 Antivirus. http://www.nod32.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 12 23:38:53 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 12 Dec 2008 14:38:53 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <73435.84789.qm@web81803.mail.mud.yahoo.com> Hi Marc, Well at least I'm understanding you now :-> Yeah, I can ping the private IP address of the nagios server. The public address I'm seeing is NAT'ed IP address. I'm not going to make the box dual-home, but an option seems to me to just give the Nagios server an external DNS name and IP, then have the firewall redirect the traffic to the internal IP address. You said "Is there a reason you can't just permit the public NAT IP that NRPE is seeing? Seems to me to be the most direct and easiest solution." I agree with you completely as that seems the easiest way. But I don't know if you can do that. Meanwhile, I got the network admin to allow port 5666 through the firewall, added a DNS entry on the external network. I then add the NAT'ed IP address to the nrpe.cfg file. Now when I start NRPE I get these errors in the syslog: ddress) Dec 12 14:27:04 nrpe-server nrpe[2455]: [ID 601491 daemon.notice] Starting up daemon Dec 12 14:27:04 nrpe-server nrpe[2455]: [ID 434846 daemon.error] Network server bind failure (126: Cannot assign requested address) Dec 12 14:27:04 nrpe-server svc.startd[7]: [ID 748625 daemon.error] network/cswnrpe:default failed repeatedly Now what? ----- Original Message ---- From: Marc Powell To: nagios-user Mailinglist Sent: Friday, December 12, 2008 1:15:18 PM Subject: Re: [Nagios-users] Host is not allowed to talk to us! On Dec 12, 2008, at 2:45 PM, Grant Lowe wrote: > Hi Andy, > > Bear with me. I'm trying to understand all this > > Hmm. That makes sense. Judging by the IP address in the NRPE logs, > that looks like its a problem. The IP address it says its not > allowed to talk to is the NAT'ed IP address, not the real IP > address, of the Nagios server. This is what I was asking earlier ;) > I can ping the Nagios servver by IP and it does respond correctly, You can ping the private, 172.20.40.45 address? That would be a very unusual configuration if you're also seeing a public address on the NRPE side. I expect the box would have to be dual-homed for that to happen, in which case your NRPE box would also have to have an IP on the private network and you could tell Nagios to use that one instead of the one you're using now (completely guessing about your network architecture so MyMMV). > But doing a who, or a netstat -a and grepping for established > connections shows the NAT'ed IP. All addresses are adddresses that > we own. I'm at a loss of how to correct this. How do I get the > networking folks to show the NRPE host the real IP address of the > server? Can it be done? They should know how, and it depends entirely on how your network is designed. There's no way we can tell you how without knowing that in significant detail ;) Is there a reason you can't just permit the public NAT IP that NRPE is seeing? Seems to me to be the most direct and easiest solution. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 12 23:52:57 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 12 Dec 2008 14:52:57 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <897369.94320.qm@web81802.mail.mud.yahoo.com> Well, operator error (I made a mistake). I found that inside nrpe.cfg there is a lines tha I needed to modify: allowed_hosts=xxx.xxx.xxx.xxx I modified that and now I get a different error: nrpe[2779]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 On the nagios server, I've tried running the command with -n and without -n and both fail. However, only with -n do I get an error. Without -n I get no errors. This is the command I'm running: [root at nagios-test ~]# /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -c check_swap NRPE: Unable to read output [root at nagios-test ~]# ----- Original Message ---- From: Marc Powell To: nagios-user Mailinglist Sent: Friday, December 12, 2008 1:15:18 PM Subject: Re: [Nagios-users] Host is not allowed to talk to us! On Dec 12, 2008, at 2:45 PM, Grant Lowe wrote: > Hi Andy, > > Bear with me. I'm trying to understand all this > > Hmm. That makes sense. Judging by the IP address in the NRPE logs, > that looks like its a problem. The IP address it says its not > allowed to talk to is the NAT'ed IP address, not the real IP > address, of the Nagios server. This is what I was asking earlier ;) > I can ping the Nagios servver by IP and it does respond correctly, You can ping the private, 172.20.40.45 address? That would be a very unusual configuration if you're also seeing a public address on the NRPE side. I expect the box would have to be dual-homed for that to happen, in which case your NRPE box would also have to have an IP on the private network and you could tell Nagios to use that one instead of the one you're using now (completely guessing about your network architecture so MyMMV). > But doing a who, or a netstat -a and grepping for established > connections shows the NAT'ed IP. All addresses are adddresses that > we own. I'm at a loss of how to correct this. How do I get the > networking folks to show the NRPE host the real IP address of the > server? Can it be done? They should know how, and it depends entirely on how your network is designed. There's no way we can tell you how without knowing that in significant detail ;) Is there a reason you can't just permit the public NAT IP that NRPE is seeing? Seems to me to be the most direct and easiest solution. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lunixer at gmail.com Sat Dec 13 02:02:51 2008 From: lunixer at gmail.com (Aldo Foot) Date: Fri, 12 Dec 2008 17:02:51 -0800 Subject: Error: Could not open command file 'nagios.cmd' for update! Message-ID: <3d22fc520812121702v348b21cds279c6308f3ce3774@mail.gmail.com> I'm running CentOS 5 and Nagios 3.0.6. When I click on "Re-schedule the next check of this service" I get an error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. I read the FAQ here: http://www.nagios.org/faqs/viewfaq.php?faq_id=58&expand=false&showdesc=false and followed the instructions here: http://nagios.sourceforge.net/docs/2_0/commandfile.html and have these file permissions: # ls -ld /usr/local/nagios/var/rw drwxrwsr-x 2 nagios nagcmd 4096 Dec 12 16:49 /usr/local/nagios/var/rw # ls -l /usr/local/nagios/var/rw prw-rw---- 1 nagios nagcmd 0 Dec 12 16:15 nagios.cmd Note that if I disable the system firewall there is no error. I won't get into much detail on the firewall side (building a local policy file), because I'd like to know whether there is a simpler, better solution to this. thanks in advanced. ~af ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lunixer at gmail.com Sat Dec 13 02:47:37 2008 From: lunixer at gmail.com (Aldo Foot) Date: Fri, 12 Dec 2008 17:47:37 -0800 Subject: Error: Could not open command file 'nagios.cmd' for update! In-Reply-To: <3d22fc520812121702v348b21cds279c6308f3ce3774@mail.gmail.com> References: <3d22fc520812121702v348b21cds279c6308f3ce3774@mail.gmail.com> Message-ID: <3d22fc520812121747o564f86c5l26ebd1e4a77dc704@mail.gmail.com> On Fri, Dec 12, 2008 at 5:02 PM, Aldo Foot wrote: > I'm running CentOS 5 and Nagios 3.0.6. > > When I click on "Re-schedule the next check of this service" I get an error: > > Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update! > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > An error occurred while attempting to commit your command for processing. > > I read the FAQ here: > http://www.nagios.org/faqs/viewfaq.php?faq_id=58&expand=false&showdesc=false > > and followed the instructions here: > http://nagios.sourceforge.net/docs/2_0/commandfile.html > > and have these file permissions: > > # ls -ld /usr/local/nagios/var/rw > drwxrwsr-x 2 nagios nagcmd 4096 Dec 12 16:49 /usr/local/nagios/var/rw > > # ls -l /usr/local/nagios/var/rw > prw-rw---- 1 nagios nagcmd 0 Dec 12 16:15 nagios.cmd > > Note that if I disable the system firewall there is no error. > I won't get into much detail on the firewall side (building a local > policy file), because > I'd like to know whether there is a simpler, better solution to this. > > thanks in advanced. > ~af To add more info: I have the account and group set as shown here. # grep nag /etc/passwd nagios:x:501:501::/home/nagios:/bin/bash # grep nag /etc/group nagios:x:501: nagcmd:x:502:nagios,apache pretty much that's how it's outlined in the documentation. ~af ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sat Dec 13 05:31:47 2008 From: jon at netdork.net (Jon Angliss) Date: Fri, 12 Dec 2008 22:31:47 -0600 Subject: Servicegroups and web interface References: <4942B76B.2040802@usgs.gov> Message-ID: On Fri, 12 Dec 2008 12:11:39 -0700, Matthew Shanker wrote: >I'm having what I think is some sort of permissions issue but I can't >put my finger on it. I've got a situation where I've got an empty >servicegroup that shows up in the web interface. As soon as I add the >servicegroups line to the definition shown below the servicegroup >dissapears from the web interface. The web interface is configured with >authentication using a default user 'nagios' that is set for all >hosts/services. > >define service { > use important-service > > hostgroups linux-servers,linux-desktops,!legacy-systems > service_description NFS > check_command check_nfs_by_ssh >+servicegroups file-shares >} What version of nagios are you using? Should the "hostgroups" not be "hostgroup_name", at least that is how it's being documented in the manual for 3.x. Are you defining the line with a + at the beginning, or is that a diff showing what you've added? -- Jon Angliss ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Sat Dec 13 14:22:06 2008 From: stanislas.leveau at ac-caen.fr (Leveau Stanislas) Date: Sat, 13 Dec 2008 14:22:06 +0100 Subject: statusmap.cgi is missing In-Reply-To: <005401c95ca0$5b870d70$12952850$%schulz@telia.com> References: <3d22fc520812121149v30e140faw71108dc261ecf2b6@mail.gmail.com> <005401c95ca0$5b870d70$12952850$%schulz@telia.com> Message-ID: <20081213142206.v0xoytmg3ouaswwg@mel.ac-caen.fr> Hi I have the same problem with mandriva 2009 statusmap.cgi was not found And wit h this : And read here > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 it\'s the same problem idea? Bye STan > Hello Nagios User ! > > Install your GD-LIB > And read here > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > /j > -----Ursprungligt meddelande----- > Fr?n: Aldo Foot [mailto:lunixer at gmail.com] > Skickat: den 12 december 2008 20:49 > Till: nagios-users at lists.sourceforge.net > ?mne: [Nagios-users] statusmap.cgi is missing > >> Hello nagios users: > > AI'm new to nagios and I trying to get some info. >> I first tried installing nagios-3.0.2 and for the most part it worked fine. > >> Then, I compiled nagios v3.0.6 and the statusmap.cgi file does not get >> installed. Why? > >> When I click on the Status Map on the web page, I get an error: >> "The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this > server." > >> I used these command to compile/install: > >> $ ./configure --with-command-group=nagcmd > $ make all > # make install > # make install-init > # make install-config > # make install-commandmode > # make install-webconf > > I installed the plugins as well, > > $ ./configure --with-nagios-user=nagios --with-nagios-group=nagios > $ make > # make install > > This is a very basic install to start with, nothing fancy, so what's > with status map missing file? > ~af > > ---------------------------------------------------------------------------- > -- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > __________ NOD32 3687 (20081212) Information __________ > > Detta meddelande dr genomsvkt av NOD32 Antivirus. > http://www.nod32.com > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at bortal.de Sat Dec 13 18:59:08 2008 From: ml at bortal.de (ml at bortal.de) Date: Sat, 13 Dec 2008 18:59:08 +0100 Subject: All Active checks via ssh? Central Managment possible? Message-ID: <4943F7EC.8040905@bortal.de> Hello List, i have a lot of linux boxes i want to monitor. In particular the services are: - SSH - MySQL - Disk Free - Load - (and some more) so far its a LOT of work checking ssh activky and all the other tests passively. Is there a way to check for MySQL, Disk Free, Load by using a ssh command (+key) or something? This would be great since we could manage our settings at just on our nagios server (manage all the nagios stuff at one place). Any idea how to accomplish this? Cheers, Mario ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stpierre at NebrWesleyan.edu Sat Dec 13 19:32:10 2008 From: stpierre at NebrWesleyan.edu (Chris St. Pierre) Date: Sat, 13 Dec 2008 12:32:10 -0600 (CST) Subject: All Active checks via ssh? Central Managment possible? In-Reply-To: <4943F7EC.8040905@bortal.de> References: <4943F7EC.8040905@bortal.de> Message-ID: On Sat, 13 Dec 2008, ml at bortal.de wrote: > Is there a way to check for MySQL, Disk Free, Load by using a ssh > command (+key) or something? This would be great since we could manage > our settings at just on our nagios server (manage all the nagios stuff > at one place). NRPE or NSCA: http://nagios.sourceforge.net/docs/3_0/addons.html Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Dec 14 06:40:29 2008 From: marc at ena.com (Marc Powell) Date: Sat, 13 Dec 2008 23:40:29 -0600 Subject: All Active checks via ssh? Central Managment possible? In-Reply-To: References: <4943F7EC.8040905@bortal.de> Message-ID: <6F961283-FEFB-4C11-A0AC-240E46037CC0@ena.com> On Dec 13, 2008, at 12:32 PM, Chris St. Pierre wrote: > On Sat, 13 Dec 2008, ml at bortal.de wrote: > >> Is there a way to check for MySQL, Disk Free, Load by using a ssh >> command (+key) or something? This would be great since we could >> manage >> our settings at just on our nagios server (manage all the nagios >> stuff >> at one place). > > NRPE or NSCA: http://nagios.sourceforge.net/docs/3_0/addons.html Or check_by_ssh. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 08:53:18 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 14 Dec 2008 08:53:18 +0100 Subject: Last Check Time Issue In-Reply-To: <57F018B226E004449B318DAF71A60146566B11483E@IO-SCD-EX-M-01.corp.iodatacenters.com> References: <57F018B226E004449B318DAF71A60146566B11483E@IO-SCD-EX-M-01.corp.iodatacenters.com> Message-ID: <4944BB6E.4090409@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Calhoun, Matthew wrote: > We have about 1500 services that are being passively checked (custom > scripts that write to the external command file). We?ve noticed an issue > where the ?Last Check? time for the service is many hours behind, but > the ?Last Update? time is correct and the service is alarming, etc. > properly. Does anyone have an idea as to why the Last Check Time isn?t > being updated properly? Ever considered that "last check" only aplies to active checks? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJRLtsBvzDRVjxmYERApKrAJ40k8l4vQfC/cIZDSYubKMAfMVMXQCeJlD+ sQWa+ZMU6E2FsV1YsStxEMM= =xFhi -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epearce at amberpoint.com Sun Dec 14 23:08:14 2008 From: epearce at amberpoint.com (Eric Pearce) Date: Sun, 14 Dec 2008 14:08:14 -0800 Subject: launching ssh session via action_url (or other mechanism) Message-ID: I'd like to be able click on the link presented by action_url in the Nagios display or $HOSTACTIONURL$ in a notfication email and have it open a SSH session to the host in question. I found several people saying this is possible in the mailing list archives, but I don't see any detailed examples or instructions. I'm not a java programmer. I don't think the IE-specific telnet:// registry hack is good enough - I want to be able to use Firefox as well. I'm running nagios 3.0.6 and 1.4.13 plugins Thanks for any pointers. -e -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy-lists at networkmail.eu Sun Dec 14 23:54:23 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Sun, 14 Dec 2008 22:54:23 +0000 Subject: launching ssh session via action_url (or other mechanism) In-Reply-To: References: Message-ID: <49458E9F.5000803@networkmail.eu> Hi Eric, I'm not sure if PuTTY or other SSH clients support the ssh:// URL handler directly, but if not you can add it yourself. See the MSDN documentation at the URL below. You could add a protocol handler for the "ssh://" protocol, then if you put "ssh://192.168.0.1" as your URL in Nagios, the client PC will launch the application you put in the registry and pass it "192.168.0.1" as the "%1" argument. http://msdn.microsoft.com/en-us/library/aa767914.aspx E.g. your "shell open command" for PuTTY would be something like: "C:\|putty.exe" -ssh "%1"| I've done a similar thing with an application I manage at work and it was really easy. The only downside is the registry has to be updated on every PC, but you could export the registry key as a .reg file and pass it around to those who need it. I believe it's a system-wide thing, so it should work in Firefox as well, but don't quote me on it. Regards, Andy Eric Pearce wrote: > I'd like to be able click on the link presented by action_url in the > Nagios display or $HOSTACTIONURL$ in a notfication email and have it > open a SSH session to the host in question. > I found several people saying this is possible in the mailing list > archives, but I don't see any detailed examples or instructions. I'm > not a java programmer. > I don't think the IE-specific telnet:// registry hack is good enough - > I want to be able to use Firefox as well. > I'm running nagios 3.0.6 and 1.4.13 plugins > Thanks for any pointers. > -e > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Mon Dec 15 00:47:27 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Sun, 14 Dec 2008 23:47:27 +0000 Subject: launching ssh session via action_url (or other mechanism) In-Reply-To: <49458E9F.5000803@networkmail.eu> References: <49458E9F.5000803@networkmail.eu> Message-ID: <49459B0F.4090608@networkmail.eu> Ignore the | in the shell open command example - don't know where they came from! i.e. "C:\putty.exe" -ssh "%1" Andy Shellam wrote: > Hi Eric, > > I'm not sure if PuTTY or other SSH clients support the ssh:// URL > handler directly, but if not you can add it yourself. See the MSDN > documentation at the URL below. You could add a protocol handler for > the "ssh://" protocol, then if you put "ssh://192.168.0.1" as your URL > in Nagios, the client PC will launch the application you put in the > registry and pass it "192.168.0.1" as the "%1" argument. > > http://msdn.microsoft.com/en-us/library/aa767914.aspx > > E.g. your "shell open command" for PuTTY would be something like: > "C:\|putty.exe" -ssh "%1"| > > I've done a similar thing with an application I manage at work and it > was really easy. The only downside is the registry has to be updated on > every PC, but you could export the registry key as a .reg file and pass > it around to those who need it. > > I believe it's a system-wide thing, so it should work in Firefox as > well, but don't quote me on it. > > Regards, > Andy > > Eric Pearce wrote: > >> I'd like to be able click on the link presented by action_url in the >> Nagios display or $HOSTACTIONURL$ in a notfication email and have it >> open a SSH session to the host in question. >> I found several people saying this is possible in the mailing list >> archives, but I don't see any detailed examples or instructions. I'm >> not a java programmer. >> I don't think the IE-specific telnet:// registry hack is good enough - >> I want to be able to use Firefox as well. >> I'm running nagios 3.0.6 and 1.4.13 plugins >> Thanks for any pointers. >> -e >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alfeijoo at cesga.es Mon Dec 15 10:16:03 2008 From: alfeijoo at cesga.es (Alejandro Feijoo Fraga) Date: Mon, 15 Dec 2008 10:16:03 +0100 Subject: too much notify In-Reply-To: <4877D27245AA4E6BACC3AE350AB54251@office.jasminmediagroup.hu> References: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> <1DB9BD9F-F14A-43EB-934D-89AD4B09D34E@ena.com> <49427446.3040609@cesga.es> <4877D27245AA4E6BACC3AE350AB54251@office.jasminmediagroup.hu> Message-ID: <49462053.2080001@cesga.es> Hi. I have al services similiar like this: --- define service{ use generic-service host_name cn003 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check-host-alive } --- But for example... when one node is down, i?m only need one mail alert... and nagios going to send too mucho notify. for example... i have an mail alert at 13:20pm ***** Nagios ***** Notification Type: PROBLEM Host: cn016 State: DOWN Address: xx.xx.xx.xx Info: $ PING CRITICAL - Packet loss = 100% Date/Time: Thu Dec 11 13:20:32 CET 2008 And... the same alert at 13:55 ***** Nagios ***** Notification Type: PROBLEM Host: cn016 State: DOWN Address: 84.21.168.16 Info: $ PING CRITICAL - Packet loss = 100% Date/Time: Thu Dec 11 13:55:51 CET 2008 How i can make to receive only one alert? Thanks! Kun Rich?rd escribi?: > Hi, > >> -----Original Message----- >> From: Alejandro Feijoo Fraga [mailto:alfeijoo at cesga.es] >> Sent: Friday, December 12, 2008 3:25 PM >> To: Kun Rich?rd >> Cc: 'nagios-user Mailinglist' >> Subject: Re: [Nagios-users] too much notify >> >> Hi. >> >> how do you? because i have the same problem, i have mails alert every >> minutes and i have notification_interval=0.... >> >> where is the problem? > > Set the is_volatile to 0. > > The is_volatile with value 1 means that the service is "volatile", and the > status falling back to "OK" after every notification. > (See: http://nagios.sourceforge.net/docs/2_0/volatileservices.html) > > > -- > ?dv, > Ricsi > kun.richard at kirzen.hu > > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 11/12/2008 20:58 > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mario.almeida at gmail.com Mon Dec 15 11:32:01 2008 From: mario.almeida at gmail.com (Mario Almeida) Date: Mon, 15 Dec 2008 14:32:01 +0400 Subject: info on nagios Message-ID: Hi All, I am new to Nagios. would like to know if Nagios have a proxy to monitor the remote location Regards, Remy ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Mon Dec 15 11:47:15 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 15 Dec 2008 10:47:15 +0000 Subject: info on nagios In-Reply-To: References: Message-ID: <494635B3.10607@networkmail.eu> You can use NRPE on remote servers to be monitored from a central Nagios server, yes. If you need any more information we'll need more explanation from you about what it is you'd like to do. Thanks, Andy Mario Almeida wrote: > Hi All, > > I am new to Nagios. > > would like to know if Nagios have a proxy to monitor the remote location > > Regards, > Remy > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Mon Dec 15 12:26:23 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Mon, 15 Dec 2008 12:26:23 +0100 Subject: Antwort: Re: too much notify In-Reply-To: <49462053.2080001@cesga.es> References: <49462053.2080001@cesga.es> Message-ID: Hello Alejandro, first of all: please do not "toppost" and "fullquote" the messages. It's considered rude and makes reading and understanding your message harder then necessary. Thanks for your understanding. Second: You have misunderstood something. You posted a service definition. > --- > define service{ [snip] > } > --- But you then posted a host problem notification. > at 13:20pm > Notification Type: PROBLEM > Host: cn016 > State: DOWN Service problems and host problems are two different things. The fact that you have a PING service might be the reason you misinterpreted the mail. A PING service is most of the time not necessary, because Nagios will ping the host anyways via the check-host-alive command. > How i can make to receive only one alert? Check your host definition for the notification_interval. Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 15 14:07:53 2008 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2008 07:07:53 -0600 Subject: info on nagios In-Reply-To: References: Message-ID: On Dec 15, 2008, at 4:32 AM, Mario Almeida wrote: > Hi All, > > I am new to Nagios. > > would like to know if Nagios have a proxy to monitor the remote > location Nagios doesn't need a proxy, just a transport. See the documentation sections 'How to monitor a ...' and 'Distributed Monitoring'. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alfeijoo at cesga.es Mon Dec 15 16:27:35 2008 From: alfeijoo at cesga.es (Alejandro Feijoo Fraga) Date: Mon, 15 Dec 2008 16:27:35 +0100 Subject: too much notify In-Reply-To: <1229338041.7240.5.camel@sulfix.win.alisrz.de> References: <25533869148E45A8B26694FD3AEE582A@office.jasminmediagroup.hu> <1DB9BD9F-F14A-43EB-934D-89AD4B09D34E@ena.com> <49427446.3040609@cesga.es> <4877D27245AA4E6BACC3AE350AB54251@office.jasminmediagroup.hu> <49462053.2080001@cesga.es> <1229338041.7240.5.camel@sulfix.win.alisrz.de> Message-ID: <49467767.3080302@cesga.es> Kai Sulfrian escribi?: > You got NOTIFICATIONS about a HOST and not a SERVICE !!! > You have to set up your HOST notification settings. > > define host{ > ... > notification_interval 0 > ... > } > > ups! sorry thats wrong mail data.... mi host definition have the notificacion_interval 0 have this two: max_check_attempts 10 notification_interval 0 and others... but the problem presist ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Mon Dec 15 17:27:25 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 15 Dec 2008 08:27:25 -0800 (PST) Subject: Host is not allowed to talk to us! Message-ID: <194457.42258.qm@web81801.mail.mud.yahoo.com> Well, I finally got the problem fixed. It turns out that the latest problem was caused by some .so library files that were incorrect. I ran ldd on the nrpe binary and looked at each file it was looking for. Going through the files one-by-one, I found the files and had redo some sym links. Thanks for everybody's help! ----- Original Message ---- From: Grant Lowe To: Marc Powell ; nagios-user Mailinglist Sent: Friday, December 12, 2008 2:52:57 PM Subject: Re: [Nagios-users] Host is not allowed to talk to us! Well, operator error (I made a mistake). I found that inside nrpe.cfg there is a lines tha I needed to modify: allowed_hosts=xxx.xxx.xxx.xxx I modified that and now I get a different error: nrpe[2779]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 On the nagios server, I've tried running the command with -n and without -n and both fail. However, only with -n do I get an error. Without -n I get no errors. This is the command I'm running: [root at nagios-test ~]# /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -c check_swap NRPE: Unable to read output [root at nagios-test ~]# ----- Original Message ---- From: Marc Powell To: nagios-user Mailinglist Sent: Friday, December 12, 2008 1:15:18 PM Subject: Re: [Nagios-users] Host is not allowed to talk to us! On Dec 12, 2008, at 2:45 PM, Grant Lowe wrote: > Hi Andy, > > Bear with me. I'm trying to understand all this > > Hmm. That makes sense. Judging by the IP address in the NRPE logs, > that looks like its a problem. The IP address it says its not > allowed to talk to is the NAT'ed IP address, not the real IP > address, of the Nagios server. This is what I was asking earlier ;) > I can ping the Nagios servver by IP and it does respond correctly, You can ping the private, 172.20.40.45 address? That would be a very unusual configuration if you're also seeing a public address on the NRPE side. I expect the box would have to be dual-homed for that to happen, in which case your NRPE box would also have to have an IP on the private network and you could tell Nagios to use that one instead of the one you're using now (completely guessing about your network architecture so MyMMV). > But doing a who, or a netstat -a and grepping for established > connections shows the NAT'ed IP. All addresses are adddresses that > we own. I'm at a loss of how to correct this. How do I get the > networking folks to show the NRPE host the real IP address of the > server? Can it be done? They should know how, and it depends entirely on how your network is designed. There's no way we can tell you how without knowing that in significant detail ;) Is there a reason you can't just permit the public NAT IP that NRPE is seeing? Seems to me to be the most direct and easiest solution. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcalhoun at iodatacenters.com Mon Dec 15 17:51:58 2008 From: mcalhoun at iodatacenters.com (Calhoun, Matthew) Date: Mon, 15 Dec 2008 09:51:58 -0700 Subject: Last Check Time Issue In-Reply-To: <4944BB6E.4090409@vanderkooij.org> References: <57F018B226E004449B318DAF71A60146566B11483E@IO-SCD-EX-M-01.corp.iodatacenters.com> <4944BB6E.4090409@vanderkooij.org> Message-ID: <57F018B226E004449B318DAF71A60146566B1149D4@IO-SCD-EX-M-01.corp.iodatacenters.com> Hugo, If that were the case, then this service should have a "Last Check Date" of never, as it has always been passive. It is just lagging behind by a few hours.... Thanks, Matt -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Sunday, December 14, 2008 12:53 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Last Check Time Issue -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Calhoun, Matthew wrote: > We have about 1500 services that are being passively checked (custom > scripts that write to the external command file). We?ve noticed an issue > where the ?Last Check? time for the service is many hours behind, but > the ?Last Update? time is correct and the service is alarming, etc. > properly. Does anyone have an idea as to why the Last Check Time isn?t > being updated properly? Ever considered that "last check" only aplies to active checks? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJRLtsBvzDRVjxmYERApKrAJ40k8l4vQfC/cIZDSYubKMAfMVMXQCeJlD+ sQWa+ZMU6E2FsV1YsStxEMM= =xFhi -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lunixer at gmail.com Mon Dec 15 18:48:31 2008 From: lunixer at gmail.com (Aldo Foot) Date: Mon, 15 Dec 2008 09:48:31 -0800 Subject: Error: Could not open command file 'nagios.cmd' for update! In-Reply-To: <3d22fc520812121747o564f86c5l26ebd1e4a77dc704@mail.gmail.com> References: <3d22fc520812121702v348b21cds279c6308f3ce3774@mail.gmail.com> <3d22fc520812121747o564f86c5l26ebd1e4a77dc704@mail.gmail.com> Message-ID: <3d22fc520812150948y606aee9dg36691e58ae0b6a29@mail.gmail.com> On Fri, Dec 12, 2008 at 5:47 PM, Aldo Foot wrote: > On Fri, Dec 12, 2008 at 5:02 PM, Aldo Foot wrote: >> I'm running CentOS 5 and Nagios 3.0.6. >> >> When I click on "Re-schedule the next check of this service" I get an error: >> >> Error: Could not open command file >> '/usr/local/nagios/var/rw/nagios.cmd' for update! >> The permissions on the external command file and/or directory may be >> incorrect. Read the FAQs on how to setup proper permissions. >> An error occurred while attempting to commit your command for processing. >> >> I read the FAQ here: >> http://www.nagios.org/faqs/viewfaq.php?faq_id=58&expand=false&showdesc=false >> >> and followed the instructions here: >> http://nagios.sourceforge.net/docs/2_0/commandfile.html >> >> and have these file permissions: >> >> # ls -ld /usr/local/nagios/var/rw >> drwxrwsr-x 2 nagios nagcmd 4096 Dec 12 16:49 /usr/local/nagios/var/rw >> >> # ls -l /usr/local/nagios/var/rw >> prw-rw---- 1 nagios nagcmd 0 Dec 12 16:15 nagios.cmd >> >> Note that if I disable the system firewall there is no error. >> I won't get into much detail on the firewall side (building a local >> policy file), because >> I'd like to know whether there is a simpler, better solution to this. >> >> thanks in advanced. >> ~af > > To add more info: > > I have the account and group set as shown here. > > # grep nag /etc/passwd > nagios:x:501:501::/home/nagios:/bin/bash > > # grep nag /etc/group > nagios:x:501: > nagcmd:x:502:nagios,apache > > pretty much that's how it's outlined in the documentation. > ~af Does anyone have information about my question? Why does nagios fails to schedule commands when the firewall is running? thanks. ~af ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshanker at usgs.gov Mon Dec 15 18:54:43 2008 From: mshanker at usgs.gov (Matthew Shanker) Date: Mon, 15 Dec 2008 10:54:43 -0700 Subject: Servicegroups and web interface In-Reply-To: References: <4942B76B.2040802@usgs.gov> Message-ID: <494699E3.9000600@usgs.gov> Jon Angliss wrote: > On Fri, 12 Dec 2008 12:11:39 -0700, Matthew Shanker > wrote: > > >> I'm having what I think is some sort of permissions issue but I can't >> put my finger on it. I've got a situation where I've got an empty >> servicegroup that shows up in the web interface. As soon as I add the >> servicegroups line to the definition shown below the servicegroup >> dissapears from the web interface. The web interface is configured with >> authentication using a default user 'nagios' that is set for all >> hosts/services. >> >> define service { >> use important-service >> >> hostgroups linux-servers,linux-desktops,!legacy-systems >> service_description NFS >> check_command check_nfs_by_ssh >> +servicegroups file-shares >> } >> > > > What version of nagios are you using? Should the "hostgroups" not be > "hostgroup_name", at least that is how it's being documented in the > manual for 3.x. Are you defining the line with a + at the beginning, > or is that a diff showing what you've added? > > I am using Nagios 3.0.5 having migrated our configuration from 2.x. I just updated hostgroups to hostgroup_name in our services (though why it's still hostgroups for a host is strange). The + at the beginning of the line was a diff showing the line that when I add it to the configuration file the service group is no longer displayed in the web interface. Matt Shanker ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Dec 15 19:42:13 2008 From: bjlockie at lockie.ca (James) Date: Mon, 15 Dec 2008 13:42:13 -0500 (EST) Subject: service notifications for host down Message-ID: <7ad470c5b648f9753e81ddd6707ff9af.squirrel@www.lockie.ca> Why would I get service notifications for a host that is down? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 15 19:49:05 2008 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2008 12:49:05 -0600 Subject: Error: Could not open command file 'nagios.cmd' for update! In-Reply-To: <3d22fc520812150948y606aee9dg36691e58ae0b6a29@mail.gmail.com> References: <3d22fc520812121702v348b21cds279c6308f3ce3774@mail.gmail.com> <3d22fc520812121747o564f86c5l26ebd1e4a77dc704@mail.gmail.com> <3d22fc520812150948y606aee9dg36691e58ae0b6a29@mail.gmail.com> Message-ID: On Dec 15, 2008, at 11:48 AM, Aldo Foot wrote: > > Does anyone have information about my question? > Why does nagios fails to schedule commands when the firewall is > running? Since firewalls operate on network traffic to and from the nagios machine, it can have no impact whatsoever on nagios ability to receive an external command submitted through the CGI's (a local disk write). Do you mean SELinux instead? The Fedora Quick Start guide, list archives, http://nagioscommunity.org and Googleing for 'nagios selinux' should all yield useful information on policy changes. If none of the above are useful or match your situation, you'll need to provide more specific information about your problem. What _exactly_ happens. What _exactly_ are you disabling to make it work? -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Mon Dec 15 19:59:20 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 15 Dec 2008 18:59:20 +0000 Subject: service notifications for host down In-Reply-To: <7ad470c5b648f9753e81ddd6707ff9af.squirrel@www.lockie.ca> References: <7ad470c5b648f9753e81ddd6707ff9af.squirrel@www.lockie.ca> Message-ID: <4946A908.8040302@networkmail.eu> Hi James, Does your host appear as down in Nagios? If not, your host's check_command may be returning inaccurate information (telling Nagios it's up when it's actually down.) Andy James wrote: > Why would I get service notifications for a host that is down? > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-lists at networkmail.eu Mon Dec 15 20:08:23 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 15 Dec 2008 19:08:23 +0000 Subject: info on nagios In-Reply-To: References: <494635B3.10607@networkmail.eu> Message-ID: <4946AB27.2000704@networkmail.eu> Please remember to "Reply to All" so the list can see your replies and provide future information for people searching the archives. Nagios will do what you want. Like Marc said, no proxy is required - just network access between the Nagios monitoring server and the clients you want to monitor. There are a few ways you could achieve this, each with their own benefits. - Run an SNMP agent on your remote clients, then you can monitor the clients and the routers in the same way from your Nagios machine (active) - Run NRPE on the servers/PCs at the remote location, then Nagios can communicate directly with them to execute the commands (active) - Run NCSA on the servers/PCs at the remote location, which will submit the check results to Nagios (passive) Or, as Marc alluded to, you could also set up a Nagios server at your local location, and one at your remote location. Your remote Nagios server will query the clients at its end (remote; using one of the above methods) then submit the check results back to the Nagios server at your local location, which in turn could query the clients at its end (local) too. Hope this helps, Andy Mario Almeida wrote: > Thanks for the reply > > my setup > > Local Location -> firewall -> router -> --512mb pvt lease line-- -> > router -> firewall -> Remote Location > > Local Location:- > Monitoring Server and all the clients to be > monitored > > Remote Location:- > Monitoring Proxy Server and all the > clients to be monitored. > > The monitoring proxy server should collect the data from all the > clients and send it to the Monitoring Server which is located at the > Local Location. > > The monitoring server and monitoring proxy server at the remote > location will be connected, monitoring server will not connect > directly to the clients at the remote location. > > Hope i have made my self clear > > Regards, > Remy > > > On Mon, Dec 15, 2008 at 2:47 PM, Andy Shellam > wrote: > > You can use NRPE on remote servers to be monitored from a central > Nagios server, yes. > > If you need any more information we'll need more explanation from > you about what it is you'd like to do. > > Thanks, > Andy > > Mario Almeida wrote: > > Hi All, > > I am new to Nagios. > > would like to know if Nagios have a proxy to monitor the > remote location > > Regards, > Remy > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las > Vegas, Nevada. > The future of the web can't happen without you. Join us at > MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. ::: Messages without supporting info > will risk being sent to /dev/null > > > > > > -- > With Warm Regards, > Remy, > Linux System Administrator > C: 00971508643912 > > "The difference between school and life? In school, you're taught a > lesson and then given a test. In life, you're given a test that > teaches you a lesson." > > "In love, it is better to know and be disappointed, than to not know > and always wonder." ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epearce at amberpoint.com Mon Dec 15 20:11:38 2008 From: epearce at amberpoint.com (Eric Pearce) Date: Mon, 15 Dec 2008 11:11:38 -0800 Subject: launching ssh session via action_url (or other mechanism) References: <49458E9F.5000803@networkmail.eu> Message-ID: <540D5A77C0104C37AEE90573316845D0@edgility.com> Good tip. I also found a useful utility on the MSDN link, http://www.codeplex.com/customurl I used CustomURL to set up both "ssh://" and "rdp://" (remote desktop) protocols for broswers and I have verified that it works for both IE and Firefox. This enables me to do the following: action_url ssh://linuxserver and action_url rdp://windowserver Now I can click on the "Extra Host Action" icon without knowing the connection method in advance. Thanks again -e ----- Original Message ----- From: "Andy Shellam" To: "Eric Pearce" Cc: Sent: Sunday, December 14, 2008 2:54 PM Subject: Re: [Nagios-users] launching ssh session via action_url (or other mechanism) > Hi Eric, > > I'm not sure if PuTTY or other SSH clients support the ssh:// URL handler > directly, but if not you can add it yourself. See the MSDN documentation > at the URL below. You could add a protocol handler for the "ssh://" > protocol, then if you put "ssh://192.168.0.1" as your URL in Nagios, the > client PC will launch the application you put in the registry and pass it > "192.168.0.1" as the "%1" argument. > > http://msdn.microsoft.com/en-us/library/aa767914.aspx > > E.g. your "shell open command" for PuTTY would be something like: > "C:\|putty.exe" -ssh "%1"| > > I've done a similar thing with an application I manage at work and it was > really easy. The only downside is the registry has to be updated on every > PC, but you could export the registry key as a .reg file and pass it > around to those who need it. > > I believe it's a system-wide thing, so it should work in Firefox as well, > but don't quote me on it. > > Regards, > Andy > > Eric Pearce wrote: >> I'd like to be able click on the link presented by action_url in the >> Nagios display or $HOSTACTIONURL$ in a notfication email and have it open >> a SSH session to the host in question. >> I found several people saying this is possible in the mailing list >> archives, but I don't see any detailed examples or instructions. I'm >> not a java programmer. >> I don't think the IE-specific telnet:// registry hack is good enough - I >> want to be able to use Firefox as well. >> I'm running nagios 3.0.6 and 1.4.13 plugins >> Thanks for any pointers. >> -e >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >> Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tabmow99 at gmail.com Mon Dec 15 22:01:16 2008 From: tabmow99 at gmail.com (Craig A) Date: Mon, 15 Dec 2008 16:01:16 -0500 Subject: monitor cpu usage... Message-ID: Hi all, I've looked at the documentation, at the mailling lists, and googled around, and don't explicitly see it so thought i'd try here.... On our system, I've set up nagios and it's monitoring a few things (http, etc) just fine. However, one of our applications is giving us grief and sometimes starts consuming >80% of a cpu (it's a quad-core machine). So i'd like to set up a monitor to see how often this happens and to get notified. Looking around, it seems like 'check_procs' with the CPU metric should do what i want. However, it doesn't seem to behave quite as I'd expect. If I look at 'top' on this linux system, for our 'problem' application, i see this (and it will be constant like this for > 1 hour): * PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 20022 ourapp 18 0 1428m 1.0g 13m S 104 25.7 442:18.39 java* So when I run this command, I'd expect to see 1 process flagged: *[root at ours libexec]# ./check_procs -w 10 -c 20 --metric=CPU CPU OK: 173 processes * I've tried adding the '-u' flag but made no difference. Is there something I'm missing if I want to capture and be notified when a process goes above a certain CPU usuage (ie. 80%)? Any help or information you could provide would be appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Mon Dec 15 23:45:42 2008 From: jbroughton at truecos.com (Jayson Broughton) Date: Mon, 15 Dec 2008 15:45:42 -0700 Subject: monitor cpu usage... In-Reply-To: References: Message-ID: <00f501c95f06$de0ebc80$9a2c3580$@com> How about the -C flag? ./check_proc -w 10 -c 20 -C ApplicationName -metric=CPU ~Jayson From: Craig A [mailto:tabmow99 at gmail.com] Sent: Monday, December 15, 2008 2:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitor cpu usage... Hi all, I've looked at the documentation, at the mailling lists, and googled around, and don't explicitly see it so thought i'd try here.... On our system, I've set up nagios and it's monitoring a few things (http, etc) just fine. However, one of our applications is giving us grief and sometimes starts consuming >80% of a cpu (it's a quad-core machine). So i'd like to set up a monitor to see how often this happens and to get notified. Looking around, it seems like 'check_procs' with the CPU metric should do what i want. However, it doesn't seem to behave quite as I'd expect. If I look at 'top' on this linux system, for our 'problem' application, i see this (and it will be constant like this for > 1 hour): PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 20022 ourapp 18 0 1428m 1.0g 13m S 104 25.7 442:18.39 java So when I run this command, I'd expect to see 1 process flagged: [root at ours libexec]# ./check_procs -w 10 -c 20 --metric=CPU CPU OK: 173 processes I've tried adding the '-u' flag but made no difference. Is there something I'm missing if I want to capture and be notified when a process goes above a certain CPU usuage (ie. 80%)? Any help or information you could provide would be appreciated. Thanks The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 16 01:05:51 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 16 Dec 2008 01:05:51 +0100 Subject: Last Check Time Issue In-Reply-To: <57F018B226E004449B318DAF71A60146566B1149D4@IO-SCD-EX-M-01.corp.iodatacenters.com> References: <57F018B226E004449B318DAF71A60146566B11483E@IO-SCD-EX-M-01.corp.iodatacenters.com> <4944BB6E.4090409@vanderkooij.org> <57F018B226E004449B318DAF71A60146566B1149D4@IO-SCD-EX-M-01.corp.iodatacenters.com> Message-ID: <4946F0DF.10503@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Calhoun, Matthew wrote: > Hugo, > > If that were the case, then this service should have a "Last Check Date" of never, as it has always been passive. It is just lagging behind by a few hours.... Have you verified this in the logs? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJRvDdBvzDRVjxmYERAu2hAKCfZAimIvLVGI1oA8RiBmxC8U2MJQCgha26 VGS3w7N6/b77ytLqOixFA4s= =nykN -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 16 01:09:27 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 16 Dec 2008 01:09:27 +0100 Subject: service notifications for host down In-Reply-To: <4946A908.8040302@networkmail.eu> References: <7ad470c5b648f9753e81ddd6707ff9af.squirrel@www.lockie.ca> <4946A908.8040302@networkmail.eu> Message-ID: <4946F1B7.5010609@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy Shellam wrote: > Hi James, > > Does your host appear as down in Nagios? If not, your host's > check_command may be returning inaccurate information (telling Nagios > it's up when it's actually down.) Or .... The service check reaches a hard state before the host check does. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJRvG1BvzDRVjxmYERAh2lAJ0VaFc4Rib3IhioHuG4s9YAVOpCqQCeLquY iDPmO21NkQ8r78x3vxeZZMY= =w4gY -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tabmow99 at gmail.com Tue Dec 16 01:25:12 2008 From: tabmow99 at gmail.com (Craig A) Date: Mon, 15 Dec 2008 19:25:12 -0500 Subject: monitor cpu usage... In-Reply-To: <00f501c95f06$de0ebc80$9a2c3580$@com> References: <00f501c95f06$de0ebc80$9a2c3580$@com> Message-ID: Hi Jayson, Thanks for the suggestion but '-C' just limited it to the 4 processes that I'm interested in, but it still says "OK". Reducing "-w" to "1" is the only way i can get a warning out.... even though top is still showing the offending process pinned around 100% and it's not yo-yo'ing..... On Mon, Dec 15, 2008 at 5:45 PM, Jayson Broughton wrote: > How about the ?C flag? > > > > ./check_proc ?w 10 ?c 20 ?C *ApplicationName *?metric=CPU > > > > ~Jayson > > > > > > *From:* Craig A [mailto:tabmow99 at gmail.com] > *Sent:* Monday, December 15, 2008 2:01 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] monitor cpu usage... > > > > Hi all, > I've looked at the documentation, at the mailling lists, and googled > around, and don't explicitly see it so thought i'd try here.... > > On our system, I've set up nagios and it's monitoring a few things (http, > etc) just fine. However, one of our applications is giving us grief and > sometimes starts consuming >80% of a cpu (it's a quad-core machine). So > i'd like to set up a monitor to see how often this happens and to get > notified. Looking around, it seems like 'check_procs' with the CPU metric > should do what i want. > > However, it doesn't seem to behave quite as I'd expect. If I look at > 'top' on this linux system, for our 'problem' application, i see this (and > it will be constant like this for > 1 hour): > * > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 20022 ourapp 18 0 1428m 1.0g 13m S 104 25.7 442:18.39 java* > > > So when I run this command, I'd expect to see 1 process flagged: > > *[root at ours libexec]# ./check_procs -w 10 -c 20 --metric=CPU > CPU OK: 173 processes > * > > I've tried adding the '-u' flag but made no difference. Is there something > I'm missing if I want to capture and be notified when a process goes above a > certain CPU usuage (ie. 80%)? > Any help or information you could provide would be appreciated. > > Thanks > The information in this electronic mail message and any attached files is > confidential and may be legally privileged. If you are not the intended > recipient, delete this message and contact the sender immediately. Access to > this message by anyone other than its intended recipient is unauthorized. > You must not use or disseminate this information as it is proprietary > property of the True companies. Communications on or through the True > companies' computer systems may be monitored or recorded to secure effective > system operation and for other lawful purposes. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Tue Dec 16 10:58:58 2008 From: hir3npatel at gmail.com (hiren) Date: Tue, 16 Dec 2008 11:58:58 +0200 Subject: monitor cpu usage... In-Reply-To: References: <00f501c95f06$de0ebc80$9a2c3580$@com> Message-ID: <1229421538.6806.2.camel@firebird> On Mon, 2008-12-15 at 19:25 -0500, Craig A wrote: > Hi Jayson, > Thanks for the suggestion but '-C' just limited it to the 4 > processes that I'm interested in, but it still says "OK". Reducing > "-w" to "1" is the only way i can get a warning out.... even though > top is still showing the offending process pinned around 100% and it's > not yo-yo'ing..... > > On Mon, Dec 15, 2008 at 5:45 PM, Jayson Broughton > wrote: > How about the ?C flag? > > > > ./check_proc ?w 10 ?c 20 ?C ApplicationName?metric=CPU > > > > ~Jayson > could you perhaps paste relevant pieces of check_proc using -vvv? just out of interest, how did you install nagios-plugins on this host? package or compiled? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SRPandey at relianceglobalcom.com Tue Dec 16 11:12:50 2008 From: SRPandey at relianceglobalcom.com (Pandey, Sudhakar R) Date: Tue, 16 Dec 2008 10:12:50 -0000 Subject: Error in Commit Message-ID: Hi there, I am getting the following error while doing running the commit command on Nagios: Could not stat command file () Usr/local/Nagios/var/rw/Nagios.cmd Best Regards OLE_LINK6OLE_LINK5Sudhakar Pandey Reliance Globalcom Ltd E-Block , 2nd floor, Wing A, DAKC, Navi Mumbai, Direct: +9122-30384447 | Mobile: +91-9322886578 Email: srpandey at relianceglobalcom.com | URL: www.relianceglobalcom.com Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4452 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: oledata.mso Type: application/octet-stream Size: 5215 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ankit.mehrotra at tcs.com Tue Dec 16 11:52:04 2008 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Tue, 16 Dec 2008 16:22:04 +0530 Subject: Error in Commit In-Reply-To: References: Message-ID: Hi, This happens because of the permission and ownership issue of the nagios pipe file (/usr/local/Nagios/var/rw/nagios.cmd). Change the permissions and ownership to 766 and ownership to nagios.nagios. This should resolve your problem Thanks Ankit Arun Mehrotra "Pandey, Sudhakar R" 12/16/2008 03:42 PM To "'nagios-users at lists.sourceforge.net'" cc Subject [Nagios-users] Error in Commit Hi there, I am getting the following error while doing running the commit command on Nagios: Could not stat command file () Usr/local/Nagios/var/rw/Nagios.cmd Best Regards Sudhakar Pandey Reliance Globalcom Ltd E-Block , 2nd floor, Wing A, DAKC, Navi Mumbai, Direct: +9122-30384447 | Mobile: +91-9322886578 Email: srpandey at relianceglobalcom.com | URL: www.relianceglobalcom.com Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT0002EF1A =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 4452 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: oledata.mso Type: application/octet-stream Size: 5215 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4452 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From n.colin at neopost.com Tue Dec 16 12:06:33 2008 From: n.colin at neopost.com (COLIN Nicolas) Date: Tue, 16 Dec 2008 12:06:33 +0100 Subject: PROCESS_SERVICE_CHECK_RESULT : formating plugin_output Message-ID: <3D3836B6D4B73F4891E5B2B0F9ECE1C00621BFCC@S02008.neopost.grp> Hi List, When using "PROCESS_SERVICE_CHECK_RESULT", is it possible to insert a [new line] character in the ? I have different lines to put in Nagios and it is not very clear when they are aggregated. In "Status Information" instead of : quantite-date-min 60 --- /global/routing/share/data/ComServer/ftp/.*/.*/*.* --- 1 quantite-date-min 10 --- /global/routing/share/data/pcneopost/CND/.*/.*/.*/.*/EMIS/*.* --- 47 I would like to have : quantite-date-min 60 --- /global/routing/share/data/ComServer/ftp/.*/.*/*.* --- 1 quantite-date-min 10 --- /global/routing/share/data/pcneopost/CND/.*/.*/.*/.*/EMIS/*.* --- 47 I would also like to align column, for example with [tab] character (instead of my "---" as column separators). Of course, I tried to use "\n" or "\t" or even "
" but it does not work. Thank you for your help. Regard, Nicolas COLIN. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Tue Dec 16 14:12:31 2008 From: ralf.prengel at comline.de (Ralf Prengel) Date: Tue, 16 Dec 2008 14:12:31 +0100 Subject: best way to analyse traffic on a network-device Message-ID: <4947A93F.2050602@comline.de> Hallo, what is the best way to analyse traffic on a network-device. I need graphs with average-values in Kb like mrtg is building. Using snmp and/ or new plugins is possible. -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel at comline.de -- www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tabmow99 at gmail.com Tue Dec 16 15:32:45 2008 From: tabmow99 at gmail.com (Craig A) Date: Tue, 16 Dec 2008 09:32:45 -0500 Subject: monitor cpu usage... In-Reply-To: <1229421538.6806.2.camel@firebird> References: <00f501c95f06$de0ebc80$9a2c3580$@com> <1229421538.6806.2.camel@firebird> Message-ID: > > could you perhaps paste relevant pieces of check_proc using -vvv? > just out of interest, how did you install nagios-plugins on this host? > package or compiled? > > > Hmm, that's interesting - i didn't know about '-vvv' - lots of useful info there. Nagios-plugins on this host was compiled. By this time, our offending process (a jvm) is now behaving normally and has stopped consuming 100% constantly. But when we stress the server manually, if I watch 'top', i can see % CPU for that process go above 60% for several seconds (ie. if i hit 'space bar' for 2-3 seconds, it's pinned at 60% for a few seconds, then it goes back to normal {ie. < 1%}). But if i constantly run 'check_procs' (as a dummy test, i threw it in a loop and had it run 100 times with no sleep and log the results), it still doesn't view the java process as above 0%... If i try exactly the same thing (running check_procs 100 times) with a non-jvm process (ie. i used '-C top' and then hit space bar to push top above 20% usage), check_procs reports properly. Any idea why I'd be getting this descrepancy? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at conundrum.com Tue Dec 16 16:24:10 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Tue, 16 Dec 2008 10:24:10 -0500 Subject: Only hard status on tactical display? Message-ID: My tactical display gets posted on a large monitor in the office which is visible to all staff. Since the tactical display shows every soft warning or critical state, I often get questions about "what's broken?" when we've merely lost a single UDP packet while testing a DNS server, or something similarly innocuous. I'm considering modifying tac.cgi so that it only displays warning or critical HARD statuses, and not SOFT. I did a few searches on nagios exchange and didn't find anything already there... but thought I'd ask to avoid re- inventing the wheel: has anyone done this before that wants to share code? If I don't hear back from anyone I'll go ahead and try to do this myself. If successful I'll share the diff back to the list. Cheers, Matt -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Tue Dec 16 16:57:26 2008 From: scarolan at gmail.com (Sean Carolan) Date: Tue, 16 Dec 2008 09:57:26 -0600 Subject: check_http negative matching Message-ID: <277020fc0812160757t77304ab8ud07b4013f76dcd52@mail.gmail.com> I have a particular web page that I would like to monitor for the word "ERROR". It should be a negative match, so that if the word is found an alert is sent. The normal behavior of his monitor is to alert if the search string is not found. How do I reverse this? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 16 17:28:33 2008 From: marc at ena.com (Marc Powell) Date: Tue, 16 Dec 2008 10:28:33 -0600 Subject: check_http negative matching In-Reply-To: <277020fc0812160757t77304ab8ud07b4013f76dcd52@mail.gmail.com> References: <277020fc0812160757t77304ab8ud07b4013f76dcd52@mail.gmail.com> Message-ID: <12077CCF-12E6-4E54-8DD1-E4F4906D7EE2@ena.com> On Dec 16, 2008, at 9:57 AM, Sean Carolan wrote: > I have a particular web page that I would like to monitor for the word > "ERROR". It should be a negative match, so that if the word is found > an alert is sent. The normal behavior of his monitor is to alert if > the search string is not found. How do I reverse this? With the negate plugin. $ ./negate --help negate v1859 (nagios-plugins 1.4.11) Copyright (c) 2002-2007 Nagios Plugin Development Team Negates the status of a plugin (returns OK for CRITICAL and vice-versa). Additional switches can be used to control which state becomes what. Usage:negate [-t timeout] [-owcu STATE] Options: [chopped] Examples: negate /usr/local/nagios/libexec/check_ping -H host Run check_ping and invert result. Must use full path to plugin negate -w OK -c UNKNOWN /usr/local/nagios/libexec/check_procs -a 'vi negate.c' This will return OK instead of WARNING and UNKNOWN instead of CRITICAL Notes: This plugin is a wrapper to take the output of another plugin and invert it. The full path of the plugin must be provided. If the wrapped plugin returns OK, the wrapper will return CRITICAL. If the wrapped plugin returns CRITICAL, the wrapper will return OK. Otherwise, the output state of the wrapped plugin is unchanged. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Tue Dec 16 17:51:21 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Tue, 16 Dec 2008 08:51:21 -0800 (PST) Subject: Nagios Admin pages Message-ID: <518467.74212.qm@web81803.mail.mud.yahoo.com> Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Tue Dec 16 17:54:24 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 16 Dec 2008 11:54:24 -0500 Subject: check_http negative matching In-Reply-To: <12077CCF-12E6-4E54-8DD1-E4F4906D7EE2@ena.com> References: <277020fc0812160757t77304ab8ud07b4013f76dcd52@mail.gmail.com> <12077CCF-12E6-4E54-8DD1-E4F4906D7EE2@ena.com> Message-ID: <4947DD40.3060601@collaborativefusion.com> Marc Powell wrote: > On Dec 16, 2008, at 9:57 AM, Sean Carolan wrote: > > >> I have a particular web page that I would like to monitor for the word >> "ERROR". It should be a negative match, so that if the word is found >> an alert is sent. The normal behavior of his monitor is to alert if >> the search string is not found. How do I reverse this? >> > > With the negate plugin. > check_http already includes this functionality via the --invert-regex flag: -r, --regex, --ereg=STRING Search page for regex STRING -R, --eregi=STRING Search page for case-insensitive regex STRING --invert-regex Return CRITICAL if found, OK if not -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 16 17:59:34 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 16 Dec 2008 07:59:34 -0900 Subject: best way to analyse traffic on a network-device In-Reply-To: <4947A93F.2050602@comline.de> References: <4947A93F.2050602@comline.de> Message-ID: <243C315B-85A2-4F35-A7FA-C91C617CD9FF@frontierflying.com> Why not just use MRTG, if you need graphs like it makes? Or am I mis- understanding the question? If you want to monitor the values in nagios, there are plugins in the standard distribution that check MRTG log files for the current traffic values. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Dec 16, 2008, at 4:12 AM, Ralf Prengel wrote: > Hallo, > > what is the best way to analyse traffic on a network-device. > I need graphs with average-values in Kb like mrtg is building. > Using snmp and/ or new plugins is possible. > > -- > i.A. Ralf Prengel > Customer Care Manager > Comline AG > Hauert 8 > D-44227 Dortmund/Germany > > Fon +49231 97575- 904 > Fax +49231 97575- 905 > EMail ralf.prengel at comline.de > > > -- > www.comline.de > Vorstand Stephan Schilling, Erwin Leonhardi > Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 > USt.-ID-Nr. DE 124727422 > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Tue Dec 16 18:08:21 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 16 Dec 2008 12:08:21 -0500 Subject: Nagios Admin pages In-Reply-To: <518467.74212.qm@web81803.mail.mud.yahoo.com> References: <518467.74212.qm@web81803.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CE5B@buf-ex01.cymfony.com> start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thecajun at nmia.com Tue Dec 16 18:16:43 2008 From: thecajun at nmia.com (TheCajun) Date: Tue, 16 Dec 2008 10:16:43 -0700 Subject: Nagios and Festival Message-ID: <20081216100623.3C19.E57E4DAE@nmia.com> I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. I have Nagios working using my old configuration from Fedora9. But when a monitored service has a problem, I get no audio. Log shows this.. Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. If I su to nagios user and use festival directly, I get this.. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Festival does work as root, and I can play music using xmms logged on as my normal user. During my searches, it was suggested to add nagios to certain pulseaudio groups which I did. This did nothing. Any one have any ideas? Thank you for any help. Durwin ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thecajun at nmia.com Tue Dec 16 18:46:45 2008 From: thecajun at nmia.com (TheCajun) Date: Tue, 16 Dec 2008 10:46:45 -0700 Subject: Nagios and Festival In-Reply-To: <4947E809.7040407@ha-solutions.net> References: <20081216100623.3C19.E57E4DAE@nmia.com> <4947E809.7040407@ha-solutions.net> Message-ID: <20081216104354.A247.E57E4DAE@nmia.com> > TheCajun wrote: > > I have recently upgraded to Fedora10. It seems every release they > > decide to break something. Fedora9 was Video. > > > > I have Nagios working using my old configuration from Fedora9. But when > > a monitored service has a problem, I get no audio. Log shows this.. > > > > Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify > > Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 > > Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 > > Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > > Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. > > Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > > Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. > > > > > > If I su to nagios user and use festival directly, I get this.. > > > > I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > > I: caps.c: Dropping root privileges. > > I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > > > > > > Festival does work as root, and I can play music using xmms logged on as > > my normal user. > > > > During my searches, it was suggested to add nagios to certain pulseaudio > > groups which I did. This did nothing. > > > > Any one have any ideas? > > > > Thank you for any help. > > > > Durwin > > > > ------------------------------------------------------------------------------ > > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > > The future of the web can't happen without you. Join us at MIX09 to help > > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group > accordingly. maybe they changed perms on you...lowlife bastards ;( > Both /dev/dsp and /dev/audio are 660 and user and group are both root. Isn't that as it should be? Isn't Pulseaudio suppose to interface with the hardware and not the individual processes? -- reality.sys corrupted. universe halted. reboot (y/n)? TheCajun ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Tue Dec 16 19:03:08 2008 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 16 Dec 2008 12:03:08 -0600 Subject: Nagios and Festival In-Reply-To: <20081216104354.A247.E57E4DAE@nmia.com> References: <20081216100623.3C19.E57E4DAE@nmia.com> <4947E809.7040407@ha-solutions.net> <20081216104354.A247.E57E4DAE@nmia.com> Message-ID: <4947ED5C.9070409@ha-solutions.net> TheCajun wrote: >> TheCajun wrote: >>> I have recently upgraded to Fedora10. It seems every release they >>> decide to break something. Fedora9 was Video. >>> >>> I have Nagios working using my old configuration from Fedora9. But when >>> a monitored service has a problem, I get no audio. Log shows this.. >>> >>> Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify >>> Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 >>> Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 >>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied >>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. >>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied >>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. >>> >>> >>> If I su to nagios user and use festival directly, I get this.. >>> >>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. >>> I: caps.c: Dropping root privileges. >>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. >>> >>> >>> Festival does work as root, and I can play music using xmms logged on as >>> my normal user. >>> >>> During my searches, it was suggested to add nagios to certain pulseaudio >>> groups which I did. This did nothing. >>> >>> Any one have any ideas? >>> >>> Thank you for any help. >>> >>> Durwin >>> >>> ------------------------------------------------------------------------------ >>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >>> The future of the web can't happen without you. Join us at MIX09 to help >>> pave the way to the Next Web now. Learn more and register at >>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group >> accordingly. maybe they changed perms on you...lowlife bastards ;( >> > Both /dev/dsp and /dev/audio are 660 and user and group are both root. > Isn't that as it should be? Isn't Pulseaudio suppose to interface with > the hardware and not the individual processes? > i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group user and see it that works....... ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Tue Dec 16 19:14:59 2008 From: jbroughton at truecos.com (Jayson Broughton) Date: Tue, 16 Dec 2008 11:14:59 -0700 Subject: best way to analyse traffic on a network-device In-Reply-To: <4947A93F.2050602@comline.de> References: <4947A93F.2050602@comline.de> Message-ID: <015601c95faa$36d704f0$a4850ed0$@com> We use Cacti to analyze traffic information on a network device. Actually, we use it to monitor and analyze all network traffic on ports on our switches. I know in the past that Cacti and Nagios have gone hand in hand when it comes to monitoring with either tool. Here's a very short bit on cacti/nagios from the nagioswiki page. I don't know what other people do, but I have cacti running on the same server as nagios. http://nagioswiki.com/wiki/index.php/Cacti and cacti's website: http://cacti.net If you want to integrate cacti with nagios, there seems to be a-few plugins on nagiosexchange.org for cacti-nagios integration. This one looks promising: C2n - Cacti to Nagios c2n.cgi is a filter/wrapper for the frontend of Cacti to include it in Nagios. It includes the Cacti interface in the right frame of the Nagios web interface. It filters out any possiblity to switch from one host to another using cacti menus. Therefore the authentication system of Nagios will take place and the authentication system of Cacti is unused. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2743.html;d=1 ~Jayson Jayson Broughton Linux Systems Administrator True Oil Companies jbroughton at truecos.com -----Original Message----- From: Ralf Prengel [mailto:ralf.prengel at comline.de] Sent: Tuesday, December 16, 2008 6:13 AM To: nagios-user Mailinglist Subject: [Nagios-users] best way to analyse traffic on a network-device Hallo, what is the best way to analyse traffic on a network-device. I need graphs with average-values in Kb like mrtg is building. Using snmp and/ or new plugins is possible. -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel at comline.de -- www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 ---------------------------------------------------------------------------- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Tue Dec 16 19:32:22 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Tue, 16 Dec 2008 10:32:22 -0800 (PST) Subject: Nagios Admin pages Message-ID: <183911.59230.qm@web81805.mail.mud.yahoo.com> Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thecajun at nmia.com Tue Dec 16 20:01:21 2008 From: thecajun at nmia.com (TheCajun) Date: Tue, 16 Dec 2008 12:01:21 -0700 Subject: Nagios and Festival In-Reply-To: <4947ED5C.9070409@ha-solutions.net> References: <20081216104354.A247.E57E4DAE@nmia.com> <4947ED5C.9070409@ha-solutions.net> Message-ID: <20081216115824.8B38.E57E4DAE@nmia.com> > TheCajun wrote: > >> TheCajun wrote: > >>> I have recently upgraded to Fedora10. It seems every release they > >>> decide to break something. Fedora9 was Video. > >>> > >>> I have Nagios working using my old configuration from Fedora9. But when > >>> a monitored service has a problem, I get no audio. Log shows this.. > >>> > >>> Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify > >>> Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 > >>> Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 > >>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > >>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. > >>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > >>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. > >>> > >>> > >>> If I su to nagios user and use festival directly, I get this.. > >>> > >>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > >>> I: caps.c: Dropping root privileges. > >>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > >>> > >>> > >>> Festival does work as root, and I can play music using xmms logged on as > >>> my normal user. > >>> > >>> During my searches, it was suggested to add nagios to certain pulseaudio > >>> groups which I did. This did nothing. > >>> > >>> Any one have any ideas? > >>> > >>> Thank you for any help. > >>> > >>> Durwin > >>> > >>> ------------------------------------------------------------------------------ > >>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > >>> The future of the web can't happen without you. Join us at MIX09 to help > >>> pave the way to the Next Web now. Learn more and register at > >>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group > >> accordingly. maybe they changed perms on you...lowlife bastards ;( > >> > > Both /dev/dsp and /dev/audio are 660 and user and group are both root. > > Isn't that as it should be? Isn't Pulseaudio suppose to interface with > > the hardware and not the individual processes? > > > > i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group user and see it that > works....... > I tried setting attributes to 666 and setting user/group to nagios:nagios. Did not work. However, even after returning things back to what they were, I stopped getting the error when su'ed to nagios. But still do not get voice. The log shows this. Dec 16 11:56:13 localhost pulseaudio[3135]: main.c: High-priority scheduling enabled in configuration but not allowed by policy. Dec 16 11:56:13 localhost pulseaudio[3135]: core-util.c: setpriority(): Permission denied Dec 16 11:56:13 localhost pulseaudio[3137]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 11:56:13 localhost pulseaudio[3137]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. Dec 16 11:56:13 localhost pulseaudio[3137]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 11:56:13 localhost pulseaudio[3137]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Tue Dec 16 20:01:23 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 16 Dec 2008 14:01:23 -0500 Subject: Nagios Admin pages In-Reply-To: <183911.59230.qm@web81805.mail.mud.yahoo.com> References: <183911.59230.qm@web81805.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CE6A@buf-ex01.cymfony.com> It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Tue Dec 16 18:40:25 2008 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 16 Dec 2008 11:40:25 -0600 Subject: Nagios and Festival In-Reply-To: <20081216100623.3C19.E57E4DAE@nmia.com> References: <20081216100623.3C19.E57E4DAE@nmia.com> Message-ID: <4947E809.7040407@ha-solutions.net> TheCajun wrote: > I have recently upgraded to Fedora10. It seems every release they > decide to break something. Fedora9 was Video. > > I have Nagios working using my old configuration from Fedora9. But when > a monitored service has a problem, I get no audio. Log shows this.. > > Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify > Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 > Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 > Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. > Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. > > > If I su to nagios user and use festival directly, I get this.. > > I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > I: caps.c: Dropping root privileges. > I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > > > Festival does work as root, and I can play music using xmms logged on as > my normal user. > > During my searches, it was suggested to add nagios to certain pulseaudio > groups which I did. This did nothing. > > Any one have any ideas? > > Thank you for any help. > > Durwin > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group accordingly. maybe they changed perms on you...lowlife bastards ;( ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Tue Dec 16 21:25:46 2008 From: ralf.prengel at comline.de (ralf.prengel at comline.de) Date: Tue, 16 Dec 2008 21:25:46 +0100 Subject: best way to analyse traffic on a network-device References: <4947A93F.2050602@comline.de> <243C315B-85A2-4F35-A7FA-C91C617CD9FF@frontierflying.com> Message-ID: <4EE7903AD535384FB00FC53D5ADFD0A01744F9@nuntius.comline.de> -----Urspr?ngliche Nachricht----- Von: Israel Brewster [mailto:israel at frontierflying.com] Gesendet: Di 16.12.2008 17:59 An: Prengel, Ralf Cc: nagios-user Mailinglist Betreff: Re: [Nagios-users] best way to analyse traffic on a network-device Why not just use MRTG, if you need graphs like it makes? Or am I mis- understanding the question? If you want to monitor the values in nagios, there are plugins in the standard distribution that check MRTG log files for the current traffic values. mrtg is ok but I searching a direkt way without installing and configuring one more software. Ralf Prengel ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue Dec 16 21:33:34 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 16 Dec 2008 20:33:34 -0000 Subject: Error in Commit In-Reply-To: References: Message-ID: > Hi there, > I am getting the following error while doing running the commit command on Nagios: > Could not stat command file () > Usr/local/Nagios/var/rw/Nagios.cmd It may also be related to the capitalisation given below. Does it really state "Can't Stat Usr/local/Nagios/var/rw/Nagios.cmd" or "Can't Stat /Usr/local/Nagios/var/rw/Nagios.cmd" It should say "Can't Stat /usr/local/nagios/var/rw/nagios.cmd" (note all lowercase) Unless you have a very strange setup. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Dec 16 21:51:50 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 16 Dec 2008 15:51:50 -0500 Subject: best way to analyse traffic on a network-device In-Reply-To: <4EE7903AD535384FB00FC53D5ADFD0A01744F9@nuntius.comline.de> References: <4947A93F.2050602@comline.de> <243C315B-85A2-4F35-A7FA-C91C617CD9FF@frontierflying.com> <4EE7903AD535384FB00FC53D5ADFD0A01744F9@nuntius.comline.de> Message-ID: On Tue, Dec 16, 2008 at 3:25 PM, wrote: > mrtg is ok but I searching a direkt way without installing and configuring one more software. There are a number of tools that will create Cacti style (RRD) graphs from Nagios perfdata and there are a number of plugins that will retrieve this data. Retrieval using SNMP is a nice way to go. My personal favorite RRD graphing tool for Nagios is PNP http://www.pnp4nagios.org/pnp/start Much easier to build RRD templates (in my opinion) than with Cacti as you edit the templates directly in single files and can be made to scale well for larger installations using the modpnpsender.c NEB module and xinetd mode for the RRD creation/update script process_perfdata.pl .. and one poll gets you fault management and graphing. - Max ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmunger at edison.edu Tue Dec 16 21:45:31 2008 From: bmunger at edison.edu (Brandon Munger) Date: Tue, 16 Dec 2008 15:45:31 -0500 Subject: Nagios-plugins on Solaris 10 with Sun Studio 12 Message-ID: <4948136B.5070405@edison.edu> Hello Nagios Users, I have been attempting to compile Nagios plugins and NRPE with Sun Studio so I can deploy the binaries to a number of machines. I have read the documentation available but I cannot get a successful compile. This command I am using is: CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' --with-ps-cols=10 --with-ps-varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,procetime,procprog,&pos' The make output I get is: Making all in plugins make[2]: Entering directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' source='check_apt.c' object='check_apt.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c "check_apt.c", line 450: warning: dubious escape: \% /bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl Undefined first referenced symbol in file alloca ../gl/libgnu.a(regex.o) ld: fatal: Symbol referencing errors. No output written to check_apt make[2]: *** [check_apt] Error 1 make[2]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13' make: *** [all] Error 2 Thank you for your help. Brandon CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Tue Dec 16 23:01:22 2008 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 16 Dec 2008 16:01:22 -0600 Subject: Nagios and Festival In-Reply-To: <4947ED5C.9070409@ha-solutions.net> References: <20081216100623.3C19.E57E4DAE@nmia.com> <4947E809.7040407@ha-solutions.net> <20081216104354.A247.E57E4DAE@nmia.com> <4947ED5C.9070409@ha-solutions.net> Message-ID: <49482532.7060100@ha-solutions.net> Terry L. Inzauro wrote: > TheCajun wrote: >>> TheCajun wrote: >>>> I have recently upgraded to Fedora10. It seems every release they >>>> decide to break something. Fedora9 was Video. >>>> >>>> I have Nagios working using my old configuration from Fedora9. But when >>>> a monitored service has a problem, I get no audio. Log shows this.. >>>> >>>> Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify >>>> Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 >>>> Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. >>>> >>>> >>>> If I su to nagios user and use festival directly, I get this.. >>>> >>>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. >>>> I: caps.c: Dropping root privileges. >>>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. >>>> >>>> >>>> Festival does work as root, and I can play music using xmms logged on as >>>> my normal user. >>>> >>>> During my searches, it was suggested to add nagios to certain pulseaudio >>>> groups which I did. This did nothing. >>>> >>>> Any one have any ideas? >>>> >>>> Thank you for any help. >>>> >>>> Durwin >>>> >>>> ------------------------------------------------------------------------------ >>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >>>> The future of the web can't happen without you. Join us at MIX09 to help >>>> pave the way to the Next Web now. Learn more and register at >>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group >>> accordingly. maybe they changed perms on you...lowlife bastards ;( >>> >> Both /dev/dsp and /dev/audio are 660 and user and group are both root. >> Isn't that as it should be? Isn't Pulseaudio suppose to interface with >> the hardware and not the individual processes? >> > > i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group user and see it that > works....... > > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null does alsaconf run properly? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 17 00:16:11 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 16 Dec 2008 18:16:11 -0500 (EST) Subject: Nagios and Festival In-Reply-To: <49482532.7060100@ha-solutions.net> References: <20081216100623.3C19.E57E4DAE@nmia.com> <4947E809.7040407@ha-solutions.net> <20081216104354.A247.E57E4DAE@nmia.com> <4947ED5C.9070409@ha-solutions.net> <49482532.7060100@ha-solutions.net> Message-ID: <20081216180221.D10373@arbitor.digitalfreaks.org> >>>>> I have recently upgraded to Fedora10. It seems every release they >>>>> decide to break something. Fedora9 was Video. Actually in FC10 they broke fonts, DRI on the i810, and ACPI. But that's okay, no one puts those chips in laptops. ~BAS ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue Dec 16 22:42:27 2008 From: jpratt at norwich.edu (James Pratt) Date: Tue, 16 Dec 2008 16:42:27 -0500 Subject: Nagios-plugins on Solaris 10 with Sun Studio 12 In-Reply-To: <4948136B.5070405@edison.edu> References: <4948136B.5070405@edison.edu> Message-ID: <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> > >-----Original Message----- > >From: Brandon Munger [mailto:bmunger at edison.edu] > >Sent: Tuesday, December 16, 2008 3:46 PM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 > > > >Hello Nagios Users, > > > >I have been attempting to compile Nagios plugins and NRPE with Sun Studio > >so I can deploy the binaries to a number of machines. I have read the > >documentation available but I cannot get a successful compile. > > > >This command I am using is: > >CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure > >--with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime > >comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' > >--with-ps-cols=10 > >--with-ps- > >varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,pr > >ocetime,procprog,&pos' > > > > > >The make output I get is: > >Making all in plugins > >make[2]: Entering directory > >`/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' > >source='check_apt.c' object='check_apt.o' libtool=no \ > > DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ > > cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > >-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl > >-I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c > >"check_apt.c", line 450: warning: dubious escape: \% > >/bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL > >-DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o > >../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl > >cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o > >runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins > >../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl > >Undefined first referenced > > symbol in file > >alloca ../gl/libgnu.a(regex.o) > >ld: fatal: Symbol referencing errors. No output written to check_apt > >make[2]: *** [check_apt] Error 1 > >make[2]: Leaving directory > >`/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' > >make[1]: *** [all-recursive] Error 1 > >make[1]: Leaving directory > >`/export/home/bmunger/downloads/nagios-plugins-1.4.13' > >make: *** [all] Error 2 > > > > > >Thank you for your help. > > > > > > > >Brandon Hi Brandon, If there is a configure switch to disable the "check_apt" plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :) jamie ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmunger at edison.edu Wed Dec 17 01:41:36 2008 From: bmunger at edison.edu (Brandon Munger) Date: Tue, 16 Dec 2008 19:41:36 -0500 Subject: Nagios-plugins on Solaris 10 with Sun Studio 12 In-Reply-To: <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> References: <4948136B.5070405@edison.edu> <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> Message-ID: <49484AC0.7050906@edison.edu> James Pratt wrote: >>> -----Original Message----- >>> From: Brandon Munger [mailto:bmunger at edison.edu] >>> Sent: Tuesday, December 16, 2008 3:46 PM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 >>> >>> Hello Nagios Users, >>> >>> I have been attempting to compile Nagios plugins and NRPE with Sun Studio >>> so I can deploy the binaries to a number of machines. I have read the >>> documentation available but I cannot get a successful compile. >>> >>> This command I am using is: >>> CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure >>> --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime >>> comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' >>> --with-ps-cols=10 >>> --with-ps- >>> varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,pr >>> ocetime,procprog,&pos' >>> >>> >>> The make output I get is: >>> Making all in plugins >>> make[2]: Entering directory >>> `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' >>> source='check_apt.c' object='check_apt.o' libtool=no \ >>> DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ >>> cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" >>> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl >>> -I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c >>> "check_apt.c", line 450: warning: dubious escape: \% >>> /bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL >>> -DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o >>> ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl >>> cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o >>> runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins >>> ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl >>> Undefined first referenced >>> symbol in file >>> alloca ../gl/libgnu.a(regex.o) >>> ld: fatal: Symbol referencing errors. No output written to check_apt >>> make[2]: *** [check_apt] Error 1 >>> make[2]: Leaving directory >>> `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory >>> `/export/home/bmunger/downloads/nagios-plugins-1.4.13' >>> make: *** [all] Error 2 >>> >>> >>> Thank you for your help. >>> >>> >>> >>> Brandon >>> > > Hi Brandon, > > If there is a configure switch to disable the "check_apt" plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :) > > jamie > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Hi Jamie, I couldn't find a way to disable the check_apt plugin. I tried a few flags with the same result. I have a feeling that the problem will be with all the plugins, and that apt is just the first one attempted. Thanks. Brandon CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gubbu_gubbu at yahoo.com Wed Dec 17 02:27:47 2008 From: gubbu_gubbu at yahoo.com (gubbu gubbu) Date: Tue, 16 Dec 2008 17:27:47 -0800 (PST) Subject: Publishing service groups etc Message-ID: <90082.37627.qm@web58105.mail.re3.yahoo.com> I have a set of QA and PROD machines for which I need the following which are all under one page when I go to http:///nagios and click on say "service detail" . I would like to have the following a) Have a service detail,Hostgroup link for QA and prod b) Have a publishable link without password so people can view it QA machines has hostgroups with following machines qa-app =ap1.com,ap2.com,ap3.com qa-web=web1.com,web2.com qa-db=db1.com,db2.com and similar for PROD . I would like something like http:///nagios/QA which will show all these 3 different hostgroups http://>hostname>/nagios/PROD whch will show the other hostgroups for PROD Any suggestions ? thanks Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Wed Dec 17 09:18:00 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 17 Dec 2008 09:18:00 +0100 Subject: Nagios-plugins on Solaris 10 with Sun Studio 12 In-Reply-To: <49484AC0.7050906@edison.edu> References: <4948136B.5070405@edison.edu> <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> <49484AC0.7050906@edison.edu> Message-ID: <184E3F696E604341B2D96227FFD0B8C592AAD215@dnce02.ent.ti.com> Hello, Why not using the GCC compiler located under /usr/sfw/bin. It works perfectly for Solaris 10 x86 and Sparc (setenv CC /usr/sfw//bin/gcc; setenv MAKE /usr/sfw/bin/gmake; setenv AR /usr/sfw/bbin/gar) Regards, Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 From: Brandon Munger [mailto:bmunger at edison.edu] Sent: Wednesday, December 17, 2008 1:42 AM To: James Pratt Cc: Nagios Users Subject: Re: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 James Pratt wrote: -----Original Message----- From: Brandon Munger [mailto:bmunger at edison.edu] Sent: Tuesday, December 16, 2008 3:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 Hello Nagios Users, I have been attempting to compile Nagios plugins and NRPE with Sun Studio so I can deploy the binaries to a number of machines. I have read the documentation available but I cannot get a successful compile. This command I am using is: CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' --with-ps-cols=10 --with-ps- varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,pr ocetime,procprog,&pos' The make output I get is: Making all in plugins make[2]: Entering directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' source='check_apt.c' object='check_apt.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c "check_apt.c", line 450: warning: dubious escape: \% /bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl Undefined first referenced symbol in file alloca ../gl/libgnu.a(regex.o) ld: fatal: Symbol referencing errors. No output written to check_apt make[2]: *** [check_apt] Error 1 make[2]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13' make: *** [all] Error 2 Thank you for your help. Brandon Hi Brandon, If there is a configure switch to disable the "check_apt" plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :) jamie ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Hi Jamie, I couldn't find a way to disable the check_apt plugin. I tried a few flags with the same result. I have a feeling that the problem will be with all the plugins, and that apt is just the first one attempted. Thanks. Brandon CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Wed Dec 17 10:02:50 2008 From: hir3npatel at gmail.com (Hiren Patel) Date: Wed, 17 Dec 2008 11:02:50 +0200 Subject: monitor cpu usage... In-Reply-To: References: <00f501c95f06$de0ebc80$9a2c3580$@com> <1229421538.6806.2.camel@firebird> Message-ID: <4948C03A.10405@gmail.com> Craig A wrote: > could you perhaps paste relevant pieces of check_proc using -vvv? > just out of interest, how did you install nagios-plugins on this host? > package or compiled? > > > > Hmm, that's interesting - i didn't know about '-vvv' - lots of useful > info there. Nagios-plugins on this host was compiled. By this time, > our offending process (a jvm) is now behaving normally and has stopped > consuming 100% constantly. But when we stress the server manually, if > I watch 'top', i can see % CPU for that process go above 60% for several > seconds (ie. if i hit 'space bar' for 2-3 seconds, it's pinned at 60% > for a few seconds, then it goes back to normal {ie. < 1%}). But if i > constantly run 'check_procs' (as a dummy test, i threw it in a loop and > had it run 100 times with no sleep and log the results), it still > doesn't view the java process as above 0%... > > If i try exactly the same thing (running check_procs 100 times) with a > non-jvm process (ie. i used '-C top' and then hit space bar to push top > above 20% usage), check_procs reports properly. > > Any idea why I'd be getting this descrepancy? not really. paste what check_procs sees about the java process after using -vvv, and any other useful info -vvv gives you. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alessandro.usai at switch.ch Wed Dec 17 10:13:09 2008 From: alessandro.usai at switch.ch (Alessandro Usai) Date: Wed, 17 Dec 2008 10:13:09 +0100 Subject: Nagios and AAI (Shibboleth) In-Reply-To: <493FB0FD.8090208@googlemail.com> References: <493D2C53.9080704@switch.ch> <493FB0FD.8090208@googlemail.com> Message-ID: <4948C2A5.1040305@switch.ch> Hi Marcus Thanks for the info anyway! Hopefully I will manage that way. Thanks again cheers Alessandro Marcus ha scritto: > Alessandro Usai schrieb: >> I would like to know if it is possible >> to manage access to Nagios using >> Shibboleth and the AAI attributes, and if so >> whether there is any documentation about it. >> Has anyone a similar user case? > > My ex-colleague did this :-), so it's possible. Nagios uses the > htaccess-username by default, so you have to map the shibboleth user to > that attribute. > Sorry, not very technical, I know. Thats because I just sat next to my > colleague, when she hacked the solution, and didn't do it myself. > > Greetz > Marcus > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- SWITCH Serving Swiss Universities -------------------------- Dr. Alessandro Usai P.O. Box, 8021 Zurich, Switzerland phone +41 44 268 15 72, fax +41 44 268 15 68 alessandro.usai at switch.ch, http://www.switch.ch ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SKulkarni at relianceglobalcom.com Wed Dec 17 12:15:00 2008 From: SKulkarni at relianceglobalcom.com (Kulkarni, Saurabh) Date: Wed, 17 Dec 2008 11:15:00 -0000 Subject: Unable to Commit anything Message-ID: Hi, My Nagios was working perfectly but now from some days when I tried to stop some notifications I get a message that nagios.cmd file is not present. So please suggest me how to resolve this problem. Thanks & Regards, Saurabh Kulkarni Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ankit.mehrotra at tcs.com Wed Dec 17 12:26:30 2008 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Wed, 17 Dec 2008 16:56:30 +0530 Subject: Unable to Commit anything In-Reply-To: References: Message-ID: Is nagios.cmd avaialble at /usr/local/nagios/var/rw/ directory ? If yes, then what is the ownership and permissions for it ? Ownership should be nagios nagios and permissions should be 766. Ankit "Kulkarni, Saurabh" 12/17/2008 04:45 PM To "'nagios-users at lists.sourceforge.net'" cc Subject [Nagios-users] Unable to Commit anything Hi, My Nagios was working perfectly but now from some days when I tried to stop some notifications I get a message that nagios.cmd file is not present. So please suggest me how to resolve this problem. Thanks & Regards, Saurabh Kulkarni Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT0002F022 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SKulkarni at relianceglobalcom.com Wed Dec 17 12:28:03 2008 From: SKulkarni at relianceglobalcom.com (Kulkarni, Saurabh) Date: Wed, 17 Dec 2008 11:28:03 -0000 Subject: Unable to Commit anything Message-ID: Hi, It says /usr/local/nagios/var/rw/nagios.cmd not found Saurabh _____ From: ankit.mehrotra at tcs.com [mailto:ankit.mehrotra at tcs.com] Sent: Wednesday, December 17, 2008 4:57 PM To: Kulkarni, Saurabh Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Unable to Commit anything Is nagios.cmd avaialble at /usr/local/nagios/var/rw/ directory ? If yes, then what is the ownership and permissions for it ? Ownership should be nagios nagios and permissions should be 766. Ankit "Kulkarni, Saurabh" 12/17/2008 04:45 PM To "'nagios-users at lists.sourceforge.net'" cc Subject [Nagios-users] Unable to Commit anything Hi, My Nagios was working perfectly but now from some days when I tried to stop some notifications I get a message that nagios.cmd file is not present. So please suggest me how to resolve this problem. Thanks & Regards, Saurabh Kulkarni Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com ---------------------------------------------------------------------------- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT0002F022 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Wed Dec 17 12:32:53 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 17 Dec 2008 17:02:53 +0530 Subject: Unable to Commit anything In-Reply-To: References: Message-ID: Saurabh, Looks like nagios.cmd file is missing. Have you tried restarting nagios? You may not be able to execute any external command until you have nagios.cmd Check if the nagios.cmd file is present in the required location. Check if they have the required permissions. Else you can create the pipe with mkfifo -m 0660 /usr/local/nagios/var/rw/nagios.cmd Regards, Naren From: Kulkarni, Saurabh [mailto:SKulkarni at relianceglobalcom.com] Sent: Wednesday, December 17, 2008 4:45 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Unable to Commit anything Hi, My Nagios was working perfectly but now from some days when I tried to stop some notifications I get a message that nagios.cmd file is not present. So please suggest me how to resolve this problem. Thanks & Regards, Saurabh Kulkarni Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ankit.mehrotra at tcs.com Wed Dec 17 12:52:09 2008 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Wed, 17 Dec 2008 17:22:09 +0530 Subject: Unable to Commit anything In-Reply-To: References: Message-ID: Make a file at that location and keep the ownership and permissions as mentioned earlier. It should work ! Ankit ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ "Kulkarni, Saurabh" 12/17/2008 04:58 PM To "'ankit.mehrotra at tcs.com'" cc "'nagios-users at lists.sourceforge.net'" Subject RE: [Nagios-users] Unable to Commit anything Hi, It says /usr/local/nagios/var/rw/nagios.cmd not found Saurabh From: ankit.mehrotra at tcs.com [mailto:ankit.mehrotra at tcs.com] Sent: Wednesday, December 17, 2008 4:57 PM To: Kulkarni, Saurabh Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Unable to Commit anything Is nagios.cmd avaialble at /usr/local/nagios/var/rw/ directory ? If yes, then what is the ownership and permissions for it ? Ownership should be nagios nagios and permissions should be 766. Ankit "Kulkarni, Saurabh" 12/17/2008 04:45 PM To "'nagios-users at lists.sourceforge.net'" cc Subject [Nagios-users] Unable to Commit anything Hi, My Nagios was working perfectly but now from some days when I tried to stop some notifications I get a message that nagios.cmd file is not present. So please suggest me how to resolve this problem. Thanks & Regards, Saurabh Kulkarni Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT0002F022 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from xyz at flagtelecom.com to xyz at relianceglobalcom.com ForwardSourceID:NT0002F032 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Dec 17 13:54:47 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 17 Dec 2008 07:54:47 -0500 Subject: Unable to Commit anything In-Reply-To: References: Message-ID: <4948F697.6050008@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/12/08 06:52 AM, ankit.mehrotra at tcs.com wrote: > > Make a file at that location and keep the ownership and permissions as > mentioned earlier. > It should work ! No! Nagios should create the file. If you have to create it yourself the commands will appear to be submitted but Nagios will never process them. If the file is missing, Nagios is probably not configured to accept external commands (this is in nagios.cfg). It could also be that the cgi is not looking at the right config files and it taking the wrong parameters (ex.: if the CGI and Nagios daemon were compiled with different configure parameters). - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJSPaX6dZ+Kt5BchYRAhW5AKDuy450rVBrQLllyiVzjzw9tjb7SQCgiG1S gB7PUm7MaKk6qxHHJvkrvM0= =sJZI -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmunger at edison.edu Wed Dec 17 15:20:33 2008 From: bmunger at edison.edu (Brandon Munger) Date: Wed, 17 Dec 2008 09:20:33 -0500 Subject: Nagios-plugins on Solaris 10 with Sun Studio 12 In-Reply-To: <184E3F696E604341B2D96227FFD0B8C592AAD215@dnce02.ent.ti.com> References: <4948136B.5070405@edison.edu> <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> <49484AC0.7050906@edison.edu> <184E3F696E604341B2D96227FFD0B8C592AAD215@dnce02.ent.ti.com> Message-ID: <49490AB1.7070604@edison.edu> Hi Vincent, Thanks for the suggestion. I had problems related to SSL using GCC. The reason I would like to use Sun Studio is so that the binaries can be copied to systems that are running different versions of gcc libraries for specific applications. Thanks for your help. Brandon Alloo, Vincent wrote: > > Hello, > > Why not using the GCC compiler located under /usr/sfw/bin. It works > perfectly for Solaris 10 x86 and Sparc (setenv CC /usr/sfw//bin/gcc; > setenv MAKE /usr/sfw/bin/gmake; setenv AR /usr/sfw/bbin/gar) > > > > Regards, > > > > *Vincent Alloo* > > TI France Design Systems Operations Manager > > Europe, Middle East and Africa IT Services > > Texas Instruments France > > > > E-Mail: v-alloo at ti.com > > Phone: +33 4 93 22 26 97 > > Mobile: +33 6 82 13 00 80 > > *From:* Brandon Munger [mailto:bmunger at edison.edu] > *Sent:* Wednesday, December 17, 2008 1:42 AM > *To:* James Pratt > *Cc:* Nagios Users > *Subject:* Re: [Nagios-users] Nagios-plugins on Solaris 10 with Sun > Studio 12 > > > > James Pratt wrote: > > -----Original Message----- > > From: Brandon Munger [mailto:bmunger at edison.edu] > > Sent: Tuesday, December 16, 2008 3:46 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 > > > > Hello Nagios Users, > > > > I have been attempting to compile Nagios plugins and NRPE with Sun Studio > > so I can deploy the binaries to a number of machines. I have read the > > documentation available but I cannot get a successful compile. > > > > This command I am using is: > > CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure > > --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime > > comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' > > --with-ps-cols=10 > > --with-ps- > > varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,pr > > ocetime,procprog,&pos' > > > > > > The make output I get is: > > Making all in plugins > > make[2]: Entering directory > > `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' > > source='check_apt.c' object='check_apt.o' libtool=no \ > > DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ > > cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > > -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl > > -I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c > > "check_apt.c", line 450: warning: dubious escape: \% > > /bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL > > -DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o > > ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl > > cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o > > runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins > > ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl > > Undefined first referenced > > symbol in file > > alloca ../gl/libgnu.a(regex.o) > > ld: fatal: Symbol referencing errors. No output written to check_apt > > make[2]: *** [check_apt] Error 1 > > make[2]: Leaving directory > > `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > > `/export/home/bmunger/downloads/nagios-plugins-1.4.13' > > make: *** [all] Error 2 > > > > > > Thank you for your help. > > > > > > > > Brandon > > > > > Hi Brandon, > > If there is a configure switch to disable the "check_apt" plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :) > > jamie > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Hi Jamie, > > I couldn't find a way to disable the check_apt plugin. I tried a few > flags with the same result. I have a feeling that the problem will be > with all the plugins, and that apt > is just the first one attempted. Thanks. > > Brandon > > > > CONFIDENTIALITY: This e-mail (including any attachments) may contain > confidential, proprietary and privileged information, and unauthorized > disclosure or use is prohibited. If you received this e-mail in error, > please notify the sender and delete this e-mail from your system. > CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thecajun at nmia.com Wed Dec 17 15:24:27 2008 From: thecajun at nmia.com (TheCajun) Date: Wed, 17 Dec 2008 07:24:27 -0700 Subject: Nagios and Festival In-Reply-To: <49482532.7060100@ha-solutions.net> References: <4947ED5C.9070409@ha-solutions.net> <49482532.7060100@ha-solutions.net> Message-ID: <20081217072314.1A28.E57E4DAE@nmia.com> > Terry L. Inzauro wrote: > > TheCajun wrote: > >>> TheCajun wrote: > >>>> I have recently upgraded to Fedora10. It seems every release they > >>>> decide to break something. Fedora9 was Video. > >>>> > >>>> I have Nagios working using my old configuration from Fedora9. But when > >>>> a monitored service has a problem, I get no audio. Log shows this.. > >>>> > >>>> Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify > >>>> Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 > >>>> Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 > >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. > >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied > >>>> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed. > >>>> > >>>> > >>>> If I su to nagios user and use festival directly, I get this.. > >>>> > >>>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > >>>> I: caps.c: Dropping root privileges. > >>>> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. > >>>> > >>>> > >>>> Festival does work as root, and I can play music using xmms logged on as > >>>> my normal user. > >>>> > >>>> During my searches, it was suggested to add nagios to certain pulseaudio > >>>> groups which I did. This did nothing. > >>>> > >>>> Any one have any ideas? > >>>> > >>>> Thank you for any help. > >>>> > >>>> Durwin > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > >>>> The future of the web can't happen without you. Join us at MIX09 to help > >>>> pave the way to the Next Web now. Learn more and register at > >>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > >>>> _______________________________________________ > >>>> Nagios-users mailing list > >>>> Nagios-users at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >>>> ::: Messages without supporting info will risk being sent to /dev/null > >>> > >>> Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group > >>> accordingly. maybe they changed perms on you...lowlife bastards ;( > >>> > >> Both /dev/dsp and /dev/audio are 660 and user and group are both root. > >> Isn't that as it should be? Isn't Pulseaudio suppose to interface with > >> the hardware and not the individual processes? > >> > > > > i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group user and see it that > > works....... > > > > > > > > > > ------------------------------------------------------------------------------ > > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > > The future of the web can't happen without you. Join us at MIX09 to help > > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > does alsaconf run properly? > I do not have alsaconf. And Yum does not show it as a package. Is it suppose to be included in a certain package? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rich+nagios at quintinz.com Wed Dec 17 15:00:52 2008 From: rich+nagios at quintinz.com (Richard Quintin) Date: Wed, 17 Dec 2008 09:00:52 -0500 Subject: Nagios-plugins on Solaris 10 with Sun Studio 12 In-Reply-To: <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> References: <4948136B.5070405@edison.edu> <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> Message-ID: <822f14060812170600q50e7e2f5sf4ab427d470cd576@mail.gmail.com> For what it's worth here's what we do for our Solaris SPARC boxes: Plugins ./configure --prefix=/apps/username --without-apt --without-mysql --without-smbclient --without-world-permissions --with-perl=/usr/bin/perl NRPE ./configure --prefix=/apps/username --enable-command-args --disable-ssl --with-nrpe-user=someuser --with-nrpe-group=somegroup --with-nrpe-port=11111 --with-nagios-user=someuser --with-nagios-group=somegroup For NRPE we also apply this patch src/nrpe.c --- src/nrpe.c.old Mon Mar 10 17:04:43 2008 +++ src/nrpe.c Thu Apr 17 10:20:27 2008 @@ -613,10 +613,12 @@ log_facility=LOG_UUCP; else if(!strcmp(varvalue,"cron")) log_facility=LOG_CRON; +/* Commented out because Solaris doesn't have these log options else if(!strcmp(varvalue,"authpriv")) log_facility=LOG_AUTHPRIV; else if(!strcmp(varvalue,"ftp")) log_facility=LOG_FTP; +*/ else if(!strcmp(varvalue,"local0")) log_facility=LOG_LOCAL0; else if(!strcmp(varvalue,"local1")) On Tue, Dec 16, 2008 at 4:42 PM, James Pratt wrote: > >> >-----Original Message----- >> >From: Brandon Munger [mailto:bmunger at edison.edu] >> >Sent: Tuesday, December 16, 2008 3:46 PM >> >To: nagios-users at lists.sourceforge.net >> >Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 >> > >> >Hello Nagios Users, >> > >> >I have been attempting to compile Nagios plugins and NRPE with Sun Studio >> >so I can deploy the binaries to a number of machines. I have read the >> >documentation available but I cannot get a successful compile. >> > >> >This command I am using is: >> >CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure >> >--with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime >> >comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' >> >--with-ps-cols=10 >> >--with-ps- >> >varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,pr >> >ocetime,procprog,&pos' >> > >> > >> >The make output I get is: >> >Making all in plugins >> >make[2]: Entering directory >> >`/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' >> >source='check_apt.c' object='check_apt.o' libtool=no \ >> > DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ >> > cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" >> >-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl >> >-I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c >> >"check_apt.c", line 450: warning: dubious escape: \% >> >/bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL >> >-DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o >> >../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl >> >cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o >> >runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins >> >../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl >> >Undefined first referenced >> > symbol in file >> >alloca ../gl/libgnu.a(regex.o) >> >ld: fatal: Symbol referencing errors. No output written to check_apt >> >make[2]: *** [check_apt] Error 1 >> >make[2]: Leaving directory >> >`/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' >> >make[1]: *** [all-recursive] Error 1 >> >make[1]: Leaving directory >> >`/export/home/bmunger/downloads/nagios-plugins-1.4.13' >> >make: *** [all] Error 2 >> > >> > >> >Thank you for your help. >> > >> > >> > >> >Brandon > > Hi Brandon, > > If there is a configure switch to disable the "check_apt" plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :) > > jamie > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmunger at edison.edu Wed Dec 17 15:47:34 2008 From: bmunger at edison.edu (Brandon Munger) Date: Wed, 17 Dec 2008 09:47:34 -0500 Subject: Nagios-plugins on Solaris 10 with Sun Studio 12 In-Reply-To: <822f14060812170600q50e7e2f5sf4ab427d470cd576@mail.gmail.com> References: <4948136B.5070405@edison.edu> <8147CCE3C4A8764DA9980125EE70E82361F1D1@nuexchg.norwich.edu> <822f14060812170600q50e7e2f5sf4ab427d470cd576@mail.gmail.com> Message-ID: <49491106.2040507@edison.edu> Hi Richard, I have tried to compile with those options on plugins with this output: gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lresolv /usr/local/lib/libintl.so -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/openwin/lib -L/usr/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib /usr/local/lib/libiconv.so -lsec -lc -lnsl -lsocket -ldl -R/usr/local/lib -R/usr/local/lib Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_free sslutils.o SSL_read sslutils.o SSLv23_client_method sslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdown sslutils.o SSL_CTX_free sslutils.o SSL_library_init sslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 Do I need any additional packages? Brandon Munger Unix Administrator Edison State College (239)985-8362 x1862 Richard Quintin wrote: > For what it's worth here's what we do for our Solaris SPARC boxes: > > Plugins > ./configure --prefix=/apps/username --without-apt --without-mysql > --without-smbclient --without-world-permissions > --with-perl=/usr/bin/perl > > NRPE > ./configure --prefix=/apps/username --enable-command-args > --disable-ssl --with-nrpe-user=someuser --with-nrpe-group=somegroup > --with-nrpe-port=11111 --with-nagios-user=someuser > --with-nagios-group=somegroup > > For NRPE we also apply this patch src/nrpe.c > --- src/nrpe.c.old Mon Mar 10 17:04:43 2008 > +++ src/nrpe.c Thu Apr 17 10:20:27 2008 > @@ -613,10 +613,12 @@ > log_facility=LOG_UUCP; > else if(!strcmp(varvalue,"cron")) > log_facility=LOG_CRON; > +/* Commented out because Solaris doesn't have these log options > else if(!strcmp(varvalue,"authpriv")) > log_facility=LOG_AUTHPRIV; > else if(!strcmp(varvalue,"ftp")) > log_facility=LOG_FTP; > +*/ > else if(!strcmp(varvalue,"local0")) > log_facility=LOG_LOCAL0; > else if(!strcmp(varvalue,"local1")) > > > > > On Tue, Dec 16, 2008 at 4:42 PM, James Pratt wrote: > >>>> -----Original Message----- >>>> From: Brandon Munger [mailto:bmunger at edison.edu] >>>> Sent: Tuesday, December 16, 2008 3:46 PM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12 >>>> >>>> Hello Nagios Users, >>>> >>>> I have been attempting to compile Nagios plugins and NRPE with Sun Studio >>>> so I can deploy the binaries to a number of machines. I have read the >>>> documentation available but I cannot get a successful compile. >>>> >>>> This command I am using is: >>>> CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure >>>> --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime >>>> comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' >>>> --with-ps-cols=10 >>>> --with-ps- >>>> varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,pr >>>> ocetime,procprog,&pos' >>>> >>>> >>>> The make output I get is: >>>> Making all in plugins >>>> make[2]: Entering directory >>>> `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' >>>> source='check_apt.c' object='check_apt.o' libtool=no \ >>>> DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ >>>> cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" >>>> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl >>>> -I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c >>>> "check_apt.c", line 450: warning: dubious escape: \% >>>> /bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL >>>> -DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o >>>> ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl >>>> cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o >>>> runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins >>>> ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl >>>> Undefined first referenced >>>> symbol in file >>>> alloca ../gl/libgnu.a(regex.o) >>>> ld: fatal: Symbol referencing errors. No output written to check_apt >>>> make[2]: *** [check_apt] Error 1 >>>> make[2]: Leaving directory >>>> `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory >>>> `/export/home/bmunger/downloads/nagios-plugins-1.4.13' >>>> make: *** [all] Error 2 >>>> >>>> >>>> Thank you for your help. >>>> >>>> >>>> >>>> Brandon >>>> >> Hi Brandon, >> >> If there is a configure switch to disable the "check_apt" plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :) >> >> jamie >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > > CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.prengel at comline.de Wed Dec 17 15:47:22 2008 From: ralf.prengel at comline.de (Ralf Prengel) Date: Wed, 17 Dec 2008 15:47:22 +0100 Subject: best way to analyse traffic on a network-device In-Reply-To: <243C315B-85A2-4F35-A7FA-C91C617CD9FF@frontierflying.com> References: <4947A93F.2050602@comline.de> <243C315B-85A2-4F35-A7FA-C91C617CD9FF@frontierflying.com> Message-ID: <494910FA.5050800@comline.de> Israel Brewster schrieb: > Why not just use MRTG, if you need graphs like it makes? Or am I mis- > understanding the question? If you want to monitor the values in > nagios, there are plugins in the standard distribution that check MRTG > log files for the current traffic values. Ok, I made a quick and dirty installation on 10 Servers today. Monitoring ist working now. Do you have a hint how to display the network-traffic per process or application? -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel at comline.de ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 17 16:22:18 2008 From: marc at ena.com (Marc Powell) Date: Wed, 17 Dec 2008 09:22:18 -0600 Subject: Nagios and Festival In-Reply-To: <20081217072314.1A28.E57E4DAE@nmia.com> References: <4947ED5C.9070409@ha-solutions.net> <49482532.7060100@ha-solutions.net> <20081217072314.1A28.E57E4DAE@nmia.com> Message-ID: <5BE59C14-4716-4D4B-8569-B995C18AB090@ena.com> On Dec 17, 2008, at 8:24 AM, TheCajun wrote: >> Terry L. Inzauro wrote: >>> TheCajun wrote: >>>>> TheCajun wrote: > I do not have alsaconf. And Yum does not show it as a package. Is it > suppose to be included in a certain package? You might have better luck troubleshooting this on a pulseaudio list or even the Fedora list. They would appear to be much more appropriate. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Wed Dec 17 16:24:20 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Wed, 17 Dec 2008 07:24:20 -0800 (PST) Subject: Nagios Admin pages Message-ID: <738268.33859.qm@web81803.mail.mud.yahoo.com> Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donaldodikokki at bigfoot.com Wed Dec 17 16:17:48 2008 From: donaldodikokki at bigfoot.com (Donald Kok) Date: Wed, 17 Dec 2008 16:17:48 +0100 Subject: hierarchical servicegroups displays double servicegroups Message-ID: Hi userlist, Having 4 levels of servicegroups some members are mentioned double. The service 'http' on host forum01, is part of servicegroup 'apache'. This servicegroup is part of servicegroup 'HTTP', which is in turn part of servicegroup 'web', which is in turn part of servicegroup 'domainname' the service http for host forum01 is displayed 5 times in the servicegroup (web) status.cgi. In the HTTP servicegroup status.cgi it displays 3 times. -------------- next part -------------- A non-text attachment was scrubbed... Name: double http.png Type: image/png Size: 9433 bytes Desc: not available URL: -------------- next part -------------- This happens with dozens of services. Anyone has a solution? Kind Regards, Donald -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tabmow99 at gmail.com Wed Dec 17 16:58:36 2008 From: tabmow99 at gmail.com (Craig A) Date: Wed, 17 Dec 2008 10:58:36 -0500 Subject: monitor cpu usage... In-Reply-To: <4948C03A.10405@gmail.com> References: <00f501c95f06$de0ebc80$9a2c3580$@com> <1229421538.6806.2.camel@firebird> <4948C03A.10405@gmail.com> Message-ID: > > >> Any idea why I'd be getting this descrepancy? >> > > not really. paste what check_procs sees about the java process after using > -vvv, and any other useful info -vvv gives you. > Okay, will do as soon as the offender starts to exhibit the behaviour again. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Dec 17 18:07:07 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 17 Dec 2008 12:07:07 -0500 Subject: Nagios Admin pages In-Reply-To: <738268.33859.qm@web81803.mail.mud.yahoo.com> References: <738268.33859.qm@web81803.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CEA5@buf-ex01.cymfony.com> Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jackcsprat at yahoo.com Wed Dec 17 18:38:00 2008 From: jackcsprat at yahoo.com (Jack Sprat) Date: Wed, 17 Dec 2008 09:38:00 -0800 (PST) Subject: Return code of 141 is out of bounds Message-ID: <192688.90368.qm@web42108.mail.mud.yahoo.com> Problem: Trying to read a pipe delimited file to retrieve status and port number is resulting in an "Return code of 141 is out of bounds" error. Sample file being read, in this example, assume you want to collect servera and a status of "running" or "stopped". If the status is "running", then the status should appear as ok in Nagios. If the status is "stopped", then an email should go out indicating the port is down. File being read has this (note: those are spaces before and after the pipes) ------------------------- servera | 123 | Running?? <---would show as "Port 123 is okay" in Nagios if working properly servera | 321 | Stopped?? <---would show as "Port 321 is down" in Nagios if working properly servera | 456 | Running serverb | 123 | Stopped serverb | 321 | Running serverb | 456 | Running Here is the script residing in libexec called app_port_monitoring.sh --------------------------------------------------------------------- #!/bin/ksh # GREPCMD=/usr/bin/grep SSHCMD=/usr/local/bin/ssh ECHOCMD=/usr/bin/echo NAGIOSDIR=/apps/nagios STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATE_DEPENDENT=4 while getopts :u:s:p:h: OPT do case $OPT in ??????? u|+u ) export USER=$OPTARG ;; ??????? s|+s ) export SERVERNAME=$OPTARG ;; ??????? p|+p ) export PORT=$OPTARG ;; ??????? : ) $ECHO "$OPTARG requires an argument"; exit $STATE_UNKNOWN;; ??????? \? ) $ECHO "$OPTARG: bad option, use -h for help"; exit $STATE_UNKNOWN;; ??????? h|+h ) $ECHO "Usage: `basename $0` -u USER -s SERVERNAME -p PORT" ; exit $STATE_UNKNOWN;; esac done if [ -z "$SERVERNAME" ]; then echo "No SERVER specified" ?exit $STATE_UNKNOWN fi SSH_STATUS=`$SSHCMD -l ${USER} ${SERVERNAME} "pwd" >/dev/null; echo $?` ??????? if [ $SSH_STATUS -ne 0 ]; then ??????????????? echo "Cannot ssh to $SERVER" ??????????????? exit $STATE_UNKNOWN ??????? fi /usr/bin/ksh 'ssh -n -o BatchMode=yes -o StrictHostKeyChecking=no -l ${USER} ${SERVERNAME} "export SHELL=bash; cd EEM; . ./ldap -bash-traversal; . ./healthcheck; export LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH:/opt/app/${USER}/servers/lib\"; export PATH=\"\$PA TH:/usr/local/bin:/bin\"; ldaphealth; . ./proxy_healthcheck"' |egrep -i 'stopped|running' | grep $USER | grep $PORT >/tmp/foo_output 2>&1 # File doesn't exist or doesn't have size greater than zero if [[ -f /tmp/foo_output ]]; then ?echo "file exists" else ?echo "file not found" ?exit $STATE_UNKNOWN fi while read LINE; do echo ${LINE} ?STATUS=$(echo ${LINE} | awk {'print $5'}) ?PORT=$(echo ${LINE} | awk {'print $3'}) ?????? if [ -z "$STATUS" ]; then ??????????????? echo "Service check problem" ??????????????? EXITSTATUS=$STATE_UNKNOWN ??????? elif [ "$STATUS" = Stopped ]; then ??????? echo "${PORT} is down" ?????????????? EXITSTATUS=$STATE_CRITICAL ??????? elif [ "$STATUS" = Running ]; then ??????? echo "${PORT} is okay" ??????????????? EXITSTATUS=$STATE_OK ?????? else ??????????????? EXITSTATUS=$STATE_UNKNOWN ?????? fi done < /tmp/foo_output rm -f /tmp/foo_output exit $EXITSTATUS --------------------------------- I can place a set -x at the top of the script above and run it....below is the pertinent output + read LINE + echo servera | 123 | Running servera | 123 | Running + + awk {print $5} + echo servera | 123 | Running STATUS=Running + + awk {print $3} + echo servera | 123 | Running PORT=123 + [ -z Running ] + [ Running = Stopped ]??????? <---- problem ?? + [ Running = Running ]??????? <---- problem ?? + echo 123 is okay 123 is okay + EXITSTATUS=0 + read LINE + exit 0??????????? <--- exiting normally Please let me know if additional information (like the service file info) is needed.? Thanks much for any input in getting this resolved. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Wed Dec 17 20:27:40 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Wed, 17 Dec 2008 11:27:40 -0800 (PST) Subject: Nagios Admin pages Message-ID: <671946.16423.qm@web81806.mail.mud.yahoo.com> The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Dec 17 20:35:53 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 17 Dec 2008 14:35:53 -0500 Subject: Nagios Admin pages In-Reply-To: <671946.16423.qm@web81806.mail.mud.yahoo.com> References: <671946.16423.qm@web81806.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CEB9@buf-ex01.cymfony.com> Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gubbu_gubbu at yahoo.com Wed Dec 17 20:54:47 2008 From: gubbu_gubbu at yahoo.com (gubbu gubbu) Date: Wed, 17 Dec 2008 11:54:47 -0800 (PST) Subject: Nagios:Publishing different hostgroups Message-ID: <593680.27027.qm@web58107.mail.re3.yahoo.com> I have 3 appservers,2webservers,1 database server in QE and similar in PROD . They have a hostgroup like qe-app,qe-web,qe-db,prod-app,prod-web,prod-db I now go to http:///nagios and I click on Service Detail or other links and I see all the QE and PROD machines together ? Can I seperate them so it can be viewed seperately like maybe http://,hostname/nagios/QE or PROD or even service detail like http://hostname/nagios/cgi-bin/status.cgi?hostgroup=QE&style=hostdetail instead of http://hostname/cgi-bin/status.cgi?hostgroup=all&style=hostdetail Also is there anyways to display this page without authentication ? thanks Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 17 21:32:23 2008 From: marc at ena.com (Marc Powell) Date: Wed, 17 Dec 2008 14:32:23 -0600 Subject: Nagios:Publishing different hostgroups In-Reply-To: <593680.27027.qm@web58107.mail.re3.yahoo.com> References: <593680.27027.qm@web58107.mail.re3.yahoo.com> Message-ID: <51022478-B153-4BCB-B40D-6F2B7F6B20B0@ena.com> On Dec 17, 2008, at 1:54 PM, gubbu gubbu wrote: > I have 3 appservers,2webservers,1 database server in QE and similar > in PROD . They have a hostgroup like qe-app,qe-web,qe-db,prod- > app,prod-web,prod-db > > I now go to http:///nagios and I click on Service Detail > or other links and I see all the QE and PROD machines together ? > > Can I seperate them so it can be viewed seperately like maybe > > http://,hostname/nagios/QE or PROD or even service detail like > > http://hostname/nagios/cgi-bin/status.cgi? > hostgroup=QE&style=hostdetail Yes, this is the link exactly, assuming that you really do have a hostgroup named 'QE' defined with the members you want shown. Based on what you've said above, you don't but do have 'qe-app', 'qe-web' and others instead. Hosts can be members of multiple hostgroups so you can easily create the QE hostgroup and add those servers as members. > Also is there anyways to display this page without authentication ? Yes, disable authentication. Undo the changes you did to enable it (i.e. remove the htaccess stuff and change the setting in cgi.cfg). Everyone will be able to see every host/service. http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Wed Dec 17 21:34:00 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Wed, 17 Dec 2008 12:34:00 -0800 (PST) Subject: Nagios Admin pages Message-ID: <88415.49362.qm@web81804.mail.mud.yahoo.com> Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Dec 17 21:35:30 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 17 Dec 2008 15:35:30 -0500 Subject: Nagios Admin pages In-Reply-To: <88415.49362.qm@web81804.mail.mud.yahoo.com> References: <88415.49362.qm@web81804.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CEC1@buf-ex01.cymfony.com> No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmunger at edison.edu Wed Dec 17 23:01:08 2008 From: bmunger at edison.edu (Brandon Munger) Date: Wed, 17 Dec 2008 17:01:08 -0500 Subject: Solaris 10 check_procs Message-ID: <494976A4.5090101@edison.edu> Hi again... I was able to get nagios-plugins compiled in Solaris 10 with GCC. The problem I now have has to do with the check_procs command. For every command I type I get: Unable to read output So I figured it was a problem with the way ps outputs its format and I I remembered running into a configure flag that should work. I reran the configure and make with: ./configure --prefix=/export/home/bmunger/downloads/nagios --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' --with-ps-cols=10 --with-ps-varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,procetime,procprog,&pos' And it outputted an error on line 185 on check_procs.c. I checked the file and it was in reference to the col variable. I modified the configure flags again removing the --with-ps-cols=10 and reconfigured and compiled. The resulting binary still exhibits the same issue as when I started. Does anyone have any ideas? Thank you. Brandon CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Wed Dec 17 23:20:48 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Wed, 17 Dec 2008 14:20:48 -0800 (PST) Subject: Nagios Admin pages Message-ID: <480575.23529.qm@web81808.mail.mud.yahoo.com> Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Dec 17 23:31:20 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 17 Dec 2008 17:31:20 -0500 Subject: Nagios Admin pages In-Reply-To: <480575.23529.qm@web81808.mail.mud.yahoo.com> References: <480575.23529.qm@web81808.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CECF@buf-ex01.cymfony.com> There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gubbu_gubbu at yahoo.com Wed Dec 17 23:45:31 2008 From: gubbu_gubbu at yahoo.com (gubbu gubbu) Date: Wed, 17 Dec 2008 14:45:31 -0800 (PST) Subject: Customizing the links section Message-ID: <999499.74578.qm@web58103.mail.re3.yahoo.com> Is there a way to customize the links on the left hand side when you go to http://hostname/nagios ? I was wondering if I could delete a few views that I dont need and add my own . Which file do I edit ? Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gubbu_gubbu at yahoo.com Wed Dec 17 23:48:50 2008 From: gubbu_gubbu at yahoo.com (gubbu gubbu) Date: Wed, 17 Dec 2008 14:48:50 -0800 (PST) Subject: Customizing the links section: Message-ID: <796397.57519.qm@web58104.mail.re3.yahoo.com> Nevermind ...its in the share directory ________________________________ From: gubbu gubbu To: nagios-users at lists.sourceforge.net Sent: Wednesday, December 17, 2008 2:45:31 PM Subject: Customizing the links section Is there a way to customize the links on the left hand side when you go to http://hostname/nagios ? I was wondering if I could delete a few views that I dont need and add my own . Which file do I edit ? Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Thu Dec 18 01:13:50 2008 From: bram at openminds.be (Bram Gillemon - Openminds) Date: Thu, 18 Dec 2008 01:13:50 +0100 Subject: no default contacts or contactgroup defined Message-ID: <494995BE.90201@openminds.be> Hi, I recently installed nagios3 because my old server still runs nagios1.3. I created a new directory tree so it's possible to add new servers quickly, My directory tree looks like this: - conf.d -> generic_service.cfg -> this file contains my generic- service where all my other services are build on. -> services -> service_http.cfg -> this file contains my services templates with the register 0 option. -> client1 -> services -> service_http.cfg -> in this file i define my contact_groups -> hostgroups -> these are all default nagios configs -> hosts -> these are all default nagios configs I posted my test configs on: http://pastie.org/341891 The problem i have is that nagios gives me a warning that i don't have a default contact or contactgroup defined. Kind Regards, Bram Gillemon ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Thu Dec 18 00:56:42 2008 From: bram at openminds.be (Bram Gillemon) Date: Thu, 18 Dec 2008 00:56:42 +0100 Subject: nagios-announce@lists.sourceforge.net Message-ID: <37EB5A1B-176B-40AC-B663-59DCAD84C220@openminds.be> Hi, I recently installed nagios3 because my old server still runs nagios1.3. I created a new directory tree so it's possible to add new servers quickly, My directory tree looks like this: - conf.d -> generic_service.cfg -> this file contains my generic- service where all my other services are build on. -> services -> service_http.cfg -> this file contains my services templates with the register 0 option. -> client1 -> services -> service_http.cfg -> in this file i define my contact_groups -> hostgroups -> these are all default nagios configs -> hosts -> these are all default nagios configs I posted my test configs on: http://pastie.org/341891 The problem i have is that nagios gives me a warning that i don't have a default contact or contactgroup defined. Kind Regards, Bram Gillemon ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu Dec 18 03:14:25 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 17 Dec 2008 21:14:25 -0500 Subject: no default contacts or contactgroup defined In-Reply-To: <494995BE.90201@openminds.be> References: <494995BE.90201@openminds.be> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CED0@buf-ex01.cymfony.com> define them http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact -----Original Message----- From: Bram Gillemon - Openminds [mailto:bram at openminds.be] Sent: Wednesday, December 17, 2008 7:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] no default contacts or contactgroup defined Hi, I recently installed nagios3 because my old server still runs nagios1.3. I created a new directory tree so it's possible to add new servers quickly, My directory tree looks like this: - conf.d -> generic_service.cfg -> this file contains my generic- service where all my other services are build on. -> services -> service_http.cfg -> this file contains my services templates with the register 0 option. -> client1 -> services -> service_http.cfg -> in this file i define my contact_groups -> hostgroups -> these are all default nagios configs -> hosts -> these are all default nagios configs I posted my test configs on: http://pastie.org/341891 The problem i have is that nagios gives me a warning that i don't have a default contact or contactgroup defined. Kind Regards, Bram Gillemon ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Thu Dec 18 11:18:05 2008 From: hir3npatel at gmail.com (Hiren Patel) Date: Thu, 18 Dec 2008 12:18:05 +0200 Subject: Solaris 10 check_procs In-Reply-To: <494976A4.5090101@edison.edu> References: <494976A4.5090101@edison.edu> Message-ID: <494A235D.6070409@gmail.com> Brandon Munger wrote: > Hi again... > > I was able to get nagios-plugins compiled in Solaris 10 with GCC. > > The problem I now have has to do with the check_procs command. > For every command I type I get: > > Unable to read output how exactly are you running check_procs here? > > So I figured it was a problem with the way ps outputs its format and I > I remembered running into a configure flag that should work. I reran > the configure and make with: > > ./configure --prefix=/export/home/bmunger/downloads/nagios > --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime > comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' > --with-ps-cols=10 > --with-ps-varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,procetime,procprog,&pos' > > > And it outputted an error on line 185 on check_procs.c. I checked the > file and it was in > reference to the col variable. I modified the configure flags again > removing the > --with-ps-cols=10 and reconfigured and compiled. The resulting binary > still exhibits > the same issue as when I started. Does anyone have any ideas? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Dec 18 12:58:32 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 18 Dec 2008 06:58:32 -0500 Subject: Return code of 141 is out of bounds In-Reply-To: <192688.90368.qm@web42108.mail.mud.yahoo.com> References: <192688.90368.qm@web42108.mail.mud.yahoo.com> Message-ID: <494A3AE8.1040507@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/12/08 12:38 PM, Jack Sprat wrote: > Problem: Trying to read a pipe delimited file to retrieve status and > port number is resulting in an "Return code of 141 is out of > bounds" error. > > Sample file being read, in this example, assume you want to collect > servera and a status of "running" or "stopped". If the status > is "running", then the status should appear as ok in Nagios. If the > status is "stopped", then an email should go out indicating > the port is down. > File being read has this (note: those are spaces before and after the pipes) > ------------------------- > servera | 123 | Running <---would show as "Port 123 is okay" in Nagios > if working properly > servera | 321 | Stopped <---would show as "Port 321 is down" in Nagios > if working properly > servera | 456 | Running > serverb | 123 | Stopped > serverb | 321 | Running > serverb | 456 | Running > Here is the script residing in libexec called app_port_monitoring.sh > --------------------------------------------------------------------- > #!/bin/ksh > # > GREPCMD=/usr/bin/grep > SSHCMD=/usr/local/bin/ssh > ECHOCMD=/usr/bin/echo > NAGIOSDIR=/apps/nagios > STATE_OK=0 > STATE_WARNING=1 > STATE_CRITICAL=2 > STATE_UNKNOWN=3 > STATE_DEPENDENT=4 > while getopts :u:s:p:h: OPT > do > case $OPT in > u|+u ) export USER=$OPTARG ;; > s|+s ) export SERVERNAME=$OPTARG ;; > p|+p ) export PORT=$OPTARG ;; > : ) $ECHO "$OPTARG requires an argument"; exit $STATE_UNKNOWN;; > \? ) $ECHO "$OPTARG: bad option, use -h for help"; exit > $STATE_UNKNOWN;; > h|+h ) $ECHO "Usage: `basename $0` -u USER -s SERVERNAME -p > PORT" ; exit $STATE_UNKNOWN;; > esac > done > > if [ -z "$SERVERNAME" ]; then > echo "No SERVER specified" > exit $STATE_UNKNOWN > fi > SSH_STATUS=`$SSHCMD -l ${USER} ${SERVERNAME} "pwd" >/dev/null; echo $?` > if [ $SSH_STATUS -ne 0 ]; then > echo "Cannot ssh to $SERVER" > exit $STATE_UNKNOWN > fi > > /usr/bin/ksh 'ssh -n -o BatchMode=yes -o StrictHostKeyChecking=no -l > ${USER} ${SERVERNAME} "export SHELL=bash; cd EEM; . ./ldap > -bash-traversal; . ./healthcheck; export > LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH:/opt/app/${USER}/servers/lib\"; > export PATH=\"\$PA > TH:/usr/local/bin:/bin\"; ldaphealth; . ./proxy_healthcheck"' |egrep -i > 'stopped|running' | grep $USER | grep $PORT >>/tmp/foo_output 2>&1 > > # File doesn't exist or doesn't have size greater than zero > if [[ -f /tmp/foo_output ]]; then > echo "file exists" > else > echo "file not found" > exit $STATE_UNKNOWN > fi > while read LINE; do > echo ${LINE} > STATUS=$(echo ${LINE} | awk {'print $5'}) > PORT=$(echo ${LINE} | awk {'print $3'}) > if [ -z "$STATUS" ]; then > echo "Service check problem" > EXITSTATUS=$STATE_UNKNOWN > elif [ "$STATUS" = Stopped ]; then > echo "${PORT} is down" > EXITSTATUS=$STATE_CRITICAL > elif [ "$STATUS" = Running ]; then > echo "${PORT} is okay" > EXITSTATUS=$STATE_OK > else > EXITSTATUS=$STATE_UNKNOWN > fi > > done < /tmp/foo_output > > rm -f /tmp/foo_output > exit $EXITSTATUS > --------------------------------- > I can place a set -x at the top of the script above and run it....below > is the pertinent output > + read LINE > + echo servera | 123 | Running > servera | 123 | Running > + + awk {print $5} > + echo servera | 123 | Running > STATUS=Running > + + awk {print $3} > + echo servera | 123 | Running > PORT=123 > + [ -z Running ] > + [ Running = Stopped ] <---- problem ?? > + [ Running = Running ] <---- problem ?? > + echo 123 is okay > 123 is okay > + EXITSTATUS=0 > + read LINE > + exit 0 <--- exiting normally > > Please let me know if additional information (like the service file > info) is needed. Thanks much for any input in getting this > resolved. When you run your plugin for testing, are you running it as the nagios user? Also try adding the "-T" switch to ssh as you won't have any tty when run from Nagios. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJSjro6dZ+Kt5BchYRAl+gAJ9xz/SOojOzdQX09l5/3sKpMqXvKwCgqthv VXvt5FS7gkagOsoW8lgy22w= =ZHMw -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mohr at elaxy.com Thu Dec 18 13:41:46 2008 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 18 Dec 2008 13:41:46 +0100 Subject: Nagios not updating/dead Message-ID: Hi All! We are running Nagios 3.0. Today we had a problem where, more or less, Nagios was not doing anything at all. All the services had last check times that were a couple of hours old. Also I could not force checks through the Web-GUI. I tried restarting Nagios, but that did not work. It wasn't until after I rebooted that machine that things started working again. After the reboot, we did some investigation and we found this in the Apache error_log: [Thu Dec 18 11:20:20 2008] [error] [client 10.2.201.228] Error opening nagios statusfile /usr/local/nagios/var/status.dat!, referer: x-gadget:///Nagstatus.html [Thu Dec 18 11:20:20 2008] [error] [client 10.2.201.228] Premature end of script headers: nagxmlstatus.cgi, referer: x-gadget:///Nagstatus.html However, I am not entirely conviced this is related because I restarted Apache to see if it would help with the problem, not knowing what was going on at the moment. However, I restarted Apache *after* I restarted Nagios. It wasn't until I rebooted the machine that these errors went away and Nagios started working again. I looked in nagios.log and see a definite break in the entries, the last one being at the same time of the last check times in the GUI. Entries did not reappear until after we rebooted. I googled a bit but found nothing related to the error in the Apache error_log and a couple of other searches with various key words did not return anything useful. Any help or info would be appreaciated. Regards, Jim Mohr -- Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Dec 18 12:54:36 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 18 Dec 2008 06:54:36 -0500 Subject: Solaris 10 check_procs In-Reply-To: <494976A4.5090101@edison.edu> References: <494976A4.5090101@edison.edu> Message-ID: <494A39FC.9040408@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/12/08 05:01 PM, Brandon Munger wrote: > Hi again... > > I was able to get nagios-plugins compiled in Solaris 10 with GCC. > > The problem I now have has to do with the check_procs command. > For every command I type I get: > > Unable to read output > > So I figured it was a problem with the way ps outputs its format and I > I remembered running into a configure flag that should work. I reran > the configure and make with: > > ./configure --prefix=/export/home/bmunger/downloads/nagios > --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime > comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' > --with-ps-cols=10 > --with-ps-varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,procetime,procprog,&pos' Which version of Nagios-plugins are you using? In recent version you shouldn't have tp specify any ps arguments since we now use pst3 which is part of the package. Please confirm the plugins version (should be the latest) and remove any - --with-ps arguments from configure. Make sure to also run the "make install-root" command. If you still have problems please send the full debug output of check_procs (with the -vvv switch). Thanks - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJSjn86dZ+Kt5BchYRAtVEAJ47zCzMRDdZDWH2z5sk1thkUoy58wCg+MoT id5Tbu4MDm6anIEkivFMevU= =WLGI -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Thu Dec 18 15:09:05 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 18 Dec 2008 14:09:05 -0000 Subject: Nagios not updating/dead In-Reply-To: References: Message-ID: > Today we had a problem where, more or less, Nagios was not > doing anything at all. All the services had last check times > that were a couple of hours old. Also I could not force > checks through the Web-GUI. > I tried restarting Nagios, but that did not work. It wasn't > until after I rebooted that machine that things started > working again. After the reboot, we did some investigation > and we found this in the Apache Are you sure you didn't simply run out of space on the relavant partition, and a reboot deleted a bunch of temporary files? Either that, or could the parition have become read-only (some disk fault)? -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Aiken at Sun.COM Thu Dec 18 17:12:46 2008 From: William.Aiken at Sun.COM (William Aiken) Date: Thu, 18 Dec 2008 11:12:46 -0500 Subject: Solaris 10 check_procs Message-ID: <494A767E.2060306@Sun.COM> Brandon, I am just becoming familiar with Nagios in general and on Solaris in particular, but this is what I know about check_procs. On Solaris, nagios builds this plugin (named pst3) as a 64 bit executable instead of 32 bit. It needs to use process address structures to preserve the entire string of command line arguments. I believe this is the only 64 bit Solaris plugin executable. Try running check_procs -vv This gives you the executable (pst3) including complete pathname. On my system, I got: check_procs -vv CMD: /export/home/nagios/opt/local/nagios/libexec/pst3 System call sent warnings to stderr: pst3: This program can only be run by the root user! I can run the above command as root without a problem. Trying running nrpe as root on the Solaris machine so that you can run pst3. Regards, Bill ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 18 19:37:01 2008 From: marc at ena.com (Marc Powell) Date: Thu, 18 Dec 2008 12:37:01 -0600 Subject: Nagios not updating/dead In-Reply-To: References: Message-ID: On Dec 18, 2008, at 8:09 AM, Paul Weaver wrote: >> Today we had a problem where, more or less, Nagios was not >> doing anything at all. All the services had last check times >> that were a couple of hours old. Also I could not force >> checks through the Web-GUI. >> I tried restarting Nagios, but that did not work. It wasn't >> until after I rebooted that machine that things started >> working again. After the reboot, we did some investigation >> and we found this in the Apache > > Are you sure you didn't simply run out of space on the relavant > partition, and a reboot deleted a bunch of temporary files? Either > that, > or could the parition have become read-only (some disk fault)? I too thought this was most likely. It sure sounds like some kind of system-level issue and nagios not working is just a symptom. Maybe your system logs show something helpful. If it happens again, maybe an strace of the nagios process might show something interesting or even putting it into debug mode maybe? -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sstelfox at vtc.vsc.edu Thu Dec 18 20:16:47 2008 From: sstelfox at vtc.vsc.edu (Sam Stelfox) Date: Thu, 18 Dec 2008 14:16:47 -0500 Subject: Notifications of Children Message-ID: <494AA19F.80806@vtc.vsc.edu> After searching both google and to the extent I was able to the archive (it kept timing out when I'd run a search). I'm asking these two questions to the list. It's my understanding that if nagios can not talk to a service, it then checks to see if the host running the service is up. If the host is down as well, and the host has a parent defined it will then check to see if the parent is running. It will keep following it up the chain and send unreachable notifications for the children and a down for the parent closest to nagios that is down. I turned off unreachable notifications, but nagios thinks that some of the children are in a "down" state while a couple of them say "unreachable". Why does nagios consider some "down" and some "unreachable" (they are all using the same template only thing different is there name's and addresses and the parents have the same template as well). Why does nagios still send notifications for the children? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmunger at edison.edu Thu Dec 18 20:48:05 2008 From: bmunger at edison.edu (Brandon Munger) Date: Thu, 18 Dec 2008 14:48:05 -0500 Subject: Solaris 10 check_procs In-Reply-To: <494A767E.2060306@Sun.COM> References: <494A767E.2060306@Sun.COM> Message-ID: <494AA8F5.7020700@edison.edu> Bill, Ok that makes sense. The compiler is 32 bit. This is the output I get is: -bash-3.00# ./check_procs -vv CMD: /export/home/bmunger/downloads/nagios/libexec/pst3 Unable to read output I have since found a different solution on nagiosexchange.org called check_procs2 which is a perl script. This seems to work fine for me. Thanks! Brandon William Aiken wrote: > Brandon, > > I am just becoming familiar with Nagios in general and on Solaris in > particular, but this is what I know about check_procs. > > On Solaris, nagios builds this plugin (named pst3) as a 64 bit > executable instead of 32 bit. It needs to use process address > structures to preserve the entire string of command line arguments. I > believe this is the only 64 bit Solaris plugin executable. > > Try running check_procs -vv > > This gives you the executable (pst3) including complete pathname. > > On my system, I got: > > check_procs -vv > CMD: /export/home/nagios/opt/local/nagios/libexec/pst3 > System call sent warnings to stderr: pst3: This program can only be > run by the root user! > > I can run the above command as root without a problem. > Trying running nrpe as root on the Solaris machine so that you can run > pst3. > > Regards, > > Bill > > CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 18 21:41:33 2008 From: marc at ena.com (Marc Powell) Date: Thu, 18 Dec 2008 14:41:33 -0600 Subject: Notifications of Children In-Reply-To: <494AA19F.80806@vtc.vsc.edu> References: <494AA19F.80806@vtc.vsc.edu> Message-ID: On Dec 18, 2008, at 1:16 PM, Sam Stelfox wrote: > After searching both google and to the extent I was able to the > archive > (it kept timing out when I'd run a search). I'm asking these two > questions to the list. Thanks for researching first! > It's my understanding that if nagios can not talk to a service, ... Correct. > I turned off unreachable notifications, but nagios thinks that some of > the children are in a "down" state while a couple of them say > "unreachable". > > Why does nagios consider some "down" and some "unreachable" (they are > all using the same template only thing different is there name's and > addresses and the parents have the same template as well). What is the state of the immediate parent of a 'down' host? Are you sure it's parent is what you think it is? I would say that the 'down' host either has no parent or the parent's status is 'ok', or was at the time the on-demand check happened. If you're using nagios-3, cached host checks could certainly be at play here -- http://nagios.sourceforge.net/docs/3_0/cachedchecks.html > Why does nagios still send notifications for the children? For which, down or unreachable? Based on your disabling of unreachable notifications, you should not receive those. You may receive down notifications if you've elected to receive those. -- Marc ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Thu Dec 18 22:22:20 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Thu, 18 Dec 2008 13:22:20 -0800 (PST) Subject: Nagios Admin pages Message-ID: <415671.63596.qm@web81802.mail.mud.yahoo.com> Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu Dec 18 23:19:16 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 18 Dec 2008 17:19:16 -0500 Subject: Nagios Admin pages In-Reply-To: <415671.63596.qm@web81802.mail.mud.yahoo.com> References: <415671.63596.qm@web81802.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CF0C@buf-ex01.cymfony.com> nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 19 16:35:02 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 19 Dec 2008 07:35:02 -0800 (PST) Subject: Nagios Admin pages Message-ID: <618439.89676.qm@web81803.mail.mud.yahoo.com> To answer your questions. Yes, nagiosadmin is not part of the linux-admins group. I did restart nagios after I made the change. And yes, I have a contact group with no members. The contact list for admins doesn't exist. I just realized that as I was searching my config files. Which service definition did you want to see (you didn't specify which one)? Thanks for all your help! ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-users at lists.sourceforge.net Sent: Thursday, December 18, 2008 2:19:16 PM Subject: RE: [Nagios-users] Nagios Admin pages nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 19 17:32:47 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 19 Dec 2008 11:32:47 -0500 Subject: Nagios Admin pages In-Reply-To: <618439.89676.qm@web81803.mail.mud.yahoo.com> References: <618439.89676.qm@web81803.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CF26@buf-ex01.cymfony.com> I'm referring to the service you're having an issue with that is still sending to nagiosadmin. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Friday, December 19, 2008 10:35 AM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Admin pages To answer your questions. Yes, nagiosadmin is not part of the linux-admins group. I did restart nagios after I made the change. And yes, I have a contact group with no members. The contact list for admins doesn't exist. I just realized that as I was searching my config files. Which service definition did you want to see (you didn't specify which one)? Thanks for all your help! ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-users at lists.sourceforge.net Sent: Thursday, December 18, 2008 2:19:16 PM Subject: RE: [Nagios-users] Nagios Admin pages nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mills at returnpath.net Fri Dec 19 18:03:13 2008 From: aaron.mills at returnpath.net (Aaron Mills) Date: Fri, 19 Dec 2008 12:03:13 -0500 Subject: check_procs In-Reply-To: References: Message-ID: A bit of color on the check_procs program: I had the same problem, and it was a permissions issue. The pst3 binary has to be setuid/owned by root: -r-sr-xr-x 1 root root 25064 Sep 29 16:15 /usr/local/nagios/libexec/pst3 HTH. -Aaron -- original message -- Date: Thu, 18 Dec 2008 14:48:05 -0500 From: Brandon Munger Subject: Re: [Nagios-users] Solaris 10 check_procs To: William.Aiken at Sun.COM Cc: nagios-users at lists.sourceforge.net Message-ID: <494AA8F5.7020700 at edison.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Bill, Ok that makes sense. The compiler is 32 bit. This is the output I get is: -bash-3.00# ./check_procs -vv CMD: /export/home/bmunger/downloads/nagios/libexec/pst3 Unable to read output I have since found a different solution on nagiosexchange.org called check_procs2 which is a perl script. This seems to work fine for me. Thanks! Brandon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Fri Dec 19 18:39:16 2008 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 19 Dec 2008 09:39:16 -0800 (PST) Subject: Nagios Admin pages Message-ID: <831160.78855.qm@web81802.mail.mud.yahoo.com> Well, the services that I'm having an issue with are a number of services with our Windows systems. Heres' a sample: define service{ use generic-service host_name engweb2,rexis-dev,osoft-fin-test,engweb1,plmsrv2,radius1,radius2,osoft-qa-test service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } The corresponding host definition for one of the hosts looks like this: define host{ use windows-server ; Inherit default values from a template host_name engweb2 ; The name we're giving to this host alias Engineering Web Dev Server ; A longer name associated with the host address 172.20.9.138 ; IP address of the host notifications_enabled 1 contacts jsmith,jjones } Here's the Windows server template: define host{ name windows-server ; The name of this host template use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each server 10 times (max) check_command check-host-alive ; Default command to check if servers are "alive" notification_period 24x7 ; Send notification out at any time - day or night notification_interval 30 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states contact_groups windows-admins ; Notifications get sent to the windows-admins by default hostgroups windows-servers ; Host groups that Windows servers should be a member of register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-users at lists.sourceforge.net Sent: Friday, December 19, 2008 8:32:47 AM Subject: RE: [Nagios-users] Nagios Admin pages I'm referring to the service you're having an issue with that is still sending to nagiosadmin. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Friday, December 19, 2008 10:35 AM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Admin pages To answer your questions. Yes, nagiosadmin is not part of the linux-admins group. I did restart nagios after I made the change. And yes, I have a contact group with no members. The contact list for admins doesn't exist. I just realized that as I was searching my config files. Which service definition did you want to see (you didn't specify which one)? Thanks for all your help! ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-users at lists.sourceforge.net Sent: Thursday, December 18, 2008 2:19:16 PM Subject: RE: [Nagios-users] Nagios Admin pages nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Dec 19 18:58:39 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 19 Dec 2008 12:58:39 -0500 Subject: Nagios Admin pages In-Reply-To: <831160.78855.qm@web81802.mail.mud.yahoo.com> References: <831160.78855.qm@web81802.mail.mud.yahoo.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB103CF34@buf-ex01.cymfony.com> Going back to your original question, 'the Windows guys get some that I don't need to get' which tells me you don't want nagiosadmin to receive messages related to windows hosts/services. nagiosadmin is part of the admins group. In the w3svc service, it doesn't have contacts defined so it's using from generic-service - which has admins as a contact group so it would be sending w3svc notices to nagiosadmin. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Friday, December 19, 2008 12:39 PM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Admin pages Well, the services that I'm having an issue with are a number of services with our Windows systems. Heres' a sample: define service{ use generic-service host_name engweb2,rexis-dev,osoft-fin-test,engweb1,plmsrv2,radius1,radius2,osoft-q a-test service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } The corresponding host definition for one of the hosts looks like this: define host{ use windows-server ; Inherit default values from a template host_name engweb2 ; The name we're giving to this host alias Engineering Web Dev Server ; A longer name associated with the host address 172.20.9.138 ; IP address of the host notifications_enabled 1 contacts jsmith,jjones } Here's the Windows server template: define host{ name windows-server ; The name of this host template use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each server 10 times (max) check_command check-host-alive ; Default command to check if servers are "alive" notification_period 24x7 ; Send notification out at any time - day or night notification_interval 30 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states contact_groups windows-admins ; Notifications get sent to the windows-admins by default hostgroups windows-servers ; Host groups that Windows servers should be a member of register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-users at lists.sourceforge.net Sent: Friday, December 19, 2008 8:32:47 AM Subject: RE: [Nagios-users] Nagios Admin pages I'm referring to the service you're having an issue with that is still sending to nagiosadmin. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Friday, December 19, 2008 10:35 AM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Admin pages To answer your questions. Yes, nagiosadmin is not part of the linux-admins group. I did restart nagios after I made the change. And yes, I have a contact group with no members. The contact list for admins doesn't exist. I just realized that as I was searching my config files. Which service definition did you want to see (you didn't specify which one)? Thanks for all your help! ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-users at lists.sourceforge.net Sent: Thursday, December 18, 2008 2:19:16 PM Subject: RE: [Nagios-users] Nagios Admin pages nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the "generic-service" service and to a "linux-server" service as below. I'm still not sure as to why this is misbehaving. define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 } define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 12:35:30 PM Subject: RE: [Nagios-users] Nagios Admin pages No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period 24x7 contact_groups admins notification_options c,w,r } -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email glowe at sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. 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 redhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the "generic" service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions "inherit" from the "generic" definition, it seems that the "generic" service is the one that gets used, and has priority, not the "inherited" one. Is that correct? ----- Original Message ---- From: Seth Simmons To: Grant Lowe ; nagios-user Mailinglist Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -----Original Message----- From: Grant Lowe [mailto:glowe at sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ronaldobf at linkway.com.br Sun Dec 21 18:33:49 2008 From: ronaldobf at linkway.com.br (Ronaldo A. Bueno Filho) Date: Sun, 21 Dec 2008 15:33:49 -0200 Subject: Multiple customers Message-ID: People, I am trying configure Nagios to monitor multiple customers. I am trying to figure out what is the best way to do it. Imagine the following situation: I have a customer that uses the subnet 10.1.0.0/16 and also I have the customer 2 that uses the same subnet (10.1.0.0 /16). I am summarizing the addresses. Is there some way to differentiate those customers? I thought in NAT, but when configuring the hosts in the Nagios cfg files, I have to use the public IP (NAT), right? Is there some way to use the real IP address? I thought in DNS to solve this. What is the suggestions? Also, I will have different maps for each customers. How to do it. Regards, -- Ronaldo A. Bueno Filho -- Essa mensagem foi verificada contra v?rus e conte?do malicioso pelo Lisa Antiv?rus. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Dec 22 07:36:11 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 22 Dec 2008 07:36:11 +0100 Subject: Multiple customers In-Reply-To: References: Message-ID: <494F355B.3080904@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ronaldo A. Bueno Filho wrote: > I am trying configure Nagios to monitor multiple customers. I am trying to > figure out what is the best way to do it. > > Imagine the following situation: I have a customer that uses the subnet > 10.1.0.0/16 and also I have the customer 2 that uses the same subnet > (10.1.0.0 /16). I am summarizing the addresses. > > Is there some way to differentiate those customers? I thought in NAT, but > when configuring the hosts in the Nagios cfg files, I have to use the public > IP (NAT), right? Is there some way to use the real IP address? I thought in > DNS to solve this. What is the suggestions? > > Also, I will have different maps for each customers. How to do it. Technically this is not an Nagios issue. Just an issue of working with multiple networks administrated by different organisations. 1. Move to IPv6 and solve the adressing issue once and for all. In the end you now you have to do that sooner or later. 2. Do not accept private addresses. They are not unique so they will not work with multiple networks administered by different admins. With nagios you could install a local server for each customer where the objects will have local addresses for the hosts. And let each local instance report to a global server. But then you must make sure that the hostnames will remain unique on a global level. It is for challenges like this that I think the whole the need for IPv6 may finally sink in into the ICT community so we can get rid of all those stupid NAT constructs. (If you thought this was a tough one you aint seen nothing yet. ) Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklPNVgACgkQBvzDRVjxmYEAewCeLisHovOD3l19CHtKVEJQMTh4 79sAniOxoMHvTernmOb3z+HsGuw3yrIf =fdGm -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Volker.Ganswind at wincanton.eu Mon Dec 22 08:04:21 2008 From: Volker.Ganswind at wincanton.eu (Volker.Ganswind at wincanton.eu) Date: Mon, 22 Dec 2008 07:04:21 +0000 Subject: =?iso-8859-1?q?Volker_Ganswind_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 22.12.2008 nicht im B?ro sein. Ich kehre zur?ck am 12.01.2009. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. Sitz der Gesellschaft: Mannheim Amtsgericht Mannheim HRB 4814 Vorsitzender des Aufsichtsrats: Dr. Walter Hasselkus Geschaeftsfuehrer: Alexander Bauz, Harry W. Dumser, Dr. Wolfgang H?nemann, Thomas Westphal, Dr. Christian Wurst ---------------------------------------------------------- Wir arbeiten ausschliesslich auf Grundlage der Allgemeinen Deutschen Spediteurbedingungen, jeweils neueste Fassung. Diese beschraenken in Ziffer 23 die Haftung fuer Gueterschaeden in speditionellem Gewahrsam auf EUR 5/kg, bei Transporten mit verschiedenen Befoerderungsmitteln unter Einschluss einer Seebefoerderung auf 2 SZR/kg sowie darueber hinaus je Schadenfall bzw. Schadenereignis auf EUR 1 Mio. bzw. EUR 2 Mio. oder 2 SZR/kg je nachdem, welcher Betrag hoeher ist. Ziffer 27 ADSp gilt nicht als Vereinbarung anderer Haftungsh?chstbetr?ge im Sinne Art.25 Montrealer Abkommen. Bei allgemeinen Binnenschiffstransporten gelten unsere Verlade- und Transportbedingungen. Diese begrenzen nach Paragraph 17 die Haftung fuer Gueterschaeden auf 2 SZR/kg. Bei Containerbinnenschiffstransporten gelten die Allgemeinen Geschaeftsbedingungen der Rhinecontainer B.V., Rotterdam. Diese sehen eine Haftung fuer Gueterschaeden bis zu 2 SZR/kg vor, soweit der Ort der Uebernahme und der Ort der Ablieferung des Gutes innerhalb Deutschlands liegen. ---------------------------------------------------------- Wincanton plc is a leading European provider of supply chain solutions. We design, implement and operate creative solutions for customers across Europe. Our business has a turnover of over EUR 2.8bn / ?1.9bn and employs 30,000 staff across 400 locations. Warehousing, transport and specialist services are provided for customers in a range of sectors including automotive, retail, FMCG, petrochemicals and manufacturing. Further information on our unique achievements and competencies can be found by visiting: http://www.wincanton.co.uk. ---------------------------------------------------------- CONFIDENTIAL NOTE: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual(s) to whom it is addressed. If you have received this e-mail in error please contact IT Service Desk on +49 (0) 621 / 8048 - 100 or e-mail it.service at wincanton.eu. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Wincanton GmbH or any of its subsidiary companies. Unauthorised publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachment(s) is strictly prohibited. Wincanton GmbH, Antwerpener Str. 24, D-68219 Mannheim. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.ottavi at medi.fr Mon Dec 22 11:04:15 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Mon, 22 Dec 2008 11:04:15 +0100 Subject: Multiple customers In-Reply-To: References: Message-ID: <494F661F.2050309@medi.fr> Ronaldo A. Bueno Filho a ?crit: > Is there some way to differentiate those customers? I thought in NAT, but > when configuring the hosts in the Nagios cfg files, I have to use the public > IP (NAT), right? Is there some way to use the real IP address? I thought in > DNS to solve this. What is the suggestions? > Hi, As said before, this is not a Nagios problem, it's a network problem. You will have the same issue if you want to do any other administrative tasks on these machines, such as ssh, FTP, VNC, Citrix sessions, etc. Using public IP is not a direct solution. Small businesses usually use a private, internal network in 10.x.x.x, with different subnets for every location, etc... Only a few public IP are available, for communication with the "outside" world (web servers, smtp, etc...). These public IP are usually protected by firewalls. Hence, the first question to ask is : how will you get into the private customer's network ? It is nor advisable to open ports directly on the public IP addresses, because the machines you want to monitor may not be located in DMZ, but may be production servers on the customer'sLAN. Then, you will probably have to build a VPN tunnel between your network and the customer's network. In such a situation, if you have two customers using the same IP range, you can configure NAT on your VPN gateway, so that the two customers appear with two separate IP address ranges : Example : Your LAN network : 10.0.0.0/16. You decide customer's networks, seen by you, will use 10.n.0.0/16, where n is the customer id. - Customer 1 LAN : 10.1.0.0/16. Do not use NAT. - Customer 2 LAN : 10.1.0.0/16. Use NAT to remap this range to 10.2.0.0/16 ... - Customer 17, using custom range of 40.22.0.0/16. Use NAT to remap this range to 10.17.0.0/16 This allows fery flexible management from your side. And this does not require any intrusive change on the customer's network (which may not be allowed). We've been using this scheme for years, for general administration and service purposes. We have a central VPN gateway here. We build standard IPSEC tunnels with customers who already have VPN gateways. And for small customers who don't already have VPN, we install a small appliance which builds a tunnel with us. Hope this helps. Kind regards, -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* *Mail:* t.ottavi at medi.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Mon Dec 22 11:40:52 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Mon, 22 Dec 2008 11:40:52 +0100 Subject: Multiple customers In-Reply-To: <494F355B.3080904@vanderkooij.org> References: <494F355B.3080904@vanderkooij.org> Message-ID: Hi Ronaldo, > > 1. Move to IPv6 and solve the adressing issue once and for all. In the > end you now you have to do that sooner or later. This would be the best option... > > 2. Do not accept private