From marc at ena.com Thu May 1 00:00:26 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Apr 2008 17:00:26 -0500 Subject: No notification on hard state change after anacknowledgement In-Reply-To: <1D47D77A70708D49A3D4A816CE6C69F606E57D38@exchbe1.Americas.nwea.pvt> References: <1D47D77A70708D49A3D4A816CE6C69F606E57D38@exchbe1.Americas.nwea.pvt> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Scott Gwartney > Sent: Wednesday, April 30, 2008 4:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No notification on hard state change after > anacknowledgement > > Sorry for the long subject and post. We're running 2.10 on CentOS 5. When we > acknowledge a service alert that goes into warning, we're not receiving an > alert when it goes into critical. > E drive is acknowledged > > Apr 29 15:11:26 DataCenterMon nagios: EXTERNAL COMMAND: > ACKNOWLEDGE_SVC_PROBLEM;X;Disk Usage E Drive;2;1;1;Nagios Admin;jf You are specifying 'Sticky Acknowledgement'. Command Description This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes from its current state. If you want acknowledgement to disable notifications until the service recovers, check the 'Sticky Acknowledgement' checkbox. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.gwartney at nwea.org Thu May 1 00:11:00 2008 From: scott.gwartney at nwea.org (Scott Gwartney) Date: Wed, 30 Apr 2008 15:11:00 -0700 Subject: No notification on hard state change afteranacknowledgement References: Message-ID: <1D47D77A70708D49A3D4A816CE6C69F604279A50@exchbe1.Americas.nwea.pvt> Thank you for your response, but isn't a change from "Warning" to "Critical" a hard state change? ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Marc Powell Sent: Wed 4/30/2008 3:00 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No notification on hard state change afteranacknowledgement > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Scott Gwartney > Sent: Wednesday, April 30, 2008 4:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No notification on hard state change after > anacknowledgement > > Sorry for the long subject and post. We're running 2.10 on CentOS 5. When we > acknowledge a service alert that goes into warning, we're not receiving an > alert when it goes into critical. > E drive is acknowledged > > Apr 29 15:11:26 DataCenterMon nagios: EXTERNAL COMMAND: > ACKNOWLEDGE_SVC_PROBLEM;X;Disk Usage E Drive;2;1;1;Nagios Admin;jf You are specifying 'Sticky Acknowledgement'. Command Description This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes from its current state. If you want acknowledgement to disable notifications until the service recovers, check the 'Sticky Acknowledgement' checkbox. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 1 00:16:00 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Apr 2008 17:16:00 -0500 Subject: No notification on hard state change afteranacknowledgement In-Reply-To: <1D47D77A70708D49A3D4A816CE6C69F604279A50@exchbe1.Americas.nwea.pvt> References: <1D47D77A70708D49A3D4A816CE6C69F604279A50@exchbe1.Americas.nwea.pvt> Message-ID: > -----Original Message----- > From: Scott Gwartney [mailto:scott.gwartney at nwea.org] > Sent: Wednesday, April 30, 2008 5:11 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] No notification on hard state change > afteranacknowledgement > > Thank you for your response, but isn't a change from "Warning" to "Critical" a > hard state change? Man, today is the day of repeats, I've got to learn to be clearer or make fewer assumptions ;) Yes it is, but re-read that last sentence about Sticky Acknowledgement. A Critical state is not a recovery. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From devinbhullar at gmail.com Thu May 1 04:09:56 2008 From: devinbhullar at gmail.com (Devinder Singh) Date: Thu, 1 May 2008 10:09:56 +0800 Subject: Fwd: MRTG Graf In-Reply-To: References: <8a8640570804292111i210855f1oa3d39112695b9c3e@mail.gmail.com> <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> Message-ID: <8a8640570804301909u1ccbcb6fs5bd46cd41c78c77e@mail.gmail.com> Hi Guys I have downloaded the mrtgtraf plugin using Open SUSE 10.3 this is my configuration please advise if i am on the right track. Thanks Cfgmaker openSuSE:/usr/local/mrtg-2 # cfgmaker --global 'WorkDir: /home/mrtg' --global 'Options[_]: bits,growright' --output /home/mrtg/cfg/mrtg1.cfg 192.168.1.106 When i run the above i get a mrtg.cfg file in /home/mrtg/cfg I ran the following command. I dont get any errors openSuSE:/usr/local/mrtg-2 # /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg1.cfg but i dont see any graphs or charts on statistics/bandwidth. I dont see any log file. I am following the instruction is Nagios define service{ use generic-service ; Inherit values from a template host_name D-Link service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/home/mrtg/cfg/mrtg.cfg!AVG!1000000,1000000!5000000,5000000!10 } I get this error | Port 1 Bandwidth Usage [image: Notifications for this service have been disabled] WARNING 05-01-2008 10:06:50 0d 22h 25m 52s 3/3 MRTG data has expired (20160126 minutes old) Please i need your help on this Devinder 2008/5/1 Israel Brewster : > On Apr 29, 2008, at 8:11 PM, Devinder Singh wrote: > > > > ---------- Forwarded message ---------- > From: Devinder Singh > Date: 2008/4/30 > Subject: MRTG Graf > To: nagiosplug-devel at lists.sourceforge.net > > > > Hi > > I have problems in getting bandwidth statistics using MRTG. > > define service{ > use generic-service ; Inherit values from > a template > host_name D-Link > service_description Port 1 Bandwidth Usage > check_command > check_local_mrtgtraf!/home/mrtg/cfg/mrtg.cfg!AVG!1000000,1000000!5000000,5000000!10 > } > > I tried to run the above command and see the file is outdated. > > i have ran the cfgmaker program and stored the mrtg.cfg in > /home/mrtg/cfg/mrtg.cfg > > Oh, I should also point out that unless you are using a non-standard > mrtgtraf plugin, the file specified in your configuration above should be > the .log file generated my mrtg, not the config file. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > Please advise > > -- > Devinder > > > > -- > Devinder > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Devinder -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From devinbhullar at gmail.com Thu May 1 04:21:48 2008 From: devinbhullar at gmail.com (Devinder Singh) Date: Thu, 1 May 2008 10:21:48 +0800 Subject: Fwd: MRTG Graf In-Reply-To: References: <8a8640570804292111i210855f1oa3d39112695b9c3e@mail.gmail.com> <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> Message-ID: <8a8640570804301921o7c7947d9wf5ab6e75eefe7597@mail.gmail.com> Hi How do i get the following log file 192.168.1.253_1.log i which directory is that log file found I only get a log file in var/log.mrtg.log Pls advise Devinder > define service{ > use generic-service ; Inherit values from a template > host_name linksys-srw224p > service_description Port 1 Bandwidth Usage > check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10 > } > > > > ---------- Forwarded message ---------- > From: Devinder Singh > Date: 2008/4/30 > Subject: MRTG Graf > To: nagiosplug-devel at lists.sourceforge.net > > > > Hi > > I have problems in getting bandwidth statistics using MRTG. > > define service{ > use generic-service ; Inherit values from > a template > host_name D-Link > service_description Port 1 Bandwidth Usage > check_command > check_local_mrtgtraf!/home/mrtg/cfg/mrtg.cfg!AVG!1000000,1000000!5000000,5000000!10 > } > > I tried to run the above command and see the file is outdated. > > i have ran the cfgmaker program and stored the mrtg.cfg in > /home/mrtg/cfg/mrtg.cfg > > Oh, I should also point out that unless you are using a non-standard > mrtgtraf plugin, the file specified in your configuration above should be > the .log file generated my mrtg, not the config file. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > Please advise > > -- > Devinder > > > > -- > Devinder > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Devinder -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 1 11:39:56 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 May 2008 10:39:56 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> Message-ID: <48198FEC.7090008@googlemail.com> Randal, Phil wrote: > The latest version now works fine on my CentOS 5.1 boxes. > > Now all we need is a version which works with python 2.3 so I can check > our CentOS / RHEL 4 boxes. > > Cheers, > > Phil I have a couple of RHEL 4 boxes too but since they didn't ship with yum this didn't seem so relevant. I tried putting yum on one of them a couple of years back and I have to say it was an absolutely awful experience. I had done a relatively minimal install and was then tryied installing yum both by rpm and by source install, both of which landed me in a very bad and messed up circular dependency hell that I couldn't solve without breaking some other stuff. I mean I tried everything, and that was the last time I ever tried a minimal redhat installation (minimal == lower attack surface and all that best practice stuff which redhat never seemed to get into - otherwise I have to go round disabling so much junk on their systems), a very poor choice for tight control and maintainability compared to gentoo or debian (but I digress). Did you install yum manually on RHEL 4? Do you use this as the primary package management tool on RHEL 4 and does it receive security updates? I would have thought not since RedHat only shipped this in version 5 which is why the plugin makes no effort for previous versions of RHEL... but I could be wrong. I figure that upgrades to the version 5 with it's first half-decent package management system using yum by default will solve this, but if anyone wants to correct me or share their experience, feel free and I may reconsider. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 1 12:31:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 01 May 2008 12:31:15 +0200 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <48198FEC.7090008@googlemail.com> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> Message-ID: <48199BF3.7070904@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: | Randal, Phil wrote: |> The latest version now works fine on my CentOS 5.1 boxes. |> |> Now all we need is a version which works with python 2.3 so I can check |> our CentOS / RHEL 4 boxes. |> |> Cheers, |> |> Phil | I have a couple of RHEL 4 boxes too but since they didn't ship with yum | this didn't seem so relevant. I tried putting yum on one of them a | couple of years back and I have to say it was an absolutely awful | experience. I have never touched a real RHEL 4 box. But I run Centos 4 on a number of systems and Centos 4 uses yum for quite a while. They have this nice server CD that allows one to install a server with a minimum of packages and then I add what I need with yum. But needless to say Centos 4 is shipped with python v2.3.4 so the script will not work there. And upgrading to python v2.4 is not a viable option on those machines. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIGZvxBvzDRVjxmYERAnBsAJ9Hx5qkKJaAFPyCFr1U941rM7r4ewCdE+2D FNigLVlojgh5ZpPThehrCvE= =4O3v -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 1 12:33:32 2008 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 1 May 2008 11:33:32 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <48198FEC.7090008@googlemail.com> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA039142BB@HC-MBX02.herefordshire.gov.uk> Oops, I realised after I said it. The only time I used yum on RHEL 4 was to upgrade it to CentOS 4. CentOS 4, of course, ships with yum. I've currently got 4 CentOS 4.6 boxes, 2 CentOS 5.1, and 1 RHEL 4 box, so python 2.3 support would still be a plus. Phil -- Phil Randal Networks Engineer Herefordshire Council Hereford, UK -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 01 May 2008 10:40 To: Randal, Phil Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Announce: Check_Yum for RedHat/CentOS serverpackagealerts Randal, Phil wrote: > The latest version now works fine on my CentOS 5.1 boxes. > > Now all we need is a version which works with python 2.3 so I can > check our CentOS / RHEL 4 boxes. > > Cheers, > > Phil I have a couple of RHEL 4 boxes too but since they didn't ship with yum this didn't seem so relevant. I tried putting yum on one of them a couple of years back and I have to say it was an absolutely awful experience. I had done a relatively minimal install and was then tryied installing yum both by rpm and by source install, both of which landed me in a very bad and messed up circular dependency hell that I couldn't solve without breaking some other stuff. I mean I tried everything, and that was the last time I ever tried a minimal redhat installation (minimal == lower attack surface and all that best practice stuff which redhat never seemed to get into - otherwise I have to go round disabling so much junk on their systems), a very poor choice for tight control and maintainability compared to gentoo or debian (but I digress). Did you install yum manually on RHEL 4? Do you use this as the primary package management tool on RHEL 4 and does it receive security updates? I would have thought not since RedHat only shipped this in version 5 which is why the plugin makes no effort for previous versions of RHEL... but I could be wrong. I figure that upgrades to the version 5 with it's first half-decent package management system using yum by default will solve this, but if anyone wants to correct me or share their experience, feel free and I may reconsider. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cem.isik at bitbrains.nl Thu May 1 12:41:23 2008 From: cem.isik at bitbrains.nl (Cem Vedat ISIK) Date: Thu, 01 May 2008 13:41:23 +0300 Subject: Nagios does not send service recovery messages Message-ID: <1209638483.3324.10.camel@cem.bitbrains.nl> Dear all, I've been using Nagios v2.9 to monitor the HTTP service of a host. When the HTTP Service is in CRITICAL state I and my friends receive "Service Critical Notification" SERVICE NOTIFICATION: cvisik;webserver;Check webserver;CRITICAL;notify-by-email;CRITICAL - Socket timeout after 5 seconds SERVICE NOTIFICATION: friends;webserver;Check webserver;CRITICAL;notify-by-email;CRITICAL - Socket timeout after 5 seconds When the service is UP again, only I receive "Service UP Notification" as seen below. SERVICE ALERT: webserver;Check webserver;OK;HARD;4;HTTP OK HTTP/1.1 200 OK - 17661 bytes in 0.981 seconds SERVICE NOTIFICATION: cvisik;webserver;Check webserver;OK;notify-by-email;HTTP OK HTTP/1.1 200 OK - 17661 bytes in 0 .981 seconds For your info, I have the following in my objects.cfg define service{ use generic-service name check_webserver service_description Check webserver normal_check_interval 5 check_command check_http!http://webserver!5 contact_groups cvisik,friends host_name webserver } define contactgroup { contactgroup_name friends alias Friends members ttdem,ssahe } define contact{ use generic-contact contact_name ttdem alias Teo Dem email {ttdems_email} service_notification_options c,r host_notification_options n service_notification_commands notify-by-email host_notification_commands host-notify-by-email } define contact{ use generic-contact contact_name ssahe alias Sally Sahe email {sshaes_email} service_notification_options c,r host_notification_options n service_notification_commands notify-by-email host_notification_commands host-notify-by-email } What shall I change to make the contactgroups [friends] receive service recovery OK notifications? Thanks in advance. -- Cem ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SRelf at omniture.com Thu May 1 12:47:10 2008 From: SRelf at omniture.com (Steven Relf) Date: Thu, 1 May 2008 04:47:10 -0600 Subject: Monitoring HP arrays on windows with Nagios Message-ID: <519561C26DD9B9489BF279B69D18B87E016E98C2@EXCHANGE0.orm.omniture.com> Hi Guys, Any one got any tips on how to accomplish this? Rgds Steve. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Thu May 1 13:17:41 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 1 May 2008 07:17:41 -0400 Subject: Monitoring HP arrays on windows with Nagios Message-ID: http://www.nagiosexchange.org/cgi-bin/search.cgi?d=1&query=hp+array&Go=G o (you may need to copy and paste the link to get it to work depending on your mail editor) -HTH Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com "Nobody move...I dropped me brain!" - Cap'n Jack Sparrow, Pirates:At Word's End _____ From: Steven Relf [mailto:SRelf at omniture.com] Sent: Thursday, May 01, 2008 6:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring HP arrays on windows with Nagios Hi Guys, Any one got any tips on how to accomplish this? Rgds Steve. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 1 13:52:56 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 01 May 2008 12:52:56 +0100 Subject: Cluster setup Message-ID: <4819AF18.5060604@ng23.net> Hi I will shortly be configuring a couple of nagios hosts in a cluster setup, most likely active/passive, and i wonder if there are 'best practices' for this? I will most likely be setting up for redundancy as opposed 'performance' I have things like NFS from a Netapp available to me so would it be 'easier' to share configs between the hosts by having them on the NFS disk and then use heartbeat to control the VIP or do people do this a different way for Nagios? thanks ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 1 14:03:30 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 May 2008 13:03:30 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <48199BF3.7070904@vanderkooij.org> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> Message-ID: <4819B192.2040507@googlemail.com> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hari Sekhon wrote: > | Randal, Phil wrote: > |> The latest version now works fine on my CentOS 5.1 boxes. > |> > |> Now all we need is a version which works with python 2.3 so I can check > |> our CentOS / RHEL 4 boxes. > |> > |> Cheers, > |> > |> Phil > | I have a couple of RHEL 4 boxes too but since they didn't ship with yum > | this didn't seem so relevant. I tried putting yum on one of them a > | couple of years back and I have to say it was an absolutely awful > | experience. > > I have never touched a real RHEL 4 box. But I run Centos 4 on a number > of systems and Centos 4 uses yum for quite a while. They have this nice > server CD that allows one to install a server with a minimum of packages > and then I add what I need with yum. > > But needless to say Centos 4 is shipped with python v2.3.4 so the script > will not work there. And upgrading to python v2.4 is not a viable option > on those machines. > > Hugo. > Thanks for that feedback Hugo. This does make a good case for adding support for CentOS 4. I don't have any older CentOS, only RHEL so I wasn't aware that CentOS shipped with yum for this to be useful. Since you have made a good case, I have now updated the plugin to have compatibility for the older python 2.3, so pls try the latest version 0.6.6 and let me know how that goes for you on the old systems. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d=1 Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 1 14:07:00 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 01 May 2008 13:07:00 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819B192.2040507@googlemail.com> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> Message-ID: <4819B264.9090002@ng23.net> > > This does make a good case for adding support for CentOS 4. I don't have > any older CentOS, only RHEL so I wasn't aware that CentOS shipped with > yum for this to be useful. > > Since you have made a good case, I have now updated the plugin to have > compatibility for the older python 2.3, so pls try the latest version > 0.6.6 and let me know how that goes for you on the old systems. > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d=1 > we use yum on RHEL 4 a lot so will be trying this out also thanks ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 1 14:17:22 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 May 2008 13:17:22 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819B264.9090002@ng23.net> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> <4819B264.9090002@ng23.net> Message-ID: <4819B4D2.4080203@googlemail.com> Tom Brown wrote: > >> >> This does make a good case for adding support for CentOS 4. I don't >> have any older CentOS, only RHEL so I wasn't aware that CentOS >> shipped with yum for this to be useful. >> >> Since you have made a good case, I have now updated the plugin to >> have compatibility for the older python 2.3, so pls try the latest >> version 0.6.6 and let me know how that goes for you on the old systems. >> >> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d=1 >> >> > > we use yum on RHEL 4 a lot so will be trying this out also > > thanks > Err, slight correction in my typing, I wasn't aware that CentOS *4* shipped with yum as RHEL 4 seems not to, I know my CentOS 5 does have it as does RHEL 5 (finally). I was under the impression that since CentOS is supposed to be purely a rebranded RHEL without the trademark logos etc, that it would follow RHEL closely, so if RHEL 4 didn't ship with yum, then neither would CentOS 4? I guess the CentOS guys realized how big a disadvantage this would be... Did you add yum manually to RHEL 4 and if so, what implications are there for updates then, is there any official repo for that, or only 3rd party. If 3rd party, do they support security information support for yum? Otherwise you'd have to use --all-updates or --warn-on-any-update and keep the whole system up to date if you cannot differentiate between security and normal updates. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 1 14:25:29 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 01 May 2008 14:25:29 +0200 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819B4D2.4080203@googlemail.com> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> <4819B264.9090002@ng23.net> <4819B4D2.4080203@googlemail.com> Message-ID: <4819B6B9.4020308@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: | Tom Brown wrote: |>> This does make a good case for adding support for CentOS 4. I don't |>> have any older CentOS, only RHEL so I wasn't aware that CentOS |>> shipped with yum for this to be useful. |>> |>> Since you have made a good case, I have now updated the plugin to |>> have compatibility for the older python 2.3, so pls try the latest |>> version 0.6.6 and let me know how that goes for you on the old systems. |>> |>> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d=1 |>> |>> |> we use yum on RHEL 4 a lot so will be trying this out also |> |> thanks |> | Err, slight correction in my typing, I wasn't aware that CentOS *4* | shipped with yum as RHEL 4 seems not to, I know my CentOS 5 does have it | as does RHEL 5 (finally). I was under the impression that since CentOS | is supposed to be purely a rebranded RHEL without the trademark logos | etc, that it would follow RHEL closely, so if RHEL 4 didn't ship with | yum, then neither would CentOS 4? I guess the CentOS guys realized how | big a disadvantage this would be... | | Did you add yum manually to RHEL 4 and if so, what implications are | there for updates then, is there any official repo for that, or only 3rd | party. If 3rd party, do they support security information support for | yum? Otherwise you'd have to use --all-updates or --warn-on-any-update | and keep the whole system up to date if you cannot differentiate between | security and normal updates. Centos 4 makes no distinction. There is at least no security plugin for yum. But given this known limitation the plugin works well on Centos 4 here. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIGba2BvzDRVjxmYERApeMAJ0XYvHB0b67Yf1XBKSUL1vaEgf8nwCfdP67 f0hiihISMRIvipxQocaUsHs= =QNSK -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu May 1 14:28:52 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 1 May 2008 08:28:52 -0400 Subject: Cluster setup In-Reply-To: <4819AF18.5060604@ng23.net> References: <4819AF18.5060604@ng23.net> Message-ID: <2274b9c30805010528q35bed06hd74d1af8839dec09@mail.gmail.com> I have nagios on an nfs mount and share between 2 servers. Remember to point the entire var directory to local disk (performance reasons, and because the nagios command pipe wont work over nfs). Monitor the primary server from the secondary server via cron (run check_nrpe/check_by_ssh check_nagios). You can either leave the secondary nagios daemon running, but send an external command to disable notifications and or active checks on startup, then have your cron job send an external command to enable notofications/checks. OR do not leave the nagios daemon running and have your cron job start nagios On 5/1/08, Tom Brown wrote: > Hi > > I will shortly be configuring a couple of nagios hosts in a cluster > setup, most likely active/passive, and i wonder if there are 'best > practices' for this? I will most likely be setting up for redundancy as > opposed 'performance' > > I have things like NFS from a Netapp available to me so would it be > 'easier' to share configs between the hosts by having them on the NFS > disk and then use heartbeat to control the VIP or do people do this a > different way for Nagios? > > thanks > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 1 14:30:46 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 01 May 2008 13:30:46 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819B4D2.4080203@googlemail.com> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> <4819B264.9090002@ng23.net> <4819B4D2.4080203@googlemail.com> Message-ID: <4819B7F6.4050809@ng23.net> > > > Did you add yum manually to RHEL 4 and if so, what implications are > there for updates then, is there any official repo for that, or only > 3rd party. If 3rd party, do they support security information support > for yum? Otherwise you'd have to use --all-updates or > --warn-on-any-update and keep the whole system up to date if you > cannot differentiate between security and normal updates. > > yum was built by us to provide a way to deploy rpm's to machines easily from custom repo's etc - if we need to update we update from yum using local repo's mirrored from upstream. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 1 14:37:32 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 May 2008 13:37:32 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819B6B9.4020308@vanderkooij.org> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> <4819B264.9090002@ng23.net> <4819B4D2.4080203@googlemail.com> <4819B6B9.4020308@vanderkooij.org> Message-ID: <4819B98C.6080503@googlemail.com> Hugo van der Kooij wrote: > Centos 4 makes no distinction. There is at least no security plugin for > yum. But given this known limitation the plugin works well on Centos 4 here. > > Hugo. > Is it that the information is not available on CentOS 4 or that the yum-security plugin is just not installed? Have you tried yum install yum-security Perhaps the yum-security plugin is not available for install in this version? I can't verify since I don't have any CentOS 4 here. The plugin gives this install tip if the security plugin for yum is not available. I found that it was not installed by default on all RHEL 5 systems but was such a useful thing to have that just running the yum install and then re-running the plugin was worth it for the distinction. However, it's up to you, the switches allow you run it either way. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Thu May 1 14:49:47 2008 From: termx23 at gmail.com (Peter Edmonds) Date: Thu, 1 May 2008 22:49:47 +1000 Subject: Cluster setup In-Reply-To: <4819AF18.5060604@ng23.net> References: <4819AF18.5060604@ng23.net> Message-ID: <6b8cee7e0805010549m2139e33byf8faefbebff0ecc3@mail.gmail.com> > I will shortly be configuring a couple of nagios hosts in a cluster > setup, most likely active/passive, and i wonder if there are 'best > practices' for this? I will most likely be setting up for redundancy as > opposed 'performance' > > I have things like NFS from a Netapp available to me so would it be > 'easier' to share configs between the hosts by having them on the NFS > disk and then use heartbeat to control the VIP or do people do this a > different way for Nagios? Has anyone used drbd and heartbeat (as an alternative to NFS) for a redundant Nagios setup ? Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 1 14:55:54 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 May 2008 13:55:54 +0100 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <20080430200037.40810@gmx.net> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> <20080429164938.57530@gmx.net> <481761E5.9020309@googlemail.com> <20080430200037.40810@gmx.net> Message-ID: <4819BDDA.5030705@googlemail.com> Daniel, Could you pls try with the latest version 0.7 on nagiosexchange and let us know if you still have any problem with it? Thanks -h Daniel Guillermo Bareiro wrote: > Hi Hari! > > >>> [ About plugin check_md_raid.pl ] >>> > > >>> I have noticed when removing a member from the raid, running the plugin >>> from Nagios server, it show the RAID in degraded state for a moment. But >>> soon the plugin shows the RAID in OK state. I observe the same situation >>> when adding the member. Initially the script show the RAID in rebuilding >>> state, but a new run of the plugin shows OK status before finishing the >>> ebuilding. Which can be the problem? >>> > > >> show us the output of the plugin with -vvv as well as the mdadm detail >> output. This plugin basically calls mdadm to find the status of the >> drives. >> > > Initial status: > > xenhost7:/usr/local/nagios/libexec/non-std# cat /proc/mdstat > Personalities : [raid1] > md2 : active raid1 sda3[0] sdb3[1] > 292053568 blocks [2/2] [UU] > > md1 : active raid1 sdb2[1] sda2[0] > 19534976 blocks [2/2] [UU] > > md0 : active raid1 sda1[0] sdb1[1] > 979840 blocks [2/2] [UU] > > unused devices: > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl -vvv > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:14:26 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9440 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 active sync /dev/sdb2 > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:18:50 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9440 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 active sync /dev/sdb2 > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > Removing /dev/sdb2 from /dev/md1: > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --manage /dev/md1 --fail /dev/sdb2; \ > >> mdadm --manage /dev/md1 --remove /dev/sdb2; \ >> date; \ >> ./check_md_raid.pl -vvv >> > mdadm: set /dev/sdb2 faulty in /dev/md1 > mdadm: hot removed /dev/sdb2 > mi? abr 30 16:27:55 ART 2008 > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:27:55 2008 > State : active, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9445 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > RAID CRITICAL: Array MD1 is in state "active, degraded" (raid1) > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:29:01 2008 > State : clean, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9458 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > xenhost7:/usr/local/nagios/libexec/non-std# date > mi? abr 30 16:31:28 ART 2008 > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl -vvv > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:31:27 2008 > State : clean, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9490 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK > > Momentarily it shows CRITICAL state. > > Rebuilding: > > xenhost7:/usr/local/nagios/libexec/non-std# date > mi? abr 30 16:44:15 ART 2008 > xenhost7:/usr/local/nagios/libexec/non-std# mdadm /dev/md1 --add /dev/sdb2; ./check_md_raid.pl -vvv > mdadm: re-added /dev/sdb2 > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:50:27 2008 > State : clean, degraded, recovering > Active Devices : 1 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 1 > > Rebuild Status : 0% complete > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9626 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 spare rebuilding /dev/sdb2 > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:53:51 2008 > State : clean, degraded, recovering > Active Devices : 1 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 1 > > Rebuild Status : 74% complete > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9650 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 2 8 18 1 spare rebuilding /dev/sdb2 > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > It shows OK state during reconstruction. > > Thanks in advance for your response. > > Regards, > Daniel > -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 1 15:11:10 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 May 2008 14:11:10 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819B7F6.4050809@ng23.net> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> <4819B264.9090002@ng23.net> <4819B4D2.4080203@googlemail.com> <4819B7F6.4050809@ng23.net> Message-ID: <4819C16E.7060100@googlemail.com> Tom Brown wrote: >> Did you add yum manually to RHEL 4 and if so, what implications are >> there for updates then, is there any official repo for that, or only >> 3rd party. If 3rd party, do they support security information support >> for yum? Otherwise you'd have to use --all-updates or >> --warn-on-any-update and keep the whole system up to date if you >> cannot differentiate between security and normal updates. > > yum was built by us to provide a way to deploy rpm's to machines > easily from custom repo's etc - if we need to update we update from > yum using local repo's mirrored from upstream. > It's not clear though whether or not the 3rd party repos support security package information like yum provides on RHEL 5. You may want to just do a generic --all-updates to return critical for any available update or just --warn-on-any-update to still try to differentiate but warn on non-security packages and upgrade any available packages? I've not managed to get a straight answer out of anyone on how 3rd party repos affect the security of a system with regards to managed security updates. The usual evasive answer is that Redhat only provide support for their limited official repository, but where does this leave people who use all these 3rd party repos to make up for the deficiency of the official repo? This is why I prefer Gentoo and Debian's more comprehensive official repositories that are managed better and have security updates. If anyone knows more about 3rd party repository and security updates this I'd love to hear it as I hate the idea of getting security updates for only a subset of the total installed packages (hence why --warn-on-any-update may be useful to try to get around this) -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 1 15:21:48 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 01 May 2008 15:21:48 +0200 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819B98C.6080503@googlemail.com> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> <4819B264.9090002@ng23.net> <4819B4D2.4080203@googlemail.com> <4819B6B9.4020308@vanderkooij.org> <4819B98C.6080503@googlemail.com> Message-ID: <4819C3EC.2010308@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: | Hugo van der Kooij wrote: |> Centos 4 makes no distinction. There is at least no security plugin for |> yum. But given this known limitation the plugin works well on Centos 4 here. |> |> Hugo. |> | Is it that the information is not available on CentOS 4 or that the | yum-security plugin is just not installed? Have you tried | | yum install yum-security Tried that. But that plugin does not exist for Centos 4. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIGcPqBvzDRVjxmYERAngQAKCuJjJja90l4EwWIE1bZwSbJrdYgwCdEXIV a//zqtyiuRFCMSlgKBA6kdU= =8oGL -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 1 16:02:38 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 01 May 2008 15:02:38 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts In-Reply-To: <4819C3EC.2010308@vanderkooij.org> References: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> <48198FEC.7090008@googlemail.com> <48199BF3.7070904@vanderkooij.org> <4819B192.2040507@googlemail.com> <4819B264.9090002@ng23.net> <4819B4D2.4080203@googlemail.com> <4819B6B9.4020308@vanderkooij.org> <4819B98C.6080503@googlemail.com> <4819C3EC.2010308@vanderkooij.org> Message-ID: <4819CD7E.6020801@googlemail.com> Hugo van der Kooij wrote: > Hari Sekhon wrote: > | Hugo van der Kooij wrote: > |> Centos 4 makes no distinction. There is at least no security plugin for > |> yum. But given this known limitation the plugin works well on Centos > 4 here. > |> > |> Hugo. > |> > | Is it that the information is not available on CentOS 4 or that the > | yum-security plugin is just not installed? Have you tried > | > | yum install yum-security > > Tried that. But that plugin does not exist for Centos 4. > > Hugo. > Ah, shame. Well, at least you can use --all-updates to just get a generic count of the updates. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 1 16:56:59 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 01 May 2008 15:56:59 +0100 Subject: Nagios 2.5 > 3.x Any issues Message-ID: <4819DA3B.8010409@ng23.net> Hi I will be deploying a clustered setup as previously mentioned and we are on version 2.5 with our current setup - Is the 2.5 to 3.x migration pretty painless? thanks ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 1 17:18:32 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 01 May 2008 16:18:32 +0100 Subject: Nagios 2.5 > 3.x Any issues In-Reply-To: References: Message-ID: <4819DF48.6030501@ng23.net> > http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x > > That should answer any questions you have about the upgrade. (you may > need to copy and paste the link depending on your mail client) > great thanks ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Thu May 1 18:11:58 2008 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 1 May 2008 08:11:58 -0800 Subject: Fwd: MRTG Graf In-Reply-To: <8a8640570804301921o7c7947d9wf5ab6e75eefe7597@mail.gmail.com> References: <8a8640570804292111i210855f1oa3d39112695b9c3e@mail.gmail.com> <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> <8a8640570804301921o7c7947d9wf5ab6e75eefe7597@mail.gmail.com> Message-ID: <67C9745D-5F8C-461B-9CD6-23034E7D394A@frontierflying.com> On Apr 30, 2008, at 6:21 PM, Devinder Singh wrote: > > Hi > > How do i get the following log file > 192.168.1.253_1.log i which directory is that log file found > > I only get a log file in var/log.mrtg.log > > Pls advise > Devinder The location that MRTG uses for your log files is defined in your mrtg.cfg file, specifically the "WorkDir:" directive. Keep in mind, these files are not created until MRTG has been run successfully. If they don't exist, and you have run MRTG, it would make sense to look at the /var/log/mrtg.log file to see if maybe MRTG isn't running properly, or is generating some error. I would HIGHLY recommend that you read through http://oss.oetiker.ch/mrtg/doc/mrtg-unix- guide.en.html , and perhaps some of the other associated MRTG documentation to get a better understanding of how MRTG works and how to set it up- this stuff is all explained in there. Also, the MRTG mailing lists would be a better place for questions regarding setting up and using MRTG. After that, if you still have issues specifically with integrating the MRTG data with nagios, this would be an appropriate place to ask those questions. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > define service{ > use generic-service ; Inherit values from a template > > host_name linksys-srw224p > service_description Port 1 Bandwidth Usage > check_command check_local_mrtgtraf!/var/lib/mrtg/ > 192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10 > } >> >> >> ---------- Forwarded message ---------- >> From: Devinder Singh >> Date: 2008/4/30 >> Subject: MRTG Graf >> To: nagiosplug-devel at lists.sourceforge.net >> >> >> >> Hi >> >> I have problems in getting bandwidth statistics using MRTG. >> >> define service{ >> use generic-service ; Inherit >> values from a template >> host_name D-Link >> service_description Port 1 Bandwidth Usage >> check_command check_local_mrtgtraf!/home/mrtg/cfg/ >> mrtg.cfg!AVG!1000000,1000000!5000000,5000000!10 >> } >> >> I tried to run the above command and see the file is outdated. >> >> i have ran the cfgmaker program and stored the mrtg.cfg in /home/ >> mrtg/cfg/mrtg.cfg > > Oh, I should also point out that unless you are using a non-standard > mrtgtraf plugin, the file specified in your configuration above > should be the .log file generated my mrtg, not the config file. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- >> >> >> Please advise >> >> -- >> Devinder >> >> >> >> -- >> Devinder >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > > > > -- > Devinder -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Thu May 1 18:49:26 2008 From: angeolivier2003 at yahoo.fr (Ange Olivier AMBEMOU) Date: Thu, 1 May 2008 16:49:26 +0000 (GMT) Subject: nagios npre Message-ID: <219352.90106.qm@web26109.mail.ukl.yahoo.com> hi all i am new to nagios and i want to know if is possible to use nagios to reboot on pc or service with command check_something, i see check_npre can be use to make check for a remote box . help me please. __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicit?s http://mail.yahoo.fr Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu May 1 18:55:48 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 1 May 2008 12:55:48 -0400 Subject: nagios npre In-Reply-To: <219352.90106.qm@web26109.mail.ukl.yahoo.com> References: <219352.90106.qm@web26109.mail.ukl.yahoo.com> Message-ID: <2274b9c30805010955i5ea597a1m66acfc282a478814@mail.gmail.com> if you use sudo to execute the reboot command sure. On 5/1/08, Ange Olivier AMBEMOU wrote: > hi all > > i am new to nagios and i want to know if is possible to use nagios to reboot > on pc or service with command check_something, i see check_npre can be use > to make check for a remote box . help me please. > > > __________________________________________________ > Do You Yahoo!? > En finir avec le spam? Yahoo! Mail vous offre la meilleure protection > possible contre les messages non sollicit?s > http://mail.yahoo.fr Yahoo! Mail ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu May 1 20:42:09 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 1 May 2008 14:42:09 -0400 Subject: No notification on hard state change afteranacknowledgement In-Reply-To: References: <1D47D77A70708D49A3D4A816CE6C69F604279A50@exchbe1.Americas.nwea.pvt> Message-ID: <20080501184209.GX8697@cgi.jachomes.com> On Wed, Apr 30, 2008 at 05:16:00PM -0500, Marc Powell wrote: > From: Scott Gwartney [mailto:scott.gwartney at nwea.org] > > Thank you for your response, but isn't a change from "Warning" to > > "Critical" a hard state change? > > Man, today is the day of repeats, I've got to learn to be clearer or > make fewer assumptions ;) Yes it is, but re-read that last sentence > about Sticky Acknowledgement. A Critical state is not a recovery. Naw; the doco you're quoting isn't entirely clear. The first part applies to all Acks that *don't* say sticky; the last sentence says how that changes for Sticky. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Thu May 1 21:33:44 2008 From: BChan at Shawcor.com (Brian Chan) Date: Thu, 1 May 2008 15:33:44 -0400 Subject: Chan, Brian is out of the office. Message-ID: I will be out of the office starting 05/01/2008 and will not return until 05/05/2008. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LEHMANJ at us.panasonic.com Thu May 1 22:13:50 2008 From: LEHMANJ at us.panasonic.com (Lehman, John) Date: Thu, 1 May 2008 16:13:50 -0400 Subject: Question on Escalations In-Reply-To: <2274b9c30805010955i5ea597a1m66acfc282a478814@mail.gmail.com> References: <219352.90106.qm@web26109.mail.ukl.yahoo.com> <2274b9c30805010955i5ea597a1m66acfc282a478814@mail.gmail.com> Message-ID: <92D10CCDDE96C2418F010DBBCD2F573A5CFF5A@usmecas0010357.america.gds.panasonic.com> Hello all, I have a quick question on escalations. (The question is at the end of the email) The following is how I have my hosts.cfg file configured. # Generic host definition template define host{ name generic-host6 ; The name of this host template - referenced in other host definitions, used for template recursion/resolution check_command check-host-alive contact_groups Emails_to_My_Staff max_check_attempts 10 notification_interval 10 notification_period 24x7 notification_options d,r notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host6 ; Name of host template to use host_name 6506-RBB1 alias Switch 1 address 1.1.1.1 } | | |other host definitions follow but I am not listing them here. | | | | |the I list the service definition and other stuff which works fine | | | | Now my Escaltions are configured as follows in the SAME host FILE: #################################################################### # # The following are the host escalations for this file # #################### Host Group Listing ############################ define hostescalation{ hostgroup_name Critical_Devices first_notification 2 last_notification 15 notification_interval 10 contact_groups Pager,Critical_Devices_Pager } define hostescalation{ hostgroup_name Critical_Devices first_notification 6 last_notification 15 notification_interval 10 contact_groups Managers,CDManagers } My question is the following: Emails_to_My_Staff then Pager,Critical_Devices_Pager However, the Managers,CDManagers groups never get the notification that the host is down. Am I missing something here??? Thank you so much in advance. Regards, John ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Melin at co.hennepin.mn.us Thu May 1 22:19:22 2008 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Thu, 1 May 2008 15:19:22 -0500 Subject: No notification on hard state change afteranacknowledgement Message-ID: I have a sort of related question.... The default for acknowledgements is sticky, notifiy and persistant are all checked. Is there a way to change the behaviour so that sticky is not checked by default? We have a few services that if they go in to warning, the area in charge of them doesn't want a ticket opened. They get the e-mail(s) but they don't need a problem opened. BUT if the warnign is acknowledged with sticky, and the service goes critical, no warning e-mail is sent. >From page 8 of the nagios manual for 2.x it clearly indicates this is the behaviour: "Sticky" acknowledgements - You can now designate host and service acknowledgements as being "sticky" or not. Sticky acknowledgements suppress notifications until a host or service fully recovers to an UP or OK state. Non-sticky acknowledgements only suppress notifications until a host or service changes state. We would prefer non-sticky acknowledgement to be the default behavior, since there are many alerts for which a warning moving to critical require different action, or a change in action. Is this possible? -J nagios-users-bounces at lists.sourceforge.net wrote on 05/01/2008 01:42:09 PM: > On Wed, Apr 30, 2008 at 05:16:00PM -0500, Marc Powell wrote: > > From: Scott Gwartney [mailto:scott.gwartney at nwea.org] > > > Thank you for your response, but isn't a change from "Warning" to > > > "Critical" a hard state change? > > > > Man, today is the day of repeats, I've got to learn to be clearer or > > make fewer assumptions ;) Yes it is, but re-read that last sentence > > about Sticky Acknowledgement. A Critical state is not a recovery. > > Naw; the doco you're quoting isn't entirely clear. > > The first part applies to all Acks that *don't* say sticky; the last > sentence says how that changes for Sticky. > > Cheers, > -- jra > -- > Jay R. Ashworth Baylink jra at baylink.com > Designer The Things I Think RFC 2100 > Ashworth & Associates http://baylink.pitas.com '87 e24 > St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 > > Those who cast the vote decide nothing. > Those who count the vote decide everything. Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srmiller at interbel.net Thu May 1 22:42:57 2008 From: srmiller at interbel.net (Scott Miller) Date: Thu, 1 May 2008 14:42:57 -0600 Subject: Monitor a Linux Machine Message-ID: <010601c8abcb$f0194d80$f07b1c0a@SCOTTTOWERNEW> I have nagios 3.x installed as per the quick install guide, and it seems to be working fine with the default config, looking only at localhost. Server: Fedora Core 4 I'm having a bit of trouble setting it up to monitor another Linux machine. I've read the docs, and it said to: 1. Create a Host Definition: /usr/local/nagios/etc/objects/servers.cfg (owned by nagios) define host{ use generic-host ; Inherit default values from a template host_name remotehost ; The name we're giving to this host alias Some Remote Host ; A longer name associated with the host address 192.168.1.50 ; IP address of the host hostgroups allhosts ; Host groups this host is associated with } 2. Create Service Definitions: /usr/local/nagios/etc/objects/servers.cfg (in same file as above) define service{ use generic-service ; Inherit default values from a template host_name remotehost service_description HTTP check_command check_ping!200.0,20%!600.0,60% } I then edited nagios.cfg and inserted this line: cfg_file=/usr/local/nagios/etc/objects/servers.cfg When I then restart the nagios process, it fails with: Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. I the comment out the cfg_file line I've inserted in the nagios.cfg file, and it restarts just fine. The directions say I can have the Host definition and Service definition in any object configuration file specified by a cfg_file directive. It's been a few years since I've messed with nagios, but I was certain there was more to do than the above. I've read through the docs and just don't see where I went wrong. Anyone have any pointers or suggestions? Thanks, Scott Miller ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 1 23:13:11 2008 From: marc at ena.com (Marc Powell) Date: Thu, 1 May 2008 16:13:11 -0500 Subject: No notification on hard state change afteranacknowledgement In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jim.Melin at co.hennepin.mn.us > Sent: Thursday, May 01, 2008 3:19 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] No notification on hard state change > afteranacknowledgement > > > I have a sort of related question.... > > We would prefer non-sticky acknowledgement to be the default behavior, since > there are many alerts for which a warning moving to critical require > different action, or a change in action. cgi/cmd.c -- case CMD_ACKNOWLEDGE_SVC_PROBLEM: printf("Host Name:"); printf("",host_name); printf("\n"); printf("Service:"); printf("",service_desc); if(cmd==CMD_ACKNOWLEDGE_SVC_PROBLEM){ printf("Sticky Acknowledgement:"); printf(""); CHECKED is hard-coded with no if{} around it so it's not configurable. You'd need to edit the src code to remove 'CHECKED' and recompile. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 1 23:17:28 2008 From: marc at ena.com (Marc Powell) Date: Thu, 1 May 2008 16:17:28 -0500 Subject: Monitor a Linux Machine In-Reply-To: <010601c8abcb$f0194d80$f07b1c0a@SCOTTTOWERNEW> References: <010601c8abcb$f0194d80$f07b1c0a@SCOTTTOWERNEW> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Scott Miller > Sent: Thursday, May 01, 2008 3:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitor a Linux Machine > > I have nagios 3.x installed as per the quick install guide, and it seems to > be working fine with the default config, looking only at localhost. > > 2. Create Service Definitions: > > /usr/local/nagios/etc/objects/servers.cfg (in same file as above) > > define service{ > use generic-service ; Inherit default values from a > template > host_name remotehost > service_description HTTP > check_command check_ping!200.0,20%!600.0,60% > } Not relevant to your problem (likely), but PING is probably a better service_description. > Running configuration check... CONFIG ERROR! Restart aborted. Check your > Nagios configuration. Run /path/to/nagios -v /path/to/nagios.cfg to check your Nagios configuration. It will detail the cause of the error. > The directions say I can have the Host definition and Service definition in > any object configuration file specified by a cfg_file directive. That's correct. > It's been a few years since I've messed with nagios, but I was certain there > was more to do than the above. I've read through the docs and just don't > see where I went wrong. > > Anyone have any pointers or suggestions? I have a suspicion but verifying your config will be better than guessing. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cixelsydego at hotmail.com Thu May 1 23:29:14 2008 From: cixelsydego at hotmail.com (steven craig) Date: Thu, 1 May 2008 17:29:14 -0400 Subject: (no subject) Message-ID: Hello all, I am a new poster to the nagios mailing list; however, I have used nagios for a number of years now. I am having an issue where the status and extinfo CGIs stop updating. Our west coast nagios setup consists of one physical master server, and one physical slave server. The slave server runs 5 nagios instances, each with approximately 500 - 1000 service checks. All total, we have 3400 service checks being accepted by the master. We are currently running nagios 3.0.1. The os/arch/type is CentOS5, x86_64, and each server has 8 intel cores and 16GB of RAM. We were experiencing extremely high latency in our service checks (thousands and thousands and thousands of seconds) and realized that this was primarily due to the serial nature of nsca. Sending each service check result individually back to the master would take seconds each, and the slave check queues would back up behind that process. We did a little poking around and installed the ocsp sweeper from nagios exchange, which immediately cured our performance issues. Now, however, we experience very strange behavior: some handful of hours after each nagios restart, the webUI CGIs will stop displaying accurate performance information (services passively checked for 1 min - 1 hr report 0, and only the 'since program start' reports a number) and - more troubling - the status CGI does not update. Has anyone experienced this issue before? Thanks. Steven C _________________________________________________________________ Back to work after baby?how do you know when you?re ready? http://lifestyle.msn.com/familyandparenting/articleNW.aspx?cp-documentid=5797498&ocid=T067MSN40A0701A -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srmiller at interbel.net Thu May 1 23:39:48 2008 From: srmiller at interbel.net (Scott Miller) Date: Thu, 1 May 2008 15:39:48 -0600 Subject: Monitor a Linux Machine In-Reply-To: References: <010601c8abcb$f0194d80$f07b1c0a@SCOTTTOWERNEW> Message-ID: <016701c8abd3$e11fb5a0$f07b1c0a@SCOTTTOWERNEW> Thanks everyone for your help. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg really is my best friend. Found all the errors, and now it's happy. Thanks for all the help. Scott Miller -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, May 01, 2008 3:17 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor a Linux Machine > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Scott Miller > Sent: Thursday, May 01, 2008 3:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitor a Linux Machine > > I have nagios 3.x installed as per the quick install guide, and it seems to > be working fine with the default config, looking only at localhost. > > 2. Create Service Definitions: > > /usr/local/nagios/etc/objects/servers.cfg (in same file as above) > > define service{ > use generic-service ; Inherit default values from a > template > host_name remotehost > service_description HTTP > check_command check_ping!200.0,20%!600.0,60% > } Not relevant to your problem (likely), but PING is probably a better service_description. > Running configuration check... CONFIG ERROR! Restart aborted. Check your > Nagios configuration. Run /path/to/nagios -v /path/to/nagios.cfg to check your Nagios configuration. It will detail the cause of the error. > The directions say I can have the Host definition and Service definition in > any object configuration file specified by a cfg_file directive. That's correct. > It's been a few years since I've messed with nagios, but I was certain there > was more to do than the above. I've read through the docs and just don't > see where I went wrong. > > Anyone have any pointers or suggestions? I have a suspicion but verifying your config will be better than guessing. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elijah at aclue.com Thu May 1 23:49:13 2008 From: elijah at aclue.com (Eli Klein) Date: Thu, 1 May 2008 15:49:13 -0600 Subject: Duplicate host alerts Message-ID: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> I'm running nagios 3.0.1. When a host goes down, I get two host alerts instead of one: Number 1: --------------- -----Original Message----- From: Nagios Role Account Sent: Thu 5/1/08 3:24 PM To: Eli Klein Subject: ** PROBLEM Host Alert: cots027 is DOWN ** ***** Nagios ***** Notification Type: PROBLEM Host: cots027 State: DOWN Address: 10.32.1.71 Info: FPING CRITICAL - 10.32.1.71 (loss=100% ) Date/Time: Thu May 1 15:24:27 MDT 2008 URL to acknowledge: http://co-labnagios.eng.trans.corp/cgi-bin/extinfo.cgi?type=1&host=cots027 Number 2 (always 10 minutes later): ------------------------------------------------------------------- -----Original Message----- From: Nagios Role Account Sent: Thu 5/1/08 3:34 PM To: Eli Klein Subject: ** PROBLEM Host Alert: cots027 is DOWN ** ***** Nagios ***** Notification Type: PROBLEM Host: cots027 State: DOWN Address: 10.32.1.71 Info: CRITICAL - Host Unreachable (10.32.1.71) Date/Time: Thu May 1 15:34:05 MDT 2008 One oddity here is that I've modified the 'notify-host-by-email' command to include the nagios URL for the host that's having problems. The second alert doesn't include this URL. This leads me to believe it's something internal. In addition to these alerts, I also get 2 recovery e-mails each time. Any help is greatly appreciated. Thank you! -Eli ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 2 00:23:07 2008 From: marc at ena.com (Marc Powell) Date: Thu, 1 May 2008 17:23:07 -0500 Subject: Duplicate host alerts In-Reply-To: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Eli Klein > Sent: Thursday, May 01, 2008 4:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Duplicate host alerts > > I'm running nagios 3.0.1. When a host goes down, I get two host > alerts instead of one: > One oddity here is that I've modified the 'notify-host-by-email' > command to include the nagios URL for the host that's having problems. > The second alert doesn't include this URL. This leads me to believe > it's something internal. Yup, definitely a clue. You have two nagios daemons running at the same time, one running with the original config and one with the new. -- Marc p.s. no pun intended originally up there. I _just_ saw your e-mail address. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elijah at aclue.com Fri May 2 00:35:01 2008 From: elijah at aclue.com (Eli Klein) Date: Thu, 1 May 2008 16:35:01 -0600 Subject: Duplicate host alerts In-Reply-To: References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> Message-ID: <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> Already got one response to this effect.. unfortunately, there is definitely only one nagios process running and it's current (if I stop/start nagios there's only the newest nagios process running). It certainly is behaving as though there are two processes running though. On Thu, May 1, 2008 at 4:23 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Eli Klein > > Sent: Thursday, May 01, 2008 4:49 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Duplicate host alerts > > > > I'm running nagios 3.0.1. When a host goes down, I get two host > > alerts instead of one: > > > > > One oddity here is that I've modified the 'notify-host-by-email' > > command to include the nagios URL for the host that's having problems. > > The second alert doesn't include this URL. This leads me to believe > > it's something internal. > > Yup, definitely a clue. You have two nagios daemons running at the same > time, one running with the original config and one with the new. > > -- > Marc > > p.s. no pun intended originally up there. I _just_ saw your e-mail > address. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Fri May 2 11:38:03 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Fri, 2 May 2008 13:38:03 +0400 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <4819BDDA.5030705@googlemail.com> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> <20080429164938.57530@gmx.net> <481761E5.9020309@googlemail.com> <20080430200037.40810@gmx.net> <4819BDDA.5030705@googlemail.com> Message-ID: <058601c8ac38$382b0a70$a8811f50$@ru> Hello! Could you please assist me in troubleshooting the following issue with check_md_raid plugin: I've built a software raid-1 array on my Linux Debian 4.0 box (2.6.18-6-686) during the installation of my system; everything was fine and I decided to try check_md_raid plugin which I've downloaded on the nagiosexchange.org. According to the documentation I expected to see the "Crtitcal state" when I ran this plugin after removing disk from the array but the plugin said that my arrays was fine: ############Checking /proc/mdstsat before disk removal############ backup:/home/rage# cat /proc/mdstat Personalities : [raid1] md5 : active raid1 sdb7[1] sda7[0] 450301824 blocks [2/2] [UU] md4 : active raid1 sda6[0] sdb6[1] 2048192 blocks [2/2] [UU] md3 : active raid1 sdb5[1] sda5[0] 5116544 blocks [2/2] [UU] md2 : active raid1 sdb3[1] sda3[0] 15358016 blocks [2/2] [UU] md1 : active raid1 sdb2[1] sda2[0] 15358016 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 200704 blocks [2/2] [UU] unused devices: ############Checking with check_md_raid plugin############ backup:/home/rage# ./check_raid -vv found array /dev/md0 found array /dev/md1 found array /dev/md2 found array /dev/md3 found array /dev/md4 found array /dev/md5 Now testing raid device "/dev/md0" Now testing raid device "/dev/md1" Now testing raid device "/dev/md2" Now testing raid device "/dev/md3" Now testing raid device "/dev/md4" Now testing raid device "/dev/md5" RAID OK: All arrays OK ############Removing disk from /dev/md3 array############ backup:/home/rage# mdadm --manage /dev/md3 --fail /dev/sdb5 mdadm: set /dev/sdb5 faulty in /dev/md3 backup:/home/rage# mdadm --manage /dev/md3 --remove /dev/sdb5 mdadm: hot removed /dev/sdb5 ############Checking with check_md_raid plugin############ backup:/home/rage# ./check_raid -vvv finding all MD arrays via mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 found array /dev/md3 found array /dev/md4 found array /dev/md5 Now testing raid device "/dev/md0" /dev/md0: Version : 00.90.03 Creation Time : Wed Apr 23 07:39:40 2008 Raid Level : raid1 Array Size : 200704 (196.03 MiB 205.52 MB) Device Size : 200704 (196.03 MiB 205.52 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Fri May 2 06:25:41 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 4235adda:adcd3bf7:0bbf16e3:cde7c9c1 Events : 0.36 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Now testing raid device "/dev/md1" /dev/md1: Version : 00.90.03 Creation Time : Wed Apr 23 07:40:30 2008 Raid Level : raid1 Array Size : 15358016 (14.65 GiB 15.73 GB) Device Size : 15358016 (14.65 GiB 15.73 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri May 2 09:23:29 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 27e7cc8c:8b076820:3f0631c7:50aeba23 Events : 0.11386 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 Now testing raid device "/dev/md2" /dev/md2: Version : 00.90.03 Creation Time : Wed Apr 23 07:41:01 2008 Raid Level : raid1 Array Size : 15358016 (14.65 GiB 15.73 GB) Device Size : 15358016 (14.65 GiB 15.73 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Fri May 2 09:23:28 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 4964ab24:c608cc36:833021fc:ab2f90db Events : 0.12598 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 Now testing raid device "/dev/md3" /dev/md3: Version : 00.90.03 Creation Time : Wed Apr 23 07:41:34 2008 Raid Level : raid1 Array Size : 5116544 (4.88 GiB 5.24 GB) Device Size : 5116544 (4.88 GiB 5.24 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 3 Persistence : Superblock is persistent Update Time : Fri May 2 09:23:23 2008 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : 7550f78b:22061677:db94040d:31b9e596 Events : 0.11074 Number Major Minor RaidDevice State 0 8 5 0 active sync /dev/sda5 1 0 0 1 removed Now testing raid device "/dev/md4" /dev/md4: Version : 00.90.03 Creation Time : Wed Apr 23 07:51:35 2008 Raid Level : raid1 Array Size : 2048192 (2000.52 MiB 2097.35 MB) Device Size : 2048192 (2000.52 MiB 2097.35 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 4 Persistence : Superblock is persistent Update Time : Thu May 1 23:02:03 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 2b779a4b:867b80d4:0df60a29:6eb4b4e7 Events : 0.4 Number Major Minor RaidDevice State 0 8 6 0 active sync /dev/sda6 1 8 22 1 active sync /dev/sdb6 Now testing raid device "/dev/md5" /dev/md5: Version : 00.90.03 Creation Time : Wed Apr 23 07:52:43 2008 Raid Level : raid1 Array Size : 450301824 (429.44 GiB 461.11 GB) Device Size : 450301824 (429.44 GiB 461.11 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 5 Persistence : Superblock is persistent Update Time : Fri May 2 09:24:27 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 47a093e7:74a56506:25bd5055:3fb58c39 Events : 0.14316 Number Major Minor RaidDevice State 0 8 7 0 active sync /dev/sda7 1 8 23 1 active sync /dev/sdb7 RAID OK: All arrays OK ############Checking /proc/mdstat############ backup:/home/rage# cat /proc/mdstat Personalities : [raid1] md5 : active raid1 sdb7[1] sda7[0] 450301824 blocks [2/2] [UU] md4 : active raid1 sda6[0] sdb6[1] 2048192 blocks [2/2] [UU] md3 : active raid1 sda5[0] 5116544 blocks [2/1] [U_] md2 : active raid1 sdb3[1] sda3[0] 15358016 blocks [2/2] [UU] md1 : active raid1 sdb2[1] sda2[0] 15358016 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 200704 blocks [2/2] [UU] unused devices: ############Checking with mdadm############ backup:/home/rage# mdadm --detail --scan /dev/md3 /dev/md3: Version : 00.90.03 Creation Time : Wed Apr 23 07:41:34 2008 Raid Level : raid1 Array Size : 5116544 (4.88 GiB 5.24 GB) Device Size : 5116544 (4.88 GiB 5.24 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 3 Persistence : Superblock is persistent Update Time : Fri May 2 09:25:18 2008 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : 7550f78b:22061677:db94040d:31b9e596 Events : 0.11080 Number Major Minor RaidDevice State 0 8 5 0 active sync /dev/sda5 1 0 0 1 removed So the check_md_raid plugin don't see a degraded state of the array. How could I check the array and cause a Critical state after running the plugin? Waiting for reply. Thanks in advance, Ilya. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Thursday, May 01, 2008 4:56 PM To: Daniel Guillermo Bareiro Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring software RAID in Debian GNU/Linux Daniel, Could you pls try with the latest version 0.7 on nagiosexchange and let us know if you still have any problem with it? Thanks -h Daniel Guillermo Bareiro wrote: > Hi Hari! > > >>> [ About plugin check_md_raid.pl ] >>> > > >>> I have noticed when removing a member from the raid, running the plugin >>> from Nagios server, it show the RAID in degraded state for a moment. But >>> soon the plugin shows the RAID in OK state. I observe the same situation >>> when adding the member. Initially the script show the RAID in rebuilding >>> state, but a new run of the plugin shows OK status before finishing the >>> ebuilding. Which can be the problem? >>> > > >> show us the output of the plugin with -vvv as well as the mdadm detail >> output. This plugin basically calls mdadm to find the status of the >> drives. >> > > Initial status: > > xenhost7:/usr/local/nagios/libexec/non-std# cat /proc/mdstat > Personalities : [raid1] > md2 : active raid1 sda3[0] sdb3[1] > 292053568 blocks [2/2] [UU] > > md1 : active raid1 sdb2[1] sda2[0] > 19534976 blocks [2/2] [UU] > > md0 : active raid1 sda1[0] sdb1[1] > 979840 blocks [2/2] [UU] > > unused devices: > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl -vvv > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:14:26 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9440 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 active sync /dev/sdb2 > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:18:50 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9440 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 active sync /dev/sdb2 > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > Removing /dev/sdb2 from /dev/md1: > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --manage /dev/md1 --fail /dev/sdb2; \ > >> mdadm --manage /dev/md1 --remove /dev/sdb2; \ >> date; \ >> ./check_md_raid.pl -vvv >> > mdadm: set /dev/sdb2 faulty in /dev/md1 > mdadm: hot removed /dev/sdb2 > mi? abr 30 16:27:55 ART 2008 > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:27:55 2008 > State : active, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9445 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > RAID CRITICAL: Array MD1 is in state "active, degraded" (raid1) > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:29:01 2008 > State : clean, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9458 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > xenhost7:/usr/local/nagios/libexec/non-std# date > mi? abr 30 16:31:28 ART 2008 > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl -vvv > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:31:27 2008 > State : clean, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9490 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK > > Momentarily it shows CRITICAL state. > > Rebuilding: > > xenhost7:/usr/local/nagios/libexec/non-std# date > mi? abr 30 16:44:15 ART 2008 > xenhost7:/usr/local/nagios/libexec/non-std# mdadm /dev/md1 --add /dev/sdb2; ./check_md_raid.pl -vvv > mdadm: re-added /dev/sdb2 > finding all MD arrays via mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:50:27 2008 > State : clean, degraded, recovering > Active Devices : 1 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 1 > > Rebuild Status : 0% complete > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9626 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 spare rebuilding /dev/sdb2 > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Wed Apr 30 16:53:51 2008 > State : clean, degraded, recovering > Active Devices : 1 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 1 > > Rebuild Status : 74% complete > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9650 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 2 8 18 1 spare rebuilding /dev/sdb2 > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > It shows OK state during reconstruction. > > Thanks in advance for your response. > > Regards, > Daniel > -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Fri May 2 12:45:33 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Fri, 2 May 2008 11:45:33 +0100 Subject: FW: Problems with nagios Message-ID: -----Original Message----- Sent: 14 March 2008 10:52 To: nagios-users at lists.sourceforge.net > In the past I have reported problems when our master server has failed > with "Out of memory" problems caused by all server memory and swap space > being used up. I have largely (but not completely) solved these by > increasing the number of "Command" and "Check result" buffers. Regular readers of the list will remember that reported this problem which was affecting our nagios installation. I finally solved the problem about a month ago. The key is that I am using the NDOUTILS package to write the Nagios logs and configuration to a MySQL database. On the MySQL server there is a cron job which uses a program called mysqlhotcopy to create a snapshot of all of the MySQL databases. It does this by locking the tables whilst they are being copied. This causes the Nagios daemon on the master server to wait until the latest write request to MySQL is completed. Whilst the Nagios daemon is waiting the NSCA daemon is busy writing results to the command file which cannot be processed until the MySQL table locks are released. However the number of commands is too many to be processed before the command reaper starts again. This uses up command buffer slots and eventually the system runs out of memory and swap space, processes are killed by the OOM hander (Linux OS) and possibly the system crashes because all memory is used up. The solution to the problem was to exclude the nagios database from consideration by the mysqlhotcopy backup (there is a configuration option to do this). The lesson to learn is that when there is a problem you need to consider what is happening on all the computer systems involved in Nagios. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Fri May 2 13:05:08 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Fri, 2 May 2008 12:05:08 +0100 Subject: Nagios service and host event handlers during service and host down time Message-ID: We have started using Nagios service and host event handlers to trigger 24 hour callouts for our critical hosts and services. However today we had a situation when a host was put into downtime, but callouts were triggered for a number of services on this host. Does a host downtime period have any effect on service checks on that host ? Do we have to put the services into downtime as well if the host is still up and known to Nagios ? I did check the on-line documentation but I could not see any explanation of situations like this. Any help would be much appreciated. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Fri May 2 14:16:04 2008 From: angeolivier2003 at yahoo.fr (kermit le kermit) Date: Fri, 2 May 2008 12:16:04 +0000 (GMT) Subject: use npre to execute a script Message-ID: <834488.2047.qm@web26106.mail.ukl.yahoo.com> hi all, someone know how write a script and execute this script to remote box with npre thanks for your help. __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicit?s http://mail.yahoo.fr Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 2 14:37:06 2008 From: marc at ena.com (Marc Powell) Date: Fri, 2 May 2008 07:37:06 -0500 Subject: Duplicate host alerts In-Reply-To: <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> Message-ID: <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> On May 1, 2008, at 5:35 PM, Eli Klein wrote: > Already got one response to this effect.. unfortunately, there is > definitely only one nagios process running and it's current (if I > stop/start nagios there's only the newest nagios process running). It > certainly is behaving as though there are two processes running > though. Well, unless you have two different notification commands, both assigned to that contact, that's really the most likely (only?) possibility. I admit this could be a first and a new bug in 3.0.1 but I personally can't understand how it could happen otherwise. Nagios just doesn't retain command{} definitions between restarts and loads them new every time it starts. The fact that it's using an old, and a new, notification command makes this pretty certain. When you stop nagios and view processes, there no nagios process at all? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 2 14:55:46 2008 From: marc at ena.com (Marc Powell) Date: Fri, 2 May 2008 07:55:46 -0500 Subject: use npre to execute a script In-Reply-To: <834488.2047.qm@web26106.mail.ukl.yahoo.com> References: <834488.2047.qm@web26106.mail.ukl.yahoo.com> Message-ID: <09CC3F3E-06C8-4EA1-A203-E77C61324F27@ena.com> On May 2, 2008, at 7:16 AM, kermit le kermit wrote: > hi all, > > someone know how write a script and execute this script to remote > box with npre thanks for your help. ...teaching how to fish... See http://nagiosplug.sourceforge.net/developer-guidelines.html for information on how to write nagios plugins. See the NRPE documentation on how to configure NRPE to execute above plugin on remote box. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Fri May 2 15:27:03 2008 From: angeolivier2003 at yahoo.fr (kermit le kermit) Date: Fri, 2 May 2008 13:27:03 +0000 (GMT) Subject: NRPE: Unable to read output Message-ID: <532228.52591.qm@web26102.mail.ukl.yahoo.com> hello all i use nagios to monitoring smtp server on debian (postfix), and i make a test to reboot this service when he shutdown with npre. example: /usr/local/nagios/libexec/check_npre -H smtp_server -c script_to_reboot_postfix when i send this i have this mistake : NRPE: Unable to read output please help me __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicit?s http://mail.yahoo.fr Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 2 16:11:02 2008 From: marc at ena.com (Marc Powell) Date: Fri, 2 May 2008 09:11:02 -0500 Subject: NRPE: Unable to read output In-Reply-To: <532228.52591.qm@web26102.mail.ukl.yahoo.com> References: <532228.52591.qm@web26102.mail.ukl.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of kermit le kermit > Sent: Friday, May 02, 2008 8:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE: Unable to read output > > > hello all > > i use nagios to monitoring smtp server on debian (postfix), and i make a test > to reboot this service when he shutdown with npre. > > > example: /usr/local/nagios/libexec/check_npre -H smtp_server -c > script_to_reboot_postfix > > > when i send this i have this mistake : NRPE: Unable to read output check_nrpe expects the script it calls to be a nagios plugin and to behave appropriately. The Developer Guidelines specify that nagios plugins must output (at least) one line of text and to exit with the proper exit code. It appears your script does not output any text, at the least. It also appears that you are going to try to use check_nrpe as an event_handler instead of its intended purpose of running check plugins. There aren't any inherent reasons that I can think of why that wouldn't work and since nagios doesn't check for errors from the execution of an event_handler, the above error probably isn't critical. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elijah at aclue.com Fri May 2 16:22:17 2008 From: elijah at aclue.com (Eli Klein) Date: Fri, 2 May 2008 08:22:17 -0600 Subject: Duplicate host alerts In-Reply-To: <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> Message-ID: <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> Correct, there are no running nagios processes after I stop nagios. The other two odd behaviors are: 1) This host unreachable alert doesn't match my checkcommands.cfg notify command and is coming every 30 minutes (10 minutes after the other alerts on the very first notify), where all of my notification_intervals are set to 60 minutes. 2) Even when I disable alerts for all the host's services and for the host itself, I still get alerts like this: -----Original Message----- From: Nagios Role Account Sent: Thursday, May 01, 2008 10:42 PM To: Eli Klein Subject: ** PROBLEM Host Alert: coswf020 is DOWN ** ***** Nagios ***** Notification Type: PROBLEM Host: coswf020 State: DOWN Address: 10.34.1.26 Info: CRITICAL - Host Unreachable (10.34.1.26) Date/Time: Thu May 1 22:42:25 MDT 2008 Thanks for any help! -Eli On Fri, May 2, 2008 at 6:37 AM, Marc Powell wrote: > > On May 1, 2008, at 5:35 PM, Eli Klein wrote: > > Already got one response to this effect.. unfortunately, there is > > definitely only one nagios process running and it's current (if I > > stop/start nagios there's only the newest nagios process running). It > > certainly is behaving as though there are two processes running > > though. > > Well, unless you have two different notification commands, both > assigned to that contact, that's really the most likely (only?) > possibility. I admit this could be a first and a new bug in 3.0.1 but > I personally can't understand how it could happen otherwise. Nagios > just doesn't retain command{} definitions between restarts and loads > them new every time it starts. The fact that it's using an old, and a > new, notification command makes this pretty certain. When you stop > nagios and view processes, there no nagios process at all? > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Fri May 2 16:23:45 2008 From: BChan at Shawcor.com (Brian Chan) Date: Fri, 2 May 2008 10:23:45 -0400 Subject: Chan, Brian is out of the office. Message-ID: I will be out of the office starting Mon 04/28/2008 and will not return until Mon 05/05/2008. I will respond to your message when I return. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Fri May 2 16:46:04 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Fri, 02 May 2008 16:46:04 +0200 Subject: Duplicate host alerts In-Reply-To: <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> Message-ID: <481B292C.9050402@process-zero.de> Eli Klein schrieb: > Correct, there are no running nagios processes after I stop nagios. > The other two odd behaviors are: > > 1) This host unreachable alert doesn't match my checkcommands.cfg > notify command and is coming every 30 minutes (10 minutes after the > other alerts on the very first notify), where all of my > notification_intervals are set to 60 minutes. > hm... sounds like have "is_volatile 1" in your service defs. 1. Notification: Plugin said CRITICAL with 100% loss 2. Notification: Plugin said CRITICAL but with unreachable > 2) Even when I disable alerts for all the host's services and for the > host itself, I still get alerts like this: > The docs doesn't mention that volataile service are ignoring that... so: Are you realy sure? ;) > -----Original Message----- > From: Nagios Role Account > Sent: Thursday, May 01, 2008 10:42 PM > To: Eli Klein > Subject: ** PROBLEM Host Alert: coswf020 is DOWN ** > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: coswf020 > State: DOWN > Address: 10.34.1.26 > Info: CRITICAL - Host Unreachable (10.34.1.26) > > Date/Time: Thu May 1 22:42:25 MDT 2008 > > Thanks for any help! > > -Eli > > On Fri, May 2, 2008 at 6:37 AM, Marc Powell wrote: >> On May 1, 2008, at 5:35 PM, Eli Klein wrote: >>> Already got one response to this effect.. unfortunately, there is >>> definitely only one nagios process running and it's current (if I >>> stop/start nagios there's only the newest nagios process running). It >>> certainly is behaving as though there are two processes running >>> though. >> Well, unless you have two different notification commands, both >> assigned to that contact, that's really the most likely (only?) >> possibility. I admit this could be a first and a new bug in 3.0.1 but >> I personally can't understand how it could happen otherwise. Nagios >> just doesn't retain command{} definitions between restarts and loads >> them new every time it starts. The fact that it's using an old, and a >> new, notification command makes this pretty certain. When you stop >> nagios and view processes, there no nagios process at all? >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 2 17:06:47 2008 From: marc at ena.com (Marc Powell) Date: Fri, 2 May 2008 10:06:47 -0500 Subject: Duplicate host alerts In-Reply-To: <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> References: <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Eli Klein > Sent: Friday, May 02, 2008 9:22 AM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Duplicate host alerts > > Correct, there are no running nagios processes after I stop nagios. > The other two odd behaviors are: > > 1) This host unreachable alert doesn't match my checkcommands.cfg > notify command and is coming every 30 minutes (10 minutes after the > other alerts on the very first notify), where all of my > notification_intervals are set to 60 minutes. > > 2) Even when I disable alerts for all the host's services and for the > host itself, I still get alerts like this: You've certainly got me baffled. Every symptom you've described so far is consistent with my original hypothesis and nothing else I can remember seeing in my 6+ years here, or can think of, fits it. Do you use escalations? Does your escalated contact use a different notification command? You don't happen to have a test nagios box running somewhere else do you? ;) You've verified that you do see both notification in your maillog on that box? If it were me, I'd be getting to the point of extreme measures and go through my configs making sure that there were no other notification commands, change the notification command to do something completely different like log to a file only, stop nagios, verify all dead, grep through var/* to make sure there were no references to the old notification command and restart. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Fri May 2 17:21:11 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Fri, 2 May 2008 11:21:11 -0400 Subject: Upgrade to Hardy? [UPDATE] In-Reply-To: <9179DC579128514D8035295BE49187E70FBB2EFA@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E70FBB2EFA@mail2.fidelitynational.com> Message-ID: <9179DC579128514D8035295BE49187E70FBB2F32@mail2.fidelitynational.com> Went ahead and ran the upgrade from Gutsy to Hardy and Nagios is still working just as before. Now my freenx on the other hand.... ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh Wells Sent: Monday, April 28, 2008 2:18 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Upgrade to Hardy? I'm running Nagios 3.0 on Ubuntu Gutsy Server at the moment and considering upgrading to Hardy. Has anyone running nagios on an Ubuntu server done this or know of any problems? Don't want to break nagios. Thanks. Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Fri May 2 18:32:24 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Fri, 2 May 2008 16:32:24 +0000 (GMT) Subject: nagios status map Message-ID: <12436.88704.qm@web23314.mail.ird.yahoo.com> I set the parent-child relationship but the maps are overlapping. How can I avoid the status map overlapping? can you help? please ----- Original Message ---- From: "tom.welsh at bt.com" To: trevor_obba at yahoo.co.uk; nagios-users at lists.sourceforge.net Sent: Tuesday, 29 April, 2008 12:49:17 PM Subject: Re: [Nagios-users] nagios status map Hi Trevor, You have not framed your question very well. Do you mean you do not have a statusmap.cgi or do you require some tips on setting up a statusmap? If it is the later, then you need to set parent-host relationships. If its the former then look on the FAQ as it tells you what you need to install to ensure that statusmap id built. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of trevor obba Sent: Tue 29/04/2008 12:31 To: nagios-user Subject: [Nagios-users] nagios status map I am running nagios 2.10, monitoring 260 hosts and 1700 services. However I am having difficulties getting status map, I have read the manual several times but no joy. I would like any sort of nagios status map 2 D or 3 D status maps. Can help? please __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge..net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri May 2 18:13:21 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 02 May 2008 17:13:21 +0100 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts In-Reply-To: <48187DBF.90404@vanderkooij.org> References: <481869EA.2060300@googlemail.com> <481877DF.7070201@vanderkooij.org> <48187DBF.90404@vanderkooij.org> Message-ID: <481B3DA1.6060605@googlemail.com> Hugo van der Kooij wrote: > | There is a design bug: > | You must be root to run this plugin (otherwise yum cannot access > | repository information) > > And just to be sure. I can even run yum as nagios user: > > # su - nagios -c "yum check-update" > Loading "installonlyn" plugin > Loading "security" plugin > Setting up repositories > Reading repository metadata in from local files > Skipping security plugin, no data > > clamav.i386 0.93-2.el5.rf rpmforge > > clamav-db.i386 0.93-2.el5.rf rpmforge > > clamd.i386 0.93-2.el5.rf rpmforge > > # su - nagios -c "yum update" > Loading "installonlyn" plugin > Loading "security" plugin > You need to be root to perform this command. > > So why does this nagios plugin need to run with root priviliges? > > Hugo. > I've just found out that running yum check-update as a regular user does not report all the available updates and therefore if you want a really want to keep track of it, you need to run it as root. I knew there was a good reason why I had originally done this, I just couldn't remember what it was. Technically this is not the fault of the plugin itself but of yum and I'm not currently sure if this is by design. It appears that the normal user account can only see updates from rpmforge, and not from the official RHEL repository which is where the vast majority of the updates come from. Why this is I have not yet determined, it may be an intentional thing on the part of Redhat in order to try to prevent users from seeing the vulnerable components, although this would be very weak. I have not updated the plugin to force root privileges but I have just made a warning note on the NagiosExchange page telling people that it is advisable to run the plugin as root to be sure to get all of the updates. If I can bend yum to not require root privileges then I'd prefer this as well, but most of all I'd prefer to get all the updates and not have yum lie to me leaving me with an insecure non-updated system. It would have been preferable of the yum writers to make the thing fail outright so we could deal with it more easily than to silently fail leaving us guessing... If anyone has any wisdom they care to share on this, I'd be happy to hear it and perhaps update the plugin accordingly. Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elijah at aclue.com Fri May 2 17:39:01 2008 From: elijah at aclue.com (elijah at aclue.com) Date: Fri, 2 May 2008 15:39:01 +0000 Subject: Duplicate host alerts In-Reply-To: <481B292C.9050402@process-zero.de> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com><3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com><481B292C.9050402@process-zero.de> Message-ID: <1200108899-1209742719-cardhu_decombobulator_blackberry.rim.net-87157915-@bxe145.bisx.prod.on.blackberry> This sounds very promising.. I'll check my templates when I get in front of a machine. So does this directive ignore the global 'notification_enable 0' in nagios.conf as well? I added that and I'm still getting those alerts. Sent via BlackBerry from T-Mobile -----Original Message----- From: Hendrik B?cker Date: Fri, 02 May 2008 16:46:04 To:Nagios Users Mailinglist Subject: Re: [Nagios-users] Duplicate host alerts Eli Klein schrieb: > Correct, there are no running nagios processes after I stop nagios. > The other two odd behaviors are: > > 1) This host unreachable alert doesn't match my checkcommands.cfg > notify command and is coming every 30 minutes (10 minutes after the > other alerts on the very first notify), where all of my > notification_intervals are set to 60 minutes. > hm... sounds like have "is_volatile 1" in your service defs. 1. Notification: Plugin said CRITICAL with 100% loss 2. Notification: Plugin said CRITICAL but with unreachable > 2) Even when I disable alerts for all the host's services and for the > host itself, I still get alerts like this: > The docs doesn't mention that volataile service are ignoring that... so: Are you realy sure? ;) > -----Original Message----- > From: Nagios Role Account > Sent: Thursday, May 01, 2008 10:42 PM > To: Eli Klein > Subject: ** PROBLEM Host Alert: coswf020 is DOWN ** > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: coswf020 > State: DOWN > Address: 10.34.1.26 > Info: CRITICAL - Host Unreachable (10.34.1.26) > > Date/Time: Thu May 1 22:42:25 MDT 2008 > > Thanks for any help! > > -Eli > > On Fri, May 2, 2008 at 6:37 AM, Marc Powell wrote: >> On May 1, 2008, at 5:35 PM, Eli Klein wrote: >>> Already got one response to this effect.. unfortunately, there is >>> definitely only one nagios process running and it's current (if I >>> stop/start nagios there's only the newest nagios process running). It >>> certainly is behaving as though there are two processes running >>> though. >> Well, unless you have two different notification commands, both >> assigned to that contact, that's really the most likely (only?) >> possibility. I admit this could be a first and a new bug in 3.0.1 but >> I personally can't understand how it could happen otherwise. Nagios >> just doesn't retain command{} definitions between restarts and loads >> them new every time it starts. The fact that it's using an old, and a >> new, notification command makes this pretty certain. When you stop >> nagios and view processes, there no nagios process at all? >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Fri May 2 19:05:22 2008 From: daniel-listas at gmx.net (Daniel Guillermo Bareiro) Date: Fri, 02 May 2008 19:05:22 +0200 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <4819BDDA.5030705@googlemail.com> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> <20080429164938.57530@gmx.net> <481761E5.9020309@googlemail.com> <20080430200037.40810@gmx.net> <4819BDDA.5030705@googlemail.com> Message-ID: <20080502170522.269170@gmx.net> > Daniel, Hi Hari > Could you pls try with the latest version 0.7 on nagiosexchange and > let us know if you still have any problem with it? I don't remember to have seen this version 0.7. It seems the last update was May 1 in Nagiosexchange. A new version in the International day of workers. extraordinary!! :-D With the new version I got the same problem :-( ############## Initial state xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon Apr 28 11:42:28 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.2 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri May 2 13:50:45 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9746 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Mon Apr 28 18:31:36 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.8 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl.1 -vvv finding all MD arrays via: /sbin/mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 Now testing raid device "/dev/md0" /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon Apr 28 11:42:28 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.2 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Now testing raid device "/dev/md1" /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri May 2 13:51:30 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9746 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 Now testing raid device "/dev/md2" /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Mon Apr 28 18:31:36 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.8 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 RAID OK: All arrays OK [3 arrays checked] ############## Removing /dev/sdb2 from /dev/md1 xenhost7:/usr/local/nagios/libexec/non-std# mdadm --manage /dev/md1 --fail /dev/sdb2 mdadm: set /dev/sdb2 faulty in /dev/md1 xenhost7:/usr/local/nagios/libexec/non-std# mdadm --manage /dev/md1 --remove /dev/sdb2 mdadm: hot removed /dev/sdb2 xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon Apr 28 11:42:28 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.2 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri May 2 13:54:44 2008 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9764 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 0 0 1 removed /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Mon Apr 28 18:31:36 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.8 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl.1 -vvv finding all MD arrays via: /sbin/mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 Now testing raid device "/dev/md0" /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon Apr 28 11:42:28 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.2 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Now testing raid device "/dev/md1" /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri May 2 13:55:54 2008 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9772 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 0 0 1 removed Now testing raid device "/dev/md2" /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Mon Apr 28 18:31:36 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.8 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 RAID OK: All arrays OK [3 arrays checked] ############## Rebuilding state xenhost7:/usr/local/nagios/libexec/non-std# mdadm /dev/md1 --add /dev/sdb2 mdadm: re-added /dev/sdb2 xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon Apr 28 11:42:28 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.2 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri May 2 13:58:40 2008 State : clean, degraded, recovering Active Devices : 1 Working Devices : 2 Failed Devices : 0 Spare Devices : 1 Rebuild Status : 14% complete UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9808 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 2 8 18 1 spare rebuilding /dev/sdb2 /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Mon Apr 28 18:31:36 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.8 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl.1 -vvv finding all MD arrays via: /sbin/mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 Now testing raid device "/dev/md0" /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon Apr 28 11:42:28 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.2 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Now testing raid device "/dev/md1" /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri May 2 13:59:28 2008 State : clean, degraded, recovering Active Devices : 1 Working Devices : 2 Failed Devices : 0 Spare Devices : 1 Rebuild Status : 29% complete UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9818 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 2 8 18 1 spare rebuilding /dev/sdb2 Now testing raid device "/dev/md2" /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Mon Apr 28 18:31:36 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.8 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 RAID OK: All arrays OK [3 arrays checked] I'm using Debian GNU/Linux Etch with mdadm 2.5.6-9. Thanks for your response. Regards, Daniel -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elijah at aclue.com Sat May 3 00:54:02 2008 From: elijah at aclue.com (Eli Klein) Date: Fri, 2 May 2008 16:54:02 -0600 Subject: Duplicate host alerts In-Reply-To: <481B292C.9050402@process-zero.de> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> <481B292C.9050402@process-zero.de> Message-ID: <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> Unfortunately, is_volatile is 0.. I do see the mails going out in my maillog, though I don't see anything in the nagios log for these alerts. On 5/2/08, Hendrik B??cker wrote: > > > Eli Klein schrieb: > > Correct, there are no running nagios processes after I stop nagios. > > The other two odd behaviors are: > > > > 1) This host unreachable alert doesn't match my checkcommands.cfg > > notify command and is coming every 30 minutes (10 minutes after the > > other alerts on the very first notify), where all of my > > notification_intervals are set to 60 minutes. > > > hm... sounds like have "is_volatile 1" in your service defs. > 1. Notification: Plugin said CRITICAL with 100% loss > 2. Notification: Plugin said CRITICAL but with unreachable > > > > 2) Even when I disable alerts for all the host's services and for the > > host itself, I still get alerts like this: > > > > The docs doesn't mention that volataile service are ignoring that... so: > Are you realy sure? ;) > > > -----Original Message----- > > From: Nagios Role Account > > Sent: Thursday, May 01, 2008 10:42 PM > > To: Eli Klein > > Subject: ** PROBLEM Host Alert: coswf020 is DOWN ** > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > Host: coswf020 > > State: DOWN > > Address: 10.34.1.26 > > Info: CRITICAL - Host Unreachable (10.34.1.26) > > > > Date/Time: Thu May 1 22:42:25 MDT 2008 > > > > Thanks for any help! > > > > -Eli > > > > On Fri, May 2, 2008 at 6:37 AM, Marc Powell wrote: > >> On May 1, 2008, at 5:35 PM, Eli Klein wrote: > >>> Already got one response to this effect.. unfortunately, there is > >>> definitely only one nagios process running and it's current (if I > >>> stop/start nagios there's only the newest nagios process running). It > >>> certainly is behaving as though there are two processes running > >>> though. > >> Well, unless you have two different notification commands, both > >> assigned to that contact, that's really the most likely (only?) > >> possibility. I admit this could be a first and a new bug in 3.0.1 but > >> I personally can't understand how it could happen otherwise. Nagios > >> just doesn't retain command{} definitions between restarts and loads > >> them new every time it starts. The fact that it's using an old, and a > >> new, notification command makes this pretty certain. When you stop > >> nagios and view processes, there no nagios process at all? > >> > >> -- > >> Marc > >> > >> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > >> Don't miss this year's exciting event. There's still time to save $100. > >> Use priority code J8TL2D2. > >> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: 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 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Sun May 4 12:05:01 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Sun, 4 May 2008 14:05:01 +0400 Subject: Strange notification problem In-Reply-To: <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> <481B292C.9050402@process-zero.de> <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> Message-ID: <000f01c8adce$528a6950$f79f3bf0$@ru> Hello mailing list! I have a very strange problem in my nagios configuration that I can't figure out. If anybody could assist me in troubleshooting I'll be very grateful. So the problem is that one of my service_notification_commands (notify-service-by-sms) is not working for ONE (1) host when notifying about CRITICAL state. The RECOVERY stats works fine for all hosts with this command. It's realy strange because this same command works fine and notifies me when I have service problems on other host for example for the host ITNA I get both CRITICAL and RECOVERY states notified by sms on my mobile phone. The notify-service-by-email works fine for all hosts for all service stats. My configuration is in the end of my letter. The problem host is "backup" and the working host is "itna". #########Contacts.cfg######### define contact{ contact_name nagiosadmin use generic-contact alias OA administrators # email all_oa at infosec.ru #commented for testing purposeses # pager 89165637274 #commented for testing purposeses } define contact{ contact_name Rustam use generic-contact alias Rustam Makhmudov pager 89191054315 } define contact{ contact_name Ilya use generic-contact alias Ilya Meylikhov pager 89165637274 } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin, Rustam, Ilya } #########Templates.cfg######### define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s host_notification_options d,u,r,f,s service_notification_commands notify-service-by-sms, notify-service-by-email host_notification_commands notify-host-by-sms, notify-host-by-email register 0 } define host{ name linux-server use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period workhours notification_interval 120 notification_options d,u,r contact_groups admins register 0 } 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 service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 90 notification_period 24x7 register 0 } #########Hosts.cfg######### define host{ use linux-server host_name itna alias ITNA (Infosec mail relay server #1) address 192.168.200.51 } define host{ use linux-server host_name backup alias Checkpoint Backup Server address 192.168.210.11 } #########Commands.cfg######### define command{ command_name notify-host-by-sms command_line echo "Host [$HOSTNAME$ $HOSTALIAS$] status:$HOSTOUTPUT$ [$LONGDATETIME$]" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 } define command{ command_name notify-service-by-sms command_line echo "Host [$HOSTNAME$ $HOSTALIAS$] service [$SERVICEDESC$] status [$SERVICESTATE$:$SERVICEOUTPUT$] [$LONGDATETIME$]" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 } #########Services.cfg######### #ITNA HOST define service{ use generic-service host_name itna service_description Current Users check_command check_nrpe!check_users } define service{ use generic-service host_name itna service_description /dev/sda1 Free Space check_command check_nrpe!check_sda1 } define service{ use generic-service host_name itna service_description /dev/sda7 Free Space check_command check_nrpe!check_sda7 } define service{ use generic-service host_name itna service_description /dev/hda4 Free Space check_command check_nrpe!check_sda4 } define service{ use generic-service host_name itna service_description /dev/sda5 Free Space check_command check_nrpe!check_sda5 } define service{ use generic-service host_name itna service_description /dev/sda2 Free Space check_command check_nrpe!check_sda2 } #BACKUP HOST define service{ use generic-service host_name backup service_description Check RAID /dev/md0 check_command check_by_ssh_disk_md0 } define service{ use generic-service host_name backup service_description Check RAID /dev/md1 check_command check_by_ssh_disk_md1 } define service{ use generic-service host_name backup service_description Check RAID /dev/md2 check_command check_by_ssh_disk_md2 } define service{ use generic-service host_name backup service_description Check RAID /dev/md3 check_command check_by_ssh_disk_md3 } define service{ use generic-service host_name backup service_description Check RAID /dev/md5 check_command check_by_ssh_disk_md5 } define service{ use generic-service host_name backup service_description Check ammount of users check_command check_by_ssh_users } define service{ use generic-service host_name backup service_description Check Load check_command check_by_ssh_load } define service{ use generic-service host_name backup service_description Check Raid Health check_command check_md_raid Log messages: [1209895271] SERVICE NOTIFICATION: Ilya;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-email;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895271] SERVICE NOTIFICATION: Ilya;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-sms;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: Rustam;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-email;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: Rustam;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-sms;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: nagiosadmin;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-email;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: nagiosadmin;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-sms;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. The only difference between backup host and itna host is that one monitored by nrpe plugin and the other is monitored by check_by_ssh plugin. Could it be the problem? My system is: Nagios 3.05b under Linux Debian 4 2.6.18-6-686, nrpe-2.10. Thanks in advance, Ilya. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Mon May 5 08:06:46 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Mon, 5 May 2008 10:06:46 +0400 Subject: Strange notification problem In-Reply-To: <000f01c8adce$528a6950$f79f3bf0$@ru> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> <481B292C.9050402@process-zero.de> <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> <000f01c8adce$528a6950$f79f3bf0$@ru> Message-ID: <005501c8ae76$341c6830$9c553890$@ru> I've solved the problem - the CRITICAL state output of some services on this host had more than 160 symbols - gnokii was unable to send an SMS that is more than 160 symbols. Btw maybe anyone knows how to make gnokii send sms which contains more than 160 symbols? Ilya. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ilya Meylikhov Sent: Sunday, May 04, 2008 2:05 PM To: 'Nagios Users Mailinglist' Subject: [Nagios-users] Strange notification problem Hello mailing list! I have a very strange problem in my nagios configuration that I can't figure out. If anybody could assist me in troubleshooting I'll be very grateful. So the problem is that one of my service_notification_commands (notify-service-by-sms) is not working for ONE (1) host when notifying about CRITICAL state. The RECOVERY stats works fine for all hosts with this command. It's realy strange because this same command works fine and notifies me when I have service problems on other host for example for the host ITNA I get both CRITICAL and RECOVERY states notified by sms on my mobile phone. The notify-service-by-email works fine for all hosts for all service stats. My configuration is in the end of my letter. The problem host is "backup" and the working host is "itna". #########Contacts.cfg######### define contact{ contact_name nagiosadmin use generic-contact alias OA administrators # email all_oa at infosec.ru #commented for testing purposeses # pager 89165637274 #commented for testing purposeses } define contact{ contact_name Rustam use generic-contact alias Rustam Makhmudov pager 89191054315 } define contact{ contact_name Ilya use generic-contact alias Ilya Meylikhov pager 89165637274 } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin, Rustam, Ilya } #########Templates.cfg######### define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s host_notification_options d,u,r,f,s service_notification_commands notify-service-by-sms, notify-service-by-email host_notification_commands notify-host-by-sms, notify-host-by-email register 0 } define host{ name linux-server use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period workhours notification_interval 120 notification_options d,u,r contact_groups admins register 0 } 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 service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 90 notification_period 24x7 register 0 } #########Hosts.cfg######### define host{ use linux-server host_name itna alias ITNA (Infosec mail relay server #1) address 192.168.200.51 } define host{ use linux-server host_name backup alias Checkpoint Backup Server address 192.168.210.11 } #########Commands.cfg######### define command{ command_name notify-host-by-sms command_line echo "Host [$HOSTNAME$ $HOSTALIAS$] status:$HOSTOUTPUT$ [$LONGDATETIME$]" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 } define command{ command_name notify-service-by-sms command_line echo "Host [$HOSTNAME$ $HOSTALIAS$] service [$SERVICEDESC$] status [$SERVICESTATE$:$SERVICEOUTPUT$] [$LONGDATETIME$]" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 } #########Services.cfg######### #ITNA HOST define service{ use generic-service host_name itna service_description Current Users check_command check_nrpe!check_users } define service{ use generic-service host_name itna service_description /dev/sda1 Free Space check_command check_nrpe!check_sda1 } define service{ use generic-service host_name itna service_description /dev/sda7 Free Space check_command check_nrpe!check_sda7 } define service{ use generic-service host_name itna service_description /dev/hda4 Free Space check_command check_nrpe!check_sda4 } define service{ use generic-service host_name itna service_description /dev/sda5 Free Space check_command check_nrpe!check_sda5 } define service{ use generic-service host_name itna service_description /dev/sda2 Free Space check_command check_nrpe!check_sda2 } #BACKUP HOST define service{ use generic-service host_name backup service_description Check RAID /dev/md0 check_command check_by_ssh_disk_md0 } define service{ use generic-service host_name backup service_description Check RAID /dev/md1 check_command check_by_ssh_disk_md1 } define service{ use generic-service host_name backup service_description Check RAID /dev/md2 check_command check_by_ssh_disk_md2 } define service{ use generic-service host_name backup service_description Check RAID /dev/md3 check_command check_by_ssh_disk_md3 } define service{ use generic-service host_name backup service_description Check RAID /dev/md5 check_command check_by_ssh_disk_md5 } define service{ use generic-service host_name backup service_description Check ammount of users check_command check_by_ssh_users } define service{ use generic-service host_name backup service_description Check Load check_command check_by_ssh_load } define service{ use generic-service host_name backup service_description Check Raid Health check_command check_md_raid Log messages: [1209895271] SERVICE NOTIFICATION: Ilya;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-email;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895271] SERVICE NOTIFICATION: Ilya;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-sms;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: Rustam;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-email;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: Rustam;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-sms;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: nagiosadmin;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-email;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. [1209895272] SERVICE NOTIFICATION: nagiosadmin;backup;Check Raid Health;CUSTOM (CRITICAL);notify-service-by-sms;RAID CRITICAL: 1 array not ok - Array MD3 is in state clean, degraded (raid1) [6 arrays checked];OA administrators;. The only difference between backup host and itna host is that one monitored by nrpe plugin and the other is monitored by check_by_ssh plugin. Could it be the problem? My system is: Nagios 3.05b under Linux Debian 4 2.6.18-6-686, nrpe-2.10. Thanks in advance, Ilya. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From secrookie at gmail.com Mon May 5 09:21:39 2008 From: secrookie at gmail.com (secrookie at gmail.com) Date: Mon, 5 May 2008 17:21:39 +1000 Subject: Plugin to monitor keyword in a logfile on the Windows platform? Message-ID: Does anyone know if there is a plugin avalaible to monitor for a 'keyword' (such as error) in a log file on the Windows platform? regards, secrookie ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon May 5 10:27:14 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 5 May 2008 10:27:14 +0200 Subject: Plugin to monitor keyword in a logfile on theWindows platform? In-Reply-To: References: Message-ID: <200805050827.m458RAS5011421@sol1.bb.consol.de> > Does anyone know if there is a plugin avalaible to monitor > for a 'keyword' (such as error) in a log file on the Windows platform? http://www.consol.com/opensource/nagios/check-logfiles Best regards, Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From secrookie at gmail.com Mon May 5 10:44:59 2008 From: secrookie at gmail.com (secrookie at gmail.com) Date: Mon, 5 May 2008 18:44:59 +1000 Subject: Plugin to monitor keyword in a logfile on theWindows platform? In-Reply-To: <200805050827.m458RAS5011421@sol1.bb.consol.de> References: <200805050827.m458RAS5011421@sol1.bb.consol.de> Message-ID: Thanks. This is exactly what I was looking for. :-) regards, secrookie 2008/5/5 Gerhard Lausser : > > > > Does anyone know if there is a plugin avalaible to monitor > > for a 'keyword' (such as error) in a log file on the Windows platform? > http://www.consol.com/opensource/nagios/check-logfiles > > Best regards, > Gerhard > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Mon May 5 12:34:25 2008 From: termx23 at gmail.com (Peter Edmonds) Date: Mon, 5 May 2008 20:34:25 +1000 Subject: Monitoring Adaptec 3805 SAS RAID controller under Debian Etch Message-ID: <6b8cee7e0805050334p2c9797dai8f05e580366db76@mail.gmail.com> Does anyone know how to monitor an Adaptec 3805 SAS RAID controller under Debian Etch without the monstrosity that is Adaptec Storage Manager ? I am happy with the performance of the card so far but lack any reasonable means to monitor the RAID array and controller. ASM is a java based PoS and I'd rather not pollute my servers with it. Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Mon May 5 12:37:32 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Mon, 5 May 2008 16:07:32 +0530 Subject: Monitoring Adaptec 3805 SAS RAID controller underDebian Etch In-Reply-To: <6b8cee7e0805050334p2c9797dai8f05e580366db76@mail.gmail.com> References: <6b8cee7e0805050334p2c9797dai8f05e580366db76@mail.gmail.com> Message-ID: This may help. http://www.consol.com/opensource/nagios/check-aaccli/ Regards, Narendran Neelamegam ---------------------------------------------- Wipro Technologies Mob: +91 9740811699 | Ph: +91 80 3029 6844 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Edmonds Sent: Monday, May 05, 2008 4:04 PM To: Nagios List Subject: [Nagios-users] Monitoring Adaptec 3805 SAS RAID controller underDebian Etch Does anyone know how to monitor an Adaptec 3805 SAS RAID controller under Debian Etch without the monstrosity that is Adaptec Storage Manager ? I am happy with the performance of the card so far but lack any reasonable means to monitor the RAID array and controller. ASM is a java based PoS and I'd rather not pollute my servers with it. Peter Edmonds ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j avaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Mon May 5 12:44:31 2008 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Mon, 5 May 2008 12:44:31 +0200 Subject: Strange notification problem In-Reply-To: <005501c8ae76$341c6830$9c553890$@ru> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> <481B292C.9050402@process-zero.de> <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> <000f01c8adce$528a6950$f79f3bf0$@ru> <005501c8ae76$341c6830$9c553890$@ru> Message-ID: <20080505104431.GA11021@eric.schwarzvogel.de> Hi! On Mon, 05 May 2008, Ilya Meylikhov wrote: > I've solved the problem - the CRITICAL state output of some > services on this host had more than 160 symbols - gnokii was > unable to send an SMS that is more than 160 symbols. Btw maybe > anyone knows how to make gnokii send sms which contains more > than 160 symbols? The 160-character limit is inherent to SMS (over GSM), as described here: http://en.wikipedia.org/wiki/Short_message_service#Message_size So there is very little you can do about it. You could split the messages in two, but I advise against it. Regards, Tobias -- "You don't *run* programs on Ultrix." - Mark Moraes "Right, you chase them." - Rayan Zachariassen ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Mon May 5 13:07:42 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Mon, 5 May 2008 15:07:42 +0400 Subject: Strange notification problem In-Reply-To: <20080505104431.GA11021@eric.schwarzvogel.de> References: <3f5a695c0805011449m72b4dc8ds22bde985338a1b62@mail.gmail.com> <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> <481B292C.9050402@process-zero.de> <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> <000f01c8adce$528a6950$f79f3bf0$@ru> <005501c8ae76$341c6830$9c553890$@ru> <20080505104431.GA11021@eric.schwarzvogel.de> Message-ID: <009801c8aea0$3e34fec0$ba9efc40$@ru> Hi Tobias! I've found suitable for me solution - I use a -l switch in gnokii which is sets the maximum amount of symbols in the SMS. By default it is 160. So my current command look like this: define command{ command_name notify-service-by-sms command_line echo "$HOSTNAME$.secretdomain.ru/$HOSTALIAS$/$SERVICEDESC$/$SERVICESTATE$:$SERVIC EOUTPUT$ [$SHORTDATETIME$]" |gnokii --sendsms $CONTACTPAGER$ -l 220 >> /usr/local/nagios/var/gnokii.log > 2>$1 } With this command I can send SMS with more than 160 symbols but less than 220 and it's suitable for my needs. Yours faithfully, Ilya. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tobias Klausmann Sent: Monday, May 05, 2008 2:45 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange notification problem Hi! On Mon, 05 May 2008, Ilya Meylikhov wrote: > I've solved the problem - the CRITICAL state output of some > services on this host had more than 160 symbols - gnokii was > unable to send an SMS that is more than 160 symbols. Btw maybe > anyone knows how to make gnokii send sms which contains more > than 160 symbols? The 160-character limit is inherent to SMS (over GSM), as described here: http://en.wikipedia.org/wiki/Short_message_service#Message_size So there is very little you can do about it. You could split the messages in two, but I advise against it. Regards, Tobias -- "You don't *run* programs on Ultrix." - Mark Moraes "Right, you chase them." - Rayan Zachariassen ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon May 5 16:34:41 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 5 May 2008 10:34:41 -0400 Subject: Strange notification problem In-Reply-To: <009801c8aea0$3e34fec0$ba9efc40$@ru> References: <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> <481B292C.9050402@process-zero.de> <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> <000f01c8adce$528a6950$f79f3bf0$@ru> <005501c8ae76$341c6830$9c553890$@ru> <20080505104431.GA11021@eric.schwarzvogel.de> <009801c8aea0$3e34fec0$ba9efc40$@ru> Message-ID: <20080505143441.GH28618@cgi.jachomes.com> On Mon, May 05, 2008 at 03:07:42PM +0400, Ilya Meylikhov wrote: > I've found suitable for me solution - I use a -l switch in gnokii which is > sets the maximum amount of symbols in the SMS. By default it is 160. So my > current command look like this: > > define command{ > command_name notify-service-by-sms > command_line echo > "$HOSTNAME$.secretdomain.ru/$HOSTALIAS$/$SERVICEDESC$/$SERVICESTATE$:$SERVIC > EOUTPUT$ [$SHORTDATETIME$]" |gnokii --sendsms $CONTACTPAGER$ -l 220 >> > /usr/local/nagios/var/gnokii.log > 2>$1 > } > > With this command I can send SMS with more than 160 symbols but less than > 220 and it's suitable for my needs. If your particular carrier *and phone* happen to tolerate that, then you go with that. But understand the other repliant's warning: it's out-of-standard. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon May 5 16:35:57 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 5 May 2008 10:35:57 -0400 Subject: Strange notification problem In-Reply-To: <20080505143441.GH28618@cgi.jachomes.com> References: <3f5a695c0805011535xad6a6f4ge011de8c80c8dfc8@mail.gmail.com> <7F2CCCEE-C5B0-4B59-A04E-35346C16222B@ena.com> <3f5a695c0805020722l31cd94f0t575c4af05bf5b216@mail.gmail.com> <481B292C.9050402@process-zero.de> <3f5a695c0805021554s7805b3d5j71e8df991cf2f146@mail.gmail.com> <000f01c8adce$528a6950$f79f3bf0$@ru> <005501c8ae76$341c6830$9c553890$@ru> <20080505104431.GA11021@eric.schwarzvogel.de> <009801c8aea0$3e34fec0$ba9efc40$@ru> <20080505143441.GH28618@cgi.jachomes.com> Message-ID: <20080505143557.GI28618@cgi.jachomes.com> On Mon, May 05, 2008 at 10:34:41AM -0400, Jay R. Ashworth wrote: > If your particular carrier *and phone* happen to tolerate that, then > you go with that. > > But understand the other repliant's warning: it's out-of-standard. Excuse me: you're using Gnokii. *Both* phones have to support overlength messages: the one you're sending from, and the one you're sending to. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srmiller at interbel.net Mon May 5 22:51:14 2008 From: srmiller at interbel.net (Scott Miller) Date: Mon, 5 May 2008 14:51:14 -0600 Subject: Nagios Plugin for Barracuda Spam Firewalls Message-ID: <121d01c8aef1$c1dff350$f07b1c0a@SCOTTTOWERNEW> Anyone using the Nagios Plugin for Barracuda Spam Firewalls located here: http://seigafuse.com/?p=38 I'm attempting to get it working and have run into a snag. Just wondering if anyone has it working successfully. Thanks, Scott Miller -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkuhn at siumed.edu Mon May 5 22:00:49 2008 From: jkuhn at siumed.edu (Jan Kuhn) Date: Mon, 05 May 2008 15:00:49 -0500 Subject: how to escape special characters checking a windows service Message-ID: <481F6771.4070300@siumed.edu> This works when running from the command line: /usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb' All services are running But this doesn't in the servers.cfg It adds the second $. check_command "/usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb'" It adds the second $. mssql$waspdb$: Unknown I've got other services working correctly with embedded spaces. Special characters are causing trouble. I've tried escaping with \, all sort of quote combinations. Any ideas? thanks, jan ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 23:28:04 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 05 May 2008 23:28:04 +0200 Subject: Nagios Plugin for Barracuda Spam Firewalls In-Reply-To: <121d01c8aef1$c1dff350$f07b1c0a@SCOTTTOWERNEW> References: <121d01c8aef1$c1dff350$f07b1c0a@SCOTTTOWERNEW> Message-ID: <481F7BE4.2060601@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Miller wrote: | Anyone using the Nagios Plugin for Barracuda Spam Firewalls located here: | | | | http://seigafuse.com/?p=38 | | | | I'm attempting to get it working and have run into a snag. Just | wondering if anyone has it working successfully. I guess you have not set up snmp correctly on your Cuda. What information can you obtain if you play with snmpwalk? 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIH3viBvzDRVjxmYERAky9AJ9O+dWXNrnZ8M7rqyIg6WxhOT+kNgCfR3GY EwREzBCXhb+HMN4S3G+Ekp8= =/NqM -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From secrookie at gmail.com Mon May 5 23:45:32 2008 From: secrookie at gmail.com (secrookie at gmail.com) Date: Tue, 6 May 2008 07:45:32 +1000 Subject: how to escape special characters checking a windows service In-Reply-To: <481F6771.4070300@siumed.edu> References: <481F6771.4070300@siumed.edu> Message-ID: Try adding mssql$waspdb in your resource.cfg as a user variable then substitute it in your server.cfg. regards, secrookie 2008/5/6 Jan Kuhn : > This works when running from the command line: > > /usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v > SERVICESTATE -l 'mssql$waspdb' > All services are running > > But this doesn't in the servers.cfg It adds the second $. > > check_command "/usr/lib/nagios/plugins/check_nt -H > xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb'" > > It adds the second $. > > mssql$waspdb$: Unknown > > I've got other services working correctly with embedded spaces. Special > characters are causing trouble. I've tried escaping with \, all sort of > quote combinations. > Any ideas? > > thanks, jan > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 23:50:18 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 05 May 2008 23:50:18 +0200 Subject: Nagios Plugin for Barracuda Spam Firewalls In-Reply-To: <121d01c8aef1$c1dff350$f07b1c0a@SCOTTTOWERNEW> References: <121d01c8aef1$c1dff350$f07b1c0a@SCOTTTOWERNEW> Message-ID: <481F811A.5020804@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Miller wrote: | Anyone using the Nagios Plugin for Barracuda Spam Firewalls located here: | | http://seigafuse.com/?p=38 | | I'm attempting to get it working and have run into a snag. Just | wondering if anyone has it working successfully. Installed php-snmp on Centos 5. Setup SNMP on the Cuda and it works out of the box. I would never have written in php myself. But it works as advertised. Without any further details from you it is impossible to help you any further. For that one needs errors, things you have tested, ..... 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIH4EYBvzDRVjxmYERAkRVAJ90Zmwv3v4XgrG+oZnGJh28GlWeFgCgpkK3 Zt7+xa5U3NEaQWWkzRoOTPA= =AkG2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phanoko at gmail.com Tue May 6 00:05:07 2008 From: phanoko at gmail.com (matt wells) Date: Mon, 5 May 2008 15:05:07 -0700 Subject: statusmap size difference Message-ID: I have 2 installations of Nagios currently. One for the outside world and one for the inside world. Outside is 3.0 Inside is 2.9 All icons are 40x40 I have icons setup for the status map but did not manually program each icon. The Outside in the 'Circular(Marked Up)' view is great. The icons have stretched the green boxes surrounding them and it looks fine. The Inside is bad. They icons are stacked up and the green boxes cramped. Did I miss something or is a delta in 3.0? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From low at modog.com Tue May 6 01:50:12 2008 From: low at modog.com (Seth P. Low) Date: Mon, 5 May 2008 19:50:12 -0400 Subject: Nagios Plugin for Barracuda Spam Firewalls In-Reply-To: <481F811A.5020804@vanderkooij.org> References: <121d01c8aef1$c1dff350$f07b1c0a@SCOTTTOWERNEW>, <481F811A.5020804@vanderkooij.org> Message-ID: <15DE1A7F91855E49A18A487C43846C8B5837D93D2E@modog2.modog.com> I am using a different plugin to monitor our four 800s. Please let me know if you don't get this one working and I will be glad to show you what we are using to monitor CPU and queue lengths. -Seth ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij [hvdkooij at vanderkooij.org] Sent: Monday, May 05, 2008 5:50 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios Plugin for Barracuda Spam Firewalls -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Miller wrote: | Anyone using the Nagios Plugin for Barracuda Spam Firewalls located here: | | http://seigafuse.com/?p=38 | | I'm attempting to get it working and have run into a snag. Just | wondering if anyone has it working successfully. Installed php-snmp on Centos 5. Setup SNMP on the Cuda and it works out of the box. I would never have written in php myself. But it works as advertised. Without any further details from you it is impossible to help you any further. For that one needs errors, things you have tested, ..... 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIH4EYBvzDRVjxmYERAkRVAJ90Zmwv3v4XgrG+oZnGJh28GlWeFgCgpkK3 Zt7+xa5U3NEaQWWkzRoOTPA= =AkG2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at netconsonance.com Tue May 6 02:40:00 2008 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon, 5 May 2008 17:40:00 -0700 Subject: Environmental monitoring In-Reply-To: <20080422011747.GB29351@cgi.jachomes.com> References: <20080420175347.GA24206@cgi.jachomes.com> <6788CB42B92B3449B633BEBC173D9BB7E631BC@spoke.intranet.mainloop.net> <20080421143354.GA27469@cgi.jachomes.com> <20080421164534.GF27469@cgi.jachomes.com> <20080422011747.GB29351@cgi.jachomes.com> Message-ID: <0A46A525-EC73-402C-83F9-A3F7249A4964@netconsonance.com> On Apr 21, 2008, at 6:17 PM, Jay R. Ashworth wrote: > Well, it's not PDU; I'm trying to meter the building service, which is > three separate panels with a 200A breaker each, and runs a bit warmer > than I'm comfortable with. > > Commercial solutions for this are $5k, which I won't get. > > A couple hours of an electrician on a Saturday, to put boxes in front > of the panels to loop the feeders through, to where I can separate > them, and put CTs on them in a box with no exposed HV, yeah. Just out of curiosity, isn't a MiniGoose with 3 external sensors ( ~ $250 ) worth less than an afternoon of your time? http://www.itwatchdogs.com/MiniGooseDSheet.htm (I don't work for itwatchdogs, just the "cheap temp sensor at hand" kind of query) Don't get me wrong, I like to make my own stuff. But I also prefer to balance my time against the cost, and itwatchdogs stuff is cheap enough to allow me to not waste time... -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue May 6 04:40:46 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 5 May 2008 22:40:46 -0400 Subject: how to escape special characters checking a windows service In-Reply-To: <481F6771.4070300@siumed.edu> References: <481F6771.4070300@siumed.edu> Message-ID: If my memory is correct $$ for each $ works in the Service Config. Depending on your Windows plugin and version of check_nt this may be documented in the help or other files Tony (Author of NC_NEt) On Mon, May 5, 2008 at 4:00 PM, Jan Kuhn wrote: > This works when running from the command line: > > /usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v > SERVICESTATE -l 'mssql$waspdb' > All services are running > > But this doesn't in the servers.cfg It adds the second $. > > check_command "/usr/lib/nagios/plugins/check_nt -H > xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb'" > > It adds the second $. > > mssql$waspdb$: Unknown > > I've got other services working correctly with embedded spaces. Special > characters are causing trouble. I've tried escaping with \, all sort of > quote combinations. > Any ideas? > > thanks, jan > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ANGC0020 at ntu.edu.sg Tue May 6 06:04:38 2008 From: ANGC0020 at ntu.edu.sg (#ANG CHIN TECK#) Date: Tue, 6 May 2008 12:04:38 +0800 Subject: high check latency, slow update of config on web interface Message-ID: Hi all, I am currently monitoring 50 hosts with no services, only pinging them. perf info for these 50 hosts: check interval: 10 mins check duration: avg 4 s (5 pings) but my check latency fluctuates alot (10s , 140s , 250s) I am also monitoring 2 other hosts with 10 services. perf info for these 10 services: check interval: 1 min check duration: avg 3s check latency fluctuates (2s, 5s, 48s) Why does the latency fluctuates so much? Another problem is that after i update my config file, verify and restart nagios, it takes 15 mins for the web interface to register the change. Under "view config", the change was not registered too. Are the 2 problems linked? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Tue May 6 11:19:58 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Tue, 6 May 2008 13:19:58 +0400 Subject: Check_md_raid from nagiosexchange.org error In-Reply-To: References: Message-ID: <011601c8af5a$5bf2dee0$13d89ca0$@ru> Hello all! Anyone uses a plugin check_md_raid from nagiosexchange.org? While my arrays were rebuilding I ran this plugin and got an error: backup:/home/rage# mdadm --manage /dev/md3 --fail /dev/sda5 mdadm: set /dev/sda5 faulty in /dev/md3 backup:/home/rage# mdadm --manage /dev/md3 --remove /dev/sda5 mdadm: hot removed /dev/sda5 backup:/home/rage# mdadm --manage /dev/md3 --add /dev/sda5 mdadm: re-added /dev/sda5 backup:/home/rage# /usr/local/nagios/libexec/check_raid -vvv finding all MD arrays via: sudo /sbin/mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 found array /dev/md3 found array /dev/md4 found array /dev/md5 [output cut] Now testing raid device "/dev/md3" /dev/md3: Version : 00.90.03 Creation Time : Wed Apr 23 07:41:34 2008 Raid Level : raid1 Array Size : 5116544 (4.88 GiB 5.24 GB) Device Size : 5116544 (4.88 GiB 5.24 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 3 Persistence : Superblock is persistent Update Time : Tue May 6 09:05:02 2008 State : clean, degraded, recovering Active Devices : 1 Working Devices : 2 Failed Devices : 0 Spare Devices : 1 Rebuild Status : 5% complete UUID : 7550f78b:22061677:db94040d:31b9e596 Events : 0.17940 Number Major Minor RaidDevice State 0 8 5 0 spare rebuilding /dev/sda5 1 8 21 1 active sync /dev/sdb5 Traceback (most recent call last): File "/usr/local/nagios/libexec/check_raid", line 200, in ? main() File "/usr/local/nagios/libexec/check_raid", line 194, in main result, message = test_raid(verbosity) File "/usr/local/nagios/libexec/check_raid", line 127, in test_raid message += 'Array "%s" is in state' % shortname, TypeError: cannot concatenate 'str' and 'tuple' objects My system is Linux Debian 4 2.6.18-6-686 . The plugin was taken here - http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 Thanks in advance, Ilya. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue May 6 11:49:08 2008 From: angeolivier2003 at yahoo.fr (Ange AMBEMOU) Date: Tue, 6 May 2008 09:49:08 +0000 (GMT) Subject: nagios reboot XP Message-ID: <648476.78665.qm@web26103.mail.ukl.yahoo.com> hello all, i have two questions 1- Is possible to nagios to reboot et midcrosft box or one service on this box if there are a mistake ? 2- nagios can accepte the trap snmp only and dont do the get snmp ? thanks __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicit?s http://mail.yahoo.fr Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 6 12:07:25 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 6 May 2008 12:07:25 +0200 Subject: nagios reboot XP In-Reply-To: <648476.78665.qm@web26103.mail.ukl.yahoo.com> References: <648476.78665.qm@web26103.mail.ukl.yahoo.com> Message-ID: <200805061207.25787.cschneemann@suse.de> On Tuesday May 6 2008 11:49:08 am Ange AMBEMOU wrote: > hello all, > > i have two questions > > 1- Is possible to nagios to reboot et midcrosft box or one service on > this box if there are a mistake ? 2- nagios can accepte the trap snmp > only and dont do the get snmp ? Both is possible if you can script the connect and reboot/restart.. Have a look at the eventhandler http://nagios.sourceforge.net/docs/3_0/eventhandlers.html Sorry, all I can say is, that it works with linux ;) but windows should have something else. You just need a command from external to send to the machine, maybe SNMP can be used for that if Windows don't offer it by its own. Greetings > > thanks > > > __________________________________________________ > Do You Yahoo!? > En finir avec le spam? Yahoo! Mail vous offre la meilleure protection > possible contre les messages non sollicit?s http://mail.yahoo.fr Yahoo! > Mail -- 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) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Tue May 6 13:59:07 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 06 May 2008 13:59:07 +0200 Subject: nagios reboot XP In-Reply-To: <200805061207.25787.cschneemann@suse.de> References: <648476.78665.qm@web26103.mail.ukl.yahoo.com> <200805061207.25787.cschneemann@suse.de> Message-ID: <1210075147.21663.2.camel@bofh.dtnet.de> Hi > > i have two questions > > > > 1- Is possible to nagios to reboot et midcrosft box or one service on > > this box if there are a mistake ? 2- nagios can accepte the trap snmp > > only and dont do the get snmp ? > Both is possible if you can script the connect and reboot/restart.. Have a look at NSClient++ http://trac.nakednuns.org/nscp/ It can execute external scripts which can be written in VBS e.g. With such a script you might call "shutdown -r -t0" ;-) Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkuhn at siumed.edu Tue May 6 14:23:09 2008 From: jkuhn at siumed.edu (Jan Kuhn) Date: Tue, 06 May 2008 07:23:09 -0500 Subject: how to escape special characters checking a windowsservice In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB790A8C7BB6@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB790A8C7BB6@MAILBOXSEVEN.home.ku.edu> Message-ID: <48204DAD.1090408@siumed.edu> $$ did the trick. I thought I had tried that. thanks, jan Sloane, Robert Raymond wrote: > Just for fun, try doubling the $, for example 'mssql$$waspdb'. > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Terry at custom-pak.com Tue May 6 14:26:34 2008 From: Jon.Terry at custom-pak.com (Jon Terry) Date: Tue, 6 May 2008 07:26:34 -0500 Subject: nagios reboot XP Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ange AMBEMOU > Sent: Tuesday, May 06, 2008 4:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios reboot XP > > hello all, > > i have two questions > > 1- Is possible to nagios to reboot et midcrosft box or one > service on this box if there are a mistake ? As Sebastian indicated, you could use NSClient++ in order to execute psshutdown and or psservice from Sysinternals as part of an eventhandler. http://trac.nakednuns.org/nscp/wiki/CheckExternalScripts http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx > 2- nagios can accepte the trap snmp only and dont do the get snmp ? > I'm not sure I understand. Have you looked at the check_snmp plugin? Jon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue May 6 14:37:06 2008 From: angeolivier2003 at yahoo.fr (Ange AMBEMOU) Date: Tue, 6 May 2008 12:37:06 +0000 (GMT) Subject: nagios trap Message-ID: <313271.6200.qm@web26111.mail.ukl.yahoo.com> hi all i am back , thanks for your answer, for my 2 question the result is to dont make a check and receive the alert with fonction of snmp trap help please __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicit?s http://mail.yahoo.fr Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Terry at custom-pak.com Tue May 6 15:01:41 2008 From: Jon.Terry at custom-pak.com (Jon Terry) Date: Tue, 6 May 2008 08:01:41 -0500 Subject: nagios trap Message-ID: It is my understanding you would have to use SMTPTT or something similar in order to act upon smtp traps with Nagios. http://nagios.sourceforge.net/docs/3_0/int-snmptrap.html http://www.snmptt.org/ Jon > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ange AMBEMOU > Sent: Tuesday, May 06, 2008 7:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios trap > > hi all > > > i am back > , > thanks for your answer, > > > for my 2 question the result is to dont make a check and > receive the alert with fonction of snmp trap > > > help please > > > __________________________________________________ > Do You Yahoo!? > En finir avec le spam? Yahoo! Mail vous offre la meilleure > protection possible contre les messages non sollicit?s > http://mail.yahoo.fr Yahoo! Mail > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue May 6 16:10:40 2008 From: td3201 at gmail.com (Terry) Date: Tue, 6 May 2008 09:10:40 -0500 Subject: service templates Message-ID: <8ee061010805060710x66e5c32dh9df1a474433dd0e4@mail.gmail.com> I am figuring this is pretty obvious but the coffee hasn't kicked in yet or something. I want to set up service templates of some sorts. I see there are service groups but this isn't it exactly because you have to define the host with each service. For example, a template would contain all of our base windows service that we monitor and then one of our level 1 or 2 guys can go in and 'use windows-base' to simply include that set of services for a host. I hope this makes sense. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Jevos at oriflame.com Tue May 6 16:10:41 2008 From: Peter.Jevos at oriflame.com (Jevos, Peter) Date: Tue, 6 May 2008 16:10:41 +0200 Subject: HTTP authorixation in check_http doesn't work Message-ID: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local> Hi , I tried to use check_http plugin again address that is running on IIS. There is authorization in format: domain\user adn password So I did: ./check_http -t 40 -H my_http_address -a domain\nuser:pwd Result is: HTTP WARNING: HTTP/1.1 401 Unauthorized I tried to use quotes and other things but still doen't work. Do you have any solution ? Thx Br pet ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srmiller at interbel.net Tue May 6 16:13:40 2008 From: srmiller at interbel.net (Scott Miller) Date: Tue, 6 May 2008 08:13:40 -0600 Subject: Nagios Plugin for Barracuda Spam Firewalls In-Reply-To: <15DE1A7F91855E49A18A487C43846C8B5837D93D2E@modog2.modog.com> References: <121d01c8aef1$c1dff350$f07b1c0a@SCOTTTOWERNEW>, <481F811A.5020804@vanderkooij.org> <15DE1A7F91855E49A18A487C43846C8B5837D93D2E@modog2.modog.com> Message-ID: <15ff01c8af83$62453b20$f07b1c0a@SCOTTTOWERNEW> Seth, Thanks for your offer. I've attempted to get this existing one working with no luck. I'd be happy to learn how you are monitoring your 800s. Thanks, Scott Miller -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Seth P. Low Sent: Monday, May 05, 2008 5:50 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios Plugin for Barracuda Spam Firewalls I am using a different plugin to monitor our four 800s. Please let me know if you don't get this one working and I will be glad to show you what we are using to monitor CPU and queue lengths. -Seth ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij [hvdkooij at vanderkooij.org] Sent: Monday, May 05, 2008 5:50 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios Plugin for Barracuda Spam Firewalls -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Miller wrote: | Anyone using the Nagios Plugin for Barracuda Spam Firewalls located here: | | http://seigafuse.com/?p=38 | | I'm attempting to get it working and have run into a snag. Just | wondering if anyone has it working successfully. Installed php-snmp on Centos 5. Setup SNMP on the Cuda and it works out of the box. I would never have written in php myself. But it works as advertised. Without any further details from you it is impossible to help you any further. For that one needs errors, things you have tested, ..... 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIH4EYBvzDRVjxmYERAkRVAJ90Zmwv3v4XgrG+oZnGJh28GlWeFgCgpkK3 Zt7+xa5U3NEaQWWkzRoOTPA= =AkG2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue May 6 16:30:42 2008 From: td3201 at gmail.com (Terry) Date: Tue, 6 May 2008 09:30:42 -0500 Subject: service templates In-Reply-To: References: Message-ID: <8ee061010805060730t2a979188gd9cdabff08c0d460@mail.gmail.com> Thanks for the reply. I do this already. This just cuts down on the number of lines in a service check. It doesn't allow me to glob a set of services into a single service or host definition though, which is what I want (i think). On Tue, May 6, 2008 at 9:20 AM, Deborah Martin wrote: > Terry, > You can do exactly that : > > In the main services.cfg, define your template > > define service{ > name my-service ; The 'name' of this service > template, referenced in other service definitions > active_checks_enabled 1 ; Active service checks are > enabled > passive_checks_enabled 1 ; Passive service checks are > enabled/accepted > parallelize_check 1 ; Active service checks > should be parallelized (disabling this can lead to major performance > problems) > obsess_over_service 1 ; We should obsess over this > service (if necessary) > check_freshness 0 ; Default is to NOT check > service 'freshness' > notifications_enabled 1 ; Service notifications are > enabled > event_handler_enabled 1 ; Service event handler is > enabled > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information > across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > You need to change / add whatever else you want in there. > > Then for the service definition specific to a host : > > define service{ > use my-service ; this will load the service > template my-service > host_name yourhostname > service_description yourdescription > contact_groups yourcontactgroups > servicegroups yourservicegroups > max_check_attempts 1 > normal_check_interval 5 > retry_check_interval 1 > notifications_enabled 1 ; Service notifications are enabled > notification_interval 240 > notification_period 24x7 > notification_options c,r ; Notifications are sent out on > CRITICAL or RECOVERY > check_period 24x7 > check_command check_ping!100.0,20%!500.0,60% > } > > You can do lots of stuff with this. I use the above for checking databases, > but each database is slightly different > so I use a template for the base, then define only the differences in the > individual service definitions. Also, > if you define the check_command in the template, but want to change the > check_command slightly like the parameters passed to it, anything you put in > the service definition overrides the template definition. Very useful if you > want to test a plugin on a live system but don't want to change for > everything until you're happy with it. > > Hope that helps. > > regards, > deborah > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: 06 May 2008 15:11 > To: Nagios Users mailinglist > Subject: [Nagios-users] service templates > > > I am figuring this is pretty obvious but the coffee hasn't kicked in > yet or something. I want to set up service templates of some sorts. > I see there are service groups but this isn't it exactly because you > have to define the host with each service. For example, a template > would contain all of our base windows service that we monitor and then > one of our level 1 or 2 guys can go in and 'use windows-base' to > simply include that set of services for a host. I hope this makes > sense. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > Any unauthorised distribution or copying is strictly prohibited. > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > via e-mail, we can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake your own anti-virus > precautions. > > Kognitio grants no warranties regarding performance, use or quality of any > e-mail or attachment and undertakes no liability for loss or damage, > howsoever caused. > > Kognitio Limited > Registered in England: 0212 7833 > Registered Address: 3a Waterside Park > Cookham Road > Bracknell > Berks > RG12 1RB > VAT number: 864 4378 92 > *************************************************************************** > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Tue May 6 16:34:23 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Tue, 06 May 2008 08:34:23 -0600 Subject: service templates In-Reply-To: <8ee061010805060730t2a979188gd9cdabff08c0d460@mail.gmail.com> References: <8ee061010805060730t2a979188gd9cdabff08c0d460@mail.gmail.com> Message-ID: <1210084463.14746.12.camel@wahoo> What you're talking about sounds like Service Profiles, which, I believe, are not available via regular nagios configs, but rather via a third party GUI configuration tool like Monarch (amongst others, probably). On Tue, 2008-05-06 at 09:30 -0500, Terry wrote: > Thanks for the reply. I do this already. This just cuts down on the > number of lines in a service check. It doesn't allow me to glob a set > of services into a single service or host definition though, which is > what I want (i think). > > On Tue, May 6, 2008 at 9:20 AM, Deborah Martin > wrote: > > Terry, > > You can do exactly that : > > > > In the main services.cfg, define your template > > > > define service{ > > name my-service ; The 'name' of this service > > template, referenced in other service definitions > > active_checks_enabled 1 ; Active service checks are > > enabled > > passive_checks_enabled 1 ; Passive service checks are > > enabled/accepted > > parallelize_check 1 ; Active service checks > > should be parallelized (disabling this can lead to major performance > > problems) > > obsess_over_service 1 ; We should obsess over this > > service (if necessary) > > check_freshness 0 ; Default is to NOT check > > service 'freshness' > > notifications_enabled 1 ; Service notifications are > > enabled > > event_handler_enabled 1 ; Service event handler is > > enabled > > flap_detection_enabled 1 ; Flap detection is enabled > > process_perf_data 1 ; Process performance data > > retain_status_information 1 ; Retain status information > > across program restarts > > retain_nonstatus_information 1 ; Retain non-status > > information across program restarts > > > > register 0 ; DONT REGISTER THIS > > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > } > > > > You need to change / add whatever else you want in there. > > > > Then for the service definition specific to a host : > > > > define service{ > > use my-service ; this will load the service > > template my-service > > host_name yourhostname > > service_description yourdescription > > contact_groups yourcontactgroups > > servicegroups yourservicegroups > > max_check_attempts 1 > > normal_check_interval 5 > > retry_check_interval 1 > > notifications_enabled 1 ; Service notifications are enabled > > notification_interval 240 > > notification_period 24x7 > > notification_options c,r ; Notifications are sent out on > > CRITICAL or RECOVERY > > check_period 24x7 > > check_command check_ping!100.0,20%!500.0,60% > > } > > > > You can do lots of stuff with this. I use the above for checking databases, > > but each database is slightly different > > so I use a template for the base, then define only the differences in the > > individual service definitions. Also, > > if you define the check_command in the template, but want to change the > > check_command slightly like the parameters passed to it, anything you put in > > the service definition overrides the template definition. Very useful if you > > want to test a plugin on a live system but don't want to change for > > everything until you're happy with it. > > > > Hope that helps. > > > > regards, > > deborah > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: 06 May 2008 15:11 > > To: Nagios Users mailinglist > > Subject: [Nagios-users] service templates > > > > > > I am figuring this is pretty obvious but the coffee hasn't kicked in > > yet or something. I want to set up service templates of some sorts. > > I see there are service groups but this isn't it exactly because you > > have to define the host with each service. For example, a template > > would contain all of our base windows service that we monitor and then > > one of our level 1 or 2 guys can go in and 'use windows-base' to > > simply include that set of services for a host. I hope this makes > > sense. > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > ne > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > > > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > > via e-mail, we can not guarantee that any email or attachment is free from > > computer viruses and you are strongly advised to undertake your own anti-virus > > precautions. > > > > Kognitio grants no warranties regarding performance, use or quality of any > > e-mail or attachment and undertakes no liability for loss or damage, > > howsoever caused. > > > > Kognitio Limited > > Registered in England: 0212 7833 > > Registered Address: 3a Waterside Park > > Cookham Road > > Bracknell > > Berks > > RG12 1RB > > VAT number: 864 4378 92 > > *************************************************************************** > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue May 6 16:31:13 2008 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 6 May 2008 15:31:13 +0100 Subject: service templates Message-ID: They are available as part of the standard config. I've used them since 2005. -----Original Message----- *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited Registered in England: 0212 7833 Registered Address: 3a Waterside Park Cookham Road Bracknell Berks RG12 1RB VAT number: 864 4378 92 *************************************************************************** From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] Sent: 06 May 2008 15:34 To: Terry Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] service templates What you're talking about sounds like Service Profiles, which, I believe, are not available via regular nagios configs, but rather via a third party GUI configuration tool like Monarch (amongst others, probably). On Tue, 2008-05-06 at 09:30 -0500, Terry wrote: > Thanks for the reply. I do this already. This just cuts down on the > number of lines in a service check. It doesn't allow me to glob a set > of services into a single service or host definition though, which is > what I want (i think). > > On Tue, May 6, 2008 at 9:20 AM, Deborah Martin > wrote: > > Terry, > > You can do exactly that : > > > > In the main services.cfg, define your template > > > > define service{ > > name my-service ; The 'name' of this service > > template, referenced in other service definitions > > active_checks_enabled 1 ; Active service checks are > > enabled > > passive_checks_enabled 1 ; Passive service checks are > > enabled/accepted > > parallelize_check 1 ; Active service checks > > should be parallelized (disabling this can lead to major performance > > problems) > > obsess_over_service 1 ; We should obsess over this > > service (if necessary) > > check_freshness 0 ; Default is to NOT check > > service 'freshness' > > notifications_enabled 1 ; Service notifications are > > enabled > > event_handler_enabled 1 ; Service event handler is > > enabled > > flap_detection_enabled 1 ; Flap detection is enabled > > process_perf_data 1 ; Process performance data > > retain_status_information 1 ; Retain status information > > across program restarts > > retain_nonstatus_information 1 ; Retain non-status > > information across program restarts > > > > register 0 ; DONT REGISTER THIS > > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > } > > > > You need to change / add whatever else you want in there. > > > > Then for the service definition specific to a host : > > > > define service{ > > use my-service ; this will load the service > > template my-service > > host_name yourhostname > > service_description yourdescription > > contact_groups yourcontactgroups > > servicegroups yourservicegroups > > max_check_attempts 1 > > normal_check_interval 5 > > retry_check_interval 1 > > notifications_enabled 1 ; Service notifications are enabled > > notification_interval 240 > > notification_period 24x7 > > notification_options c,r ; Notifications are sent out on > > CRITICAL or RECOVERY > > check_period 24x7 > > check_command check_ping!100.0,20%!500.0,60% > > } > > > > You can do lots of stuff with this. I use the above for checking databases, > > but each database is slightly different > > so I use a template for the base, then define only the differences in the > > individual service definitions. Also, > > if you define the check_command in the template, but want to change the > > check_command slightly like the parameters passed to it, anything you put in > > the service definition overrides the template definition. Very useful if you > > want to test a plugin on a live system but don't want to change for > > everything until you're happy with it. > > > > Hope that helps. > > > > regards, > > deborah > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: 06 May 2008 15:11 > > To: Nagios Users mailinglist > > Subject: [Nagios-users] service templates > > > > > > I am figuring this is pretty obvious but the coffee hasn't kicked in > > yet or something. I want to set up service templates of some sorts. > > I see there are service groups but this isn't it exactly because you > > have to define the host with each service. For example, a template > > would contain all of our base windows service that we monitor and then > > one of our level 1 or 2 guys can go in and 'use windows-base' to > > simply include that set of services for a host. I hope this makes > > sense. > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > ne > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > > > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > > via e-mail, we can not guarantee that any email or attachment is free from > > computer viruses and you are strongly advised to undertake your own anti-virus > > precautions. > > > > Kognitio grants no warranties regarding performance, use or quality of any > > e-mail or attachment and undertakes no liability for loss or damage, > > howsoever caused. > > > > Kognitio Limited > > Registered in England: 0212 7833 > > Registered Address: 3a Waterside Park > > Cookham Road > > Bracknell > > Berks > > RG12 1RB > > VAT number: 864 4378 92 > > *************************************************************************** > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue May 6 16:39:59 2008 From: td3201 at gmail.com (Terry) Date: Tue, 6 May 2008 09:39:59 -0500 Subject: service templates In-Reply-To: References: Message-ID: <8ee061010805060739y4f0fd768ma30871cf80fd914a@mail.gmail.com> Please point me to these service profiles in the documentation, having trouble finding them. On Tue, May 6, 2008 at 9:31 AM, Deborah Martin wrote: > They are available as part of the standard config. I've used them since > 2005. > > > -----Original Message----- > > *************************************************************************** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > Any unauthorised distribution or copying is strictly prohibited. > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > via e-mail, we can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake your own anti-virus > precautions. > > Kognitio grants no warranties regarding performance, use or quality of any > e-mail or attachment and undertakes no liability for loss or damage, > howsoever caused. > > Kognitio Limited > Registered in England: 0212 7833 > Registered Address: 3a Waterside Park > Cookham Road > Bracknell > Berks > RG12 1RB > VAT number: 864 4378 92 > *************************************************************************** > > > > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > Sent: 06 May 2008 15:34 > To: Terry > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] service templates > > > > > What you're talking about sounds like Service Profiles, which, I > believe, are not available via regular nagios configs, but rather via a > third party GUI configuration tool like Monarch (amongst others, > probably). > > On Tue, 2008-05-06 at 09:30 -0500, Terry wrote: > > Thanks for the reply. I do this already. This just cuts down on the > > number of lines in a service check. It doesn't allow me to glob a set > > of services into a single service or host definition though, which is > > what I want (i think). > > > > On Tue, May 6, 2008 at 9:20 AM, Deborah Martin > > wrote: > > > Terry, > > > You can do exactly that : > > > > > > In the main services.cfg, define your template > > > > > > define service{ > > > name my-service ; The 'name' of this service > > > template, referenced in other service definitions > > > active_checks_enabled 1 ; Active service checks > are > > > enabled > > > passive_checks_enabled 1 ; Passive service checks > are > > > enabled/accepted > > > parallelize_check 1 ; Active service checks > > > should be parallelized (disabling this can lead to major performance > > > problems) > > > obsess_over_service 1 ; We should obsess over > this > > > service (if necessary) > > > check_freshness 0 ; Default is to NOT > check > > > service 'freshness' > > > notifications_enabled 1 ; Service notifications > are > > > enabled > > > event_handler_enabled 1 ; Service event handler > is > > > enabled > > > flap_detection_enabled 1 ; Flap detection is > enabled > > > process_perf_data 1 ; Process performance > data > > > retain_status_information 1 ; Retain status > information > > > across program restarts > > > retain_nonstatus_information 1 ; Retain non-status > > > information across program restarts > > > > > > register 0 ; DONT REGISTER THIS > > > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > > } > > > > > > You need to change / add whatever else you want in there. > > > > > > Then for the service definition specific to a host : > > > > > > define service{ > > > use my-service ; this will load the > service > > > template my-service > > > host_name yourhostname > > > service_description yourdescription > > > contact_groups yourcontactgroups > > > servicegroups yourservicegroups > > > max_check_attempts 1 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > notifications_enabled 1 ; Service notifications are > enabled > > > notification_interval 240 > > > notification_period 24x7 > > > notification_options c,r ; Notifications are sent out > on > > > CRITICAL or RECOVERY > > > check_period 24x7 > > > check_command check_ping!100.0,20%!500.0,60% > > > } > > > > > > You can do lots of stuff with this. I use the above for checking > databases, > > > but each database is slightly different > > > so I use a template for the base, then define only the differences in > the > > > individual service definitions. Also, > > > if you define the check_command in the template, but want to change the > > > check_command slightly like the parameters passed to it, anything you > put in > > > the service definition overrides the template definition. Very useful > if you > > > want to test a plugin on a live system but don't want to change for > > > everything until you're happy with it. > > > > > > Hope that helps. > > > > > > regards, > > > deborah > > > -----Original Message----- > > > From: Terry [mailto:td3201 at gmail.com] > > > Sent: 06 May 2008 15:11 > > > To: Nagios Users mailinglist > > > Subject: [Nagios-users] service templates > > > > > > > > > I am figuring this is pretty obvious but the coffee hasn't kicked in > > > yet or something. I want to set up service templates of some sorts. > > > I see there are service groups but this isn't it exactly because you > > > have to define the host with each service. For example, a template > > > would contain all of our base windows service that we monitor and then > > > one of our level 1 or 2 guys can go in and 'use windows-base' to > > > simply include that set of services for a host. I hope this makes > > > sense. > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > Don't miss this year's exciting event. There's still time to save $100. > > > Use priority code J8TL2D2. > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > > ne > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 and any files transmitted with it are confidential and > intended > > > solely for the use of the individual or entity to whom they are > addressed. > > > Any unauthorised distribution or copying is strictly prohibited. > > > > > > Whilst Kognitio Limited takes steps to prevent the transmission of > viruses > > > via e-mail, we can not guarantee that any email or attachment is free > from > > > computer viruses and you are strongly advised to undertake your own > anti-virus > > > precautions. > > > > > > Kognitio grants no warranties regarding performance, use or quality of > any > > > e-mail or attachment and undertakes no liability for loss or damage, > > > howsoever caused. > > > > > > Kognitio Limited > > > Registered in England: 0212 7833 > > > Registered Address: 3a Waterside Park > > > Cookham Road > > > Bracknell > > > Berks > > > RG12 1RB > > > VAT number: 864 4378 92 > > > > *************************************************************************** > > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue May 6 16:36:20 2008 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 6 May 2008 15:36:20 +0100 Subject: service templates Message-ID: P.S I don't use 3rd party tools for my nagios configs as I've never found them to have all of what I wanted in a config tool. I think the generic-service template comes as part of the sample configs that come with Nagios which is where I got the idea on how to generate my own customised templates. regards, deborah -----Original Message----- *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited Registered in England: 0212 7833 Registered Address: 3a Waterside Park Cookham Road Bracknell Berks RG12 1RB VAT number: 864 4378 92 *************************************************************************** From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] Sent: 06 May 2008 15:34 To: Terry Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] service templates What you're talking about sounds like Service Profiles, which, I believe, are not available via regular nagios configs, but rather via a third party GUI configuration tool like Monarch (amongst others, probably). On Tue, 2008-05-06 at 09:30 -0500, Terry wrote: > Thanks for the reply. I do this already. This just cuts down on the > number of lines in a service check. It doesn't allow me to glob a set > of services into a single service or host definition though, which is > what I want (i think). > > On Tue, May 6, 2008 at 9:20 AM, Deborah Martin > wrote: > > Terry, > > You can do exactly that : > > > > In the main services.cfg, define your template > > > > define service{ > > name my-service ; The 'name' of this service > > template, referenced in other service definitions > > active_checks_enabled 1 ; Active service checks are > > enabled > > passive_checks_enabled 1 ; Passive service checks are > > enabled/accepted > > parallelize_check 1 ; Active service checks > > should be parallelized (disabling this can lead to major performance > > problems) > > obsess_over_service 1 ; We should obsess over this > > service (if necessary) > > check_freshness 0 ; Default is to NOT check > > service 'freshness' > > notifications_enabled 1 ; Service notifications are > > enabled > > event_handler_enabled 1 ; Service event handler is > > enabled > > flap_detection_enabled 1 ; Flap detection is enabled > > process_perf_data 1 ; Process performance data > > retain_status_information 1 ; Retain status information > > across program restarts > > retain_nonstatus_information 1 ; Retain non-status > > information across program restarts > > > > register 0 ; DONT REGISTER THIS > > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > } > > > > You need to change / add whatever else you want in there. > > > > Then for the service definition specific to a host : > > > > define service{ > > use my-service ; this will load the service > > template my-service > > host_name yourhostname > > service_description yourdescription > > contact_groups yourcontactgroups > > servicegroups yourservicegroups > > max_check_attempts 1 > > normal_check_interval 5 > > retry_check_interval 1 > > notifications_enabled 1 ; Service notifications are enabled > > notification_interval 240 > > notification_period 24x7 > > notification_options c,r ; Notifications are sent out on > > CRITICAL or RECOVERY > > check_period 24x7 > > check_command check_ping!100.0,20%!500.0,60% > > } > > > > You can do lots of stuff with this. I use the above for checking databases, > > but each database is slightly different > > so I use a template for the base, then define only the differences in the > > individual service definitions. Also, > > if you define the check_command in the template, but want to change the > > check_command slightly like the parameters passed to it, anything you put in > > the service definition overrides the template definition. Very useful if you > > want to test a plugin on a live system but don't want to change for > > everything until you're happy with it. > > > > Hope that helps. > > > > regards, > > deborah > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: 06 May 2008 15:11 > > To: Nagios Users mailinglist > > Subject: [Nagios-users] service templates > > > > > > I am figuring this is pretty obvious but the coffee hasn't kicked in > > yet or something. I want to set up service templates of some sorts. > > I see there are service groups but this isn't it exactly because you > > have to define the host with each service. For example, a template > > would contain all of our base windows service that we monitor and then > > one of our level 1 or 2 guys can go in and 'use windows-base' to > > simply include that set of services for a host. I hope this makes > > sense. > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > ne > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > > > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > > via e-mail, we can not guarantee that any email or attachment is free from > > computer viruses and you are strongly advised to undertake your own anti-virus > > precautions. > > > > Kognitio grants no warranties regarding performance, use or quality of any > > e-mail or attachment and undertakes no liability for loss or damage, > > howsoever caused. > > > > Kognitio Limited > > Registered in England: 0212 7833 > > Registered Address: 3a Waterside Park > > Cookham Road > > Bracknell > > Berks > > RG12 1RB > > VAT number: 864 4378 92 > > *************************************************************************** > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Tue May 6 16:42:32 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Tue, 06 May 2008 08:42:32 -0600 Subject: service templates In-Reply-To: <8ee061010805060739y4f0fd768ma30871cf80fd914a@mail.gmail.com> References: <8ee061010805060739y4f0fd768ma30871cf80fd914a@mail.gmail.com> Message-ID: <1210084952.14746.25.camel@wahoo> I'm pretty sure Deborah is confused on this point, mistaking "Service Templates" for "Service Profiles". If I were you I would start looking at Monarch (or similar). On Tue, 2008-05-06 at 09:39 -0500, Terry wrote: > Please point me to these service profiles in the documentation, having > trouble finding them. > > On Tue, May 6, 2008 at 9:31 AM, Deborah Martin > wrote: > > They are available as part of the standard config. I've used them since > > 2005. > > > > > > -----Original Message----- > > > > *************************************************************************** > > This email and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > > > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > > via e-mail, we can not guarantee that any email or attachment is free from > > computer viruses and you are strongly advised to undertake your own anti-virus > > precautions. > > > > Kognitio grants no warranties regarding performance, use or quality of any > > e-mail or attachment and undertakes no liability for loss or damage, > > howsoever caused. > > > > Kognitio Limited > > Registered in England: 0212 7833 > > Registered Address: 3a Waterside Park > > Cookham Road > > Bracknell > > Berks > > RG12 1RB > > VAT number: 864 4378 92 > > *************************************************************************** > > > > > > > > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > > Sent: 06 May 2008 15:34 > > To: Terry > > Cc: Nagios Users mailinglist > > Subject: Re: [Nagios-users] service templates > > > > > > > > > > What you're talking about sounds like Service Profiles, which, I > > believe, are not available via regular nagios configs, but rather via a > > third party GUI configuration tool like Monarch (amongst others, > > probably). > > > > On Tue, 2008-05-06 at 09:30 -0500, Terry wrote: > > > Thanks for the reply. I do this already. This just cuts down on the > > > number of lines in a service check. It doesn't allow me to glob a set > > > of services into a single service or host definition though, which is > > > what I want (i think). > > > > > > On Tue, May 6, 2008 at 9:20 AM, Deborah Martin > > > wrote: > > > > Terry, > > > > You can do exactly that : > > > > > > > > In the main services.cfg, define your template > > > > > > > > define service{ > > > > name my-service ; The 'name' of this service > > > > template, referenced in other service definitions > > > > active_checks_enabled 1 ; Active service checks > > are > > > > enabled > > > > passive_checks_enabled 1 ; Passive service checks > > are > > > > enabled/accepted > > > > parallelize_check 1 ; Active service checks > > > > should be parallelized (disabling this can lead to major performance > > > > problems) > > > > obsess_over_service 1 ; We should obsess over > > this > > > > service (if necessary) > > > > check_freshness 0 ; Default is to NOT > > check > > > > service 'freshness' > > > > notifications_enabled 1 ; Service notifications > > are > > > > enabled > > > > event_handler_enabled 1 ; Service event handler > > is > > > > enabled > > > > flap_detection_enabled 1 ; Flap detection is > > enabled > > > > process_perf_data 1 ; Process performance > > data > > > > retain_status_information 1 ; Retain status > > information > > > > across program restarts > > > > retain_nonstatus_information 1 ; Retain non-status > > > > information across program restarts > > > > > > > > register 0 ; DONT REGISTER THIS > > > > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > > > } > > > > > > > > You need to change / add whatever else you want in there. > > > > > > > > Then for the service definition specific to a host : > > > > > > > > define service{ > > > > use my-service ; this will load the > > service > > > > template my-service > > > > host_name yourhostname > > > > service_description yourdescription > > > > contact_groups yourcontactgroups > > > > servicegroups yourservicegroups > > > > max_check_attempts 1 > > > > normal_check_interval 5 > > > > retry_check_interval 1 > > > > notifications_enabled 1 ; Service notifications are > > enabled > > > > notification_interval 240 > > > > notification_period 24x7 > > > > notification_options c,r ; Notifications are sent out > > on > > > > CRITICAL or RECOVERY > > > > check_period 24x7 > > > > check_command check_ping!100.0,20%!500.0,60% > > > > } > > > > > > > > You can do lots of stuff with this. I use the above for checking > > databases, > > > > but each database is slightly different > > > > so I use a template for the base, then define only the differences in > > the > > > > individual service definitions. Also, > > > > if you define the check_command in the template, but want to change the > > > > check_command slightly like the parameters passed to it, anything you > > put in > > > > the service definition overrides the template definition. Very useful > > if you > > > > want to test a plugin on a live system but don't want to change for > > > > everything until you're happy with it. > > > > > > > > Hope that helps. > > > > > > > > regards, > > > > deborah > > > > -----Original Message----- > > > > From: Terry [mailto:td3201 at gmail.com] > > > > Sent: 06 May 2008 15:11 > > > > To: Nagios Users mailinglist > > > > Subject: [Nagios-users] service templates > > > > > > > > > > > > I am figuring this is pretty obvious but the coffee hasn't kicked in > > > > yet or something. I want to set up service templates of some sorts. > > > > I see there are service groups but this isn't it exactly because you > > > > have to define the host with each service. For example, a template > > > > would contain all of our base windows service that we monitor and then > > > > one of our level 1 or 2 guys can go in and 'use windows-base' to > > > > simply include that set of services for a host. I hope this makes > > > > sense. > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > > Don't miss this year's exciting event. There's still time to save $100. > > > > Use priority code J8TL2D2. > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > > > ne > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 and any files transmitted with it are confidential and > > intended > > > > solely for the use of the individual or entity to whom they are > > addressed. > > > > Any unauthorised distribution or copying is strictly prohibited. > > > > > > > > Whilst Kognitio Limited takes steps to prevent the transmission of > > viruses > > > > via e-mail, we can not guarantee that any email or attachment is free > > from > > > > computer viruses and you are strongly advised to undertake your own > > anti-virus > > > > precautions. > > > > > > > > Kognitio grants no warranties regarding performance, use or quality of > > any > > > > e-mail or attachment and undertakes no liability for loss or damage, > > > > howsoever caused. > > > > > > > > Kognitio Limited > > > > Registered in England: 0212 7833 > > > > Registered Address: 3a Waterside Park > > > > Cookham Road > > > > Bracknell > > > > Berks > > > > RG12 1RB > > > > VAT number: 864 4378 92 > > > > > > *************************************************************************** > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > Don't miss this year's exciting event. There's still time to save $100. > > > Use priority code J8TL2D2. > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > ne > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > ne > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue May 6 16:42:33 2008 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 6 May 2008 15:42:33 +0100 Subject: service templates Message-ID: I think you're right, my email seems to be coming in whatever order it likes... doh! -----Original Message----- *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited Registered in England: 0212 7833 Registered Address: 3a Waterside Park Cookham Road Bracknell Berks RG12 1RB VAT number: 864 4378 92 *************************************************************************** From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] Sent: 06 May 2008 15:43 To: Terry Cc: Deborah Martin; Nagios Users mailinglist Subject: Re: [Nagios-users] service templates I'm pretty sure Deborah is confused on this point, mistaking "Service Templates" for "Service Profiles". If I were you I would start looking at Monarch (or similar). On Tue, 2008-05-06 at 09:39 -0500, Terry wrote: > Please point me to these service profiles in the documentation, having > trouble finding them. > > On Tue, May 6, 2008 at 9:31 AM, Deborah Martin > wrote: > > They are available as part of the standard config. I've used them since > > 2005. > > > > > > -----Original Message----- > > > > *************************************************************************** > > This email and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > > > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > > via e-mail, we can not guarantee that any email or attachment is free from > > computer viruses and you are strongly advised to undertake your own anti-virus > > precautions. > > > > Kognitio grants no warranties regarding performance, use or quality of any > > e-mail or attachment and undertakes no liability for loss or damage, > > howsoever caused. > > > > Kognitio Limited > > Registered in England: 0212 7833 > > Registered Address: 3a Waterside Park > > Cookham Road > > Bracknell > > Berks > > RG12 1RB > > VAT number: 864 4378 92 > > *************************************************************************** > > > > > > > > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > > Sent: 06 May 2008 15:34 > > To: Terry > > Cc: Nagios Users mailinglist > > Subject: Re: [Nagios-users] service templates > > > > > > > > > > What you're talking about sounds like Service Profiles, which, I > > believe, are not available via regular nagios configs, but rather via a > > third party GUI configuration tool like Monarch (amongst others, > > probably). > > > > On Tue, 2008-05-06 at 09:30 -0500, Terry wrote: > > > Thanks for the reply. I do this already. This just cuts down on the > > > number of lines in a service check. It doesn't allow me to glob a set > > > of services into a single service or host definition though, which is > > > what I want (i think). > > > > > > On Tue, May 6, 2008 at 9:20 AM, Deborah Martin > > > wrote: > > > > Terry, > > > > You can do exactly that : > > > > > > > > In the main services.cfg, define your template > > > > > > > > define service{ > > > > name my-service ; The 'name' of this service > > > > template, referenced in other service definitions > > > > active_checks_enabled 1 ; Active service checks > > are > > > > enabled > > > > passive_checks_enabled 1 ; Passive service checks > > are > > > > enabled/accepted > > > > parallelize_check 1 ; Active service checks > > > > should be parallelized (disabling this can lead to major performance > > > > problems) > > > > obsess_over_service 1 ; We should obsess over > > this > > > > service (if necessary) > > > > check_freshness 0 ; Default is to NOT > > check > > > > service 'freshness' > > > > notifications_enabled 1 ; Service notifications > > are > > > > enabled > > > > event_handler_enabled 1 ; Service event handler > > is > > > > enabled > > > > flap_detection_enabled 1 ; Flap detection is > > enabled > > > > process_perf_data 1 ; Process performance > > data > > > > retain_status_information 1 ; Retain status > > information > > > > across program restarts > > > > retain_nonstatus_information 1 ; Retain non-status > > > > information across program restarts > > > > > > > > register 0 ; DONT REGISTER THIS > > > > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > > > } > > > > > > > > You need to change / add whatever else you want in there. > > > > > > > > Then for the service definition specific to a host : > > > > > > > > define service{ > > > > use my-service ; this will load the > > service > > > > template my-service > > > > host_name yourhostname > > > > service_description yourdescription > > > > contact_groups yourcontactgroups > > > > servicegroups yourservicegroups > > > > max_check_attempts 1 > > > > normal_check_interval 5 > > > > retry_check_interval 1 > > > > notifications_enabled 1 ; Service notifications are > > enabled > > > > notification_interval 240 > > > > notification_period 24x7 > > > > notification_options c,r ; Notifications are sent out > > on > > > > CRITICAL or RECOVERY > > > > check_period 24x7 > > > > check_command check_ping!100.0,20%!500.0,60% > > > > } > > > > > > > > You can do lots of stuff with this. I use the above for checking > > databases, > > > > but each database is slightly different > > > > so I use a template for the base, then define only the differences in > > the > > > > individual service definitions. Also, > > > > if you define the check_command in the template, but want to change the > > > > check_command slightly like the parameters passed to it, anything you > > put in > > > > the service definition overrides the template definition. Very useful > > if you > > > > want to test a plugin on a live system but don't want to change for > > > > everything until you're happy with it. > > > > > > > > Hope that helps. > > > > > > > > regards, > > > > deborah > > > > -----Original Message----- > > > > From: Terry [mailto:td3201 at gmail.com] > > > > Sent: 06 May 2008 15:11 > > > > To: Nagios Users mailinglist > > > > Subject: [Nagios-users] service templates > > > > > > > > > > > > I am figuring this is pretty obvious but the coffee hasn't kicked in > > > > yet or something. I want to set up service templates of some sorts. > > > > I see there are service groups but this isn't it exactly because you > > > > have to define the host with each service. For example, a template > > > > would contain all of our base windows service that we monitor and then > > > > one of our level 1 or 2 guys can go in and 'use windows-base' to > > > > simply include that set of services for a host. I hope this makes > > > > sense. > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > > Don't miss this year's exciting event. There's still time to save $100. > > > > Use priority code J8TL2D2. > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > > > ne > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 and any files transmitted with it are confidential and > > intended > > > > solely for the use of the individual or entity to whom they are > > addressed. > > > > Any unauthorised distribution or copying is strictly prohibited. > > > > > > > > Whilst Kognitio Limited takes steps to prevent the transmission of > > viruses > > > > via e-mail, we can not guarantee that any email or attachment is free > > from > > > > computer viruses and you are strongly advised to undertake your own > > anti-virus > > > > precautions. > > > > > > > > Kognitio grants no warranties regarding performance, use or quality of > > any > > > > e-mail or attachment and undertakes no liability for loss or damage, > > > > howsoever caused. > > > > > > > > Kognitio Limited > > > > Registered in England: 0212 7833 > > > > Registered Address: 3a Waterside Park > > > > Cookham Road > > > > Bracknell > > > > Berks > > > > RG12 1RB > > > > VAT number: 864 4378 92 > > > > > > *************************************************************************** > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > Don't miss this year's exciting event. There's still time to save $100. > > > Use priority code J8TL2D2. > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > ne > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > ne > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nagios at kvn.de Tue May 6 16:10:29 2008 From: Nagios at kvn.de (Nagios) Date: Tue, 06 May 2008 16:10:29 +0200 Subject: 2 errors detected in the compilation of "nrpe.c". Message-ID: <4820831C.A860.00CE.0@kvn.de> Hi List, here is the error-message for compilation of "nrpe.c" on superdome with hpux 11.31 (version 3). ---schnipp--- supderdome:/home/nagios/nrpe-2.12> make all cd ./src/; make ; cd .. cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -c ./snprintf.c (Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, ignored. "./snprintf.c", line 273: warning #2068-D: integer conversion resulted in a change of sign size_t ret = -1; ^ cc -g -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/lib/hpux32 -lssl -lcrypto -lnsl -lwrap ./snprintf.o (Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, ignored. nrpe.c: "nrpe.c", line 617: error #2020: identifier "LOG_AUTHPRIV" is undefined log_facility=LOG_AUTHPRIV; ^ "nrpe.c", line 619: error #2020: identifier "LOG_FTP" is undefined log_facility=LOG_FTP; ^ "nrpe.c", line 852: warning #2167-D: argument of type "socklen_t *" is incompatible with parameter of type "int *" rc=getpeername(new_sd,&addr,&addrlen); ^ "nrpe.c", line 865: warning #4232-D: conversion from "struct sockaddr *" to a more strictly aligned type "struct sockaddr_in *" may cause misaligned access nptr=(struct sockaddr_in *)&addr; ^ 2 errors detected in the compilation of "nrpe.c". utils.c: *** Error exit code 2 Stop. *** Error exit code 1 Stop. ---schnapp--- Is there some helps? Thanks a lot! NSCA 2.7.2 and Nagios-plugins 1.4.11 will works fine on the same maschine, with no errors! Detlef ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Tue May 6 18:57:21 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Tue, 06 May 2008 18:57:21 +0200 Subject: HTTP authorixation in check_http doesn't work In-Reply-To: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local> References: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local> Message-ID: <48208DF1.9040807@process-zero.de> Jevos, Peter schrieb: > Hi , > > I tried to use check_http plugin again address that is running on IIS. > > There is authorization in format: domain\user adn password > So I did: > ./check_http -t 40 -H my_http_address -a domain\nuser:pwd > Why do you use "\n" before the user? Did you try a \\user? One \ for the bash and one for the plugin? Regards, Hendrik -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3261 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue May 6 19:42:54 2008 From: td3201 at gmail.com (Terry) Date: Tue, 6 May 2008 12:42:54 -0500 Subject: service templates In-Reply-To: References: Message-ID: <8ee061010805061042w52370b4au4af72ce03741e1f0@mail.gmail.com> Ok, it looks like I might be able to simplify this with additional hostgroups: define hostgroup { hostgroup_name windows-servers alias windows-servers } define host{ use default host_name OMAJELNS01 address 10.0.1.127 parents OMAJELFW01 hostgroups windows-servers } define service{ use server-emailonly-noticket hostgroup_name windows-servers service_description cpu check_command check_nrpe_win_cpu!80!90 } What do you guys think? On Tue, May 6, 2008 at 9:42 AM, Deborah Martin wrote: > I think you're right, my email seems to be coming in whatever order it > likes... > > doh! > > > > -----Original Message----- > > *************************************************************************** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > Any unauthorised distribution or copying is strictly prohibited. > > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > via e-mail, we can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake your own anti-virus > precautions. > > Kognitio grants no warranties regarding performance, use or quality of any > e-mail or attachment and undertakes no liability for loss or damage, > howsoever caused. > > Kognitio Limited > Registered in England: 0212 7833 > Registered Address: 3a Waterside Park > Cookham Road > Bracknell > Berks > RG12 1RB > VAT number: 864 4378 92 > *************************************************************************** > > > > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > Sent: 06 May 2008 15:43 > To: Terry > Cc: Deborah Martin; Nagios Users mailinglist > > > Subject: Re: [Nagios-users] service templates > > > I'm pretty sure Deborah is confused on this point, mistaking "Service > Templates" for "Service Profiles". If I were you I would start looking > at Monarch (or similar). > > On Tue, 2008-05-06 at 09:39 -0500, Terry wrote: > > Please point me to these service profiles in the documentation, having > > trouble finding them. > > > > On Tue, May 6, 2008 at 9:31 AM, Deborah Martin > > wrote: > > > They are available as part of the standard config. I've used them since > > > 2005. > > > > > > > > > -----Original Message----- > > > > > > > *************************************************************************** > > > This email and any files transmitted with it are confidential and > intended > > > solely for the use of the individual or entity to whom they are > addressed. > > > Any unauthorised distribution or copying is strictly prohibited. > > > > > > Whilst Kognitio Limited takes steps to prevent the transmission of > viruses > > > via e-mail, we can not guarantee that any email or attachment is free > from > > > computer viruses and you are strongly advised to undertake your own > anti-virus > > > precautions. > > > > > > Kognitio grants no warranties regarding performance, use or quality of > any > > > e-mail or attachment and undertakes no liability for loss or damage, > > > howsoever caused. > > > > > > Kognitio Limited > > > Registered in England: 0212 7833 > > > Registered Address: 3a Waterside Park > > > Cookham Road > > > Bracknell > > > Berks > > > RG12 1RB > > > VAT number: 864 4378 92 > > > > *************************************************************************** > > > > > > > > > > > > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > > > Sent: 06 May 2008 15:34 > > > To: Terry > > > Cc: Nagios Users mailinglist > > > Subject: Re: [Nagios-users] service templates > > > > > > > > > > > > > > > What you're talking about sounds like Service Profiles, which, I > > > believe, are not available via regular nagios configs, but rather via a > > > third party GUI configuration tool like Monarch (amongst others, > > > probably). > > > > > > On Tue, 2008-05-06 at 09:30 -0500, Terry wrote: > > > > Thanks for the reply. I do this already. This just cuts down on the > > > > number of lines in a service check. It doesn't allow me to glob a > set > > > > of services into a single service or host definition though, which is > > > > what I want (i think). > > > > > > > > On Tue, May 6, 2008 at 9:20 AM, Deborah Martin > > > > wrote: > > > > > Terry, > > > > > You can do exactly that : > > > > > > > > > > In the main services.cfg, define your template > > > > > > > > > > define service{ > > > > > name my-service ; The 'name' of this > service > > > > > template, referenced in other service definitions > > > > > active_checks_enabled 1 ; Active service > checks > > > are > > > > > enabled > > > > > passive_checks_enabled 1 ; Passive service > checks > > > are > > > > > enabled/accepted > > > > > parallelize_check 1 ; Active service > checks > > > > > should be parallelized (disabling this can lead to major > performance > > > > > problems) > > > > > obsess_over_service 1 ; We should obsess > over > > > this > > > > > service (if necessary) > > > > > check_freshness 0 ; Default is to NOT > > > check > > > > > service 'freshness' > > > > > notifications_enabled 1 ; Service > notifications > > > are > > > > > enabled > > > > > event_handler_enabled 1 ; Service event > handler > > > is > > > > > enabled > > > > > flap_detection_enabled 1 ; Flap detection is > > > enabled > > > > > process_perf_data 1 ; Process > performance > > > data > > > > > retain_status_information 1 ; Retain status > > > information > > > > > across program restarts > > > > > retain_nonstatus_information 1 ; Retain non-status > > > > > information across program restarts > > > > > > > > > > register 0 ; DONT REGISTER > THIS > > > > > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > > > > } > > > > > > > > > > You need to change / add whatever else you want in there. > > > > > > > > > > Then for the service definition specific to a host : > > > > > > > > > > define service{ > > > > > use my-service ; this will load the > > > service > > > > > template my-service > > > > > host_name yourhostname > > > > > service_description yourdescription > > > > > contact_groups yourcontactgroups > > > > > servicegroups yourservicegroups > > > > > max_check_attempts 1 > > > > > normal_check_interval 5 > > > > > retry_check_interval 1 > > > > > notifications_enabled 1 ; Service notifications are > > > enabled > > > > > notification_interval 240 > > > > > notification_period 24x7 > > > > > notification_options c,r ; Notifications are sent > out > > > on > > > > > CRITICAL or RECOVERY > > > > > check_period 24x7 > > > > > check_command check_ping!100.0,20%!500.0,60% > > > > > } > > > > > > > > > > You can do lots of stuff with this. I use the above for checking > > > databases, > > > > > but each database is slightly different > > > > > so I use a template for the base, then define only the differences > in > > > the > > > > > individual service definitions. Also, > > > > > if you define the check_command in the template, but want to > change the > > > > > check_command slightly like the parameters passed to it, anything > you > > > put in > > > > > the service definition overrides the template definition. Very > useful > > > if you > > > > > want to test a plugin on a live system but don't want to change > for > > > > > everything until you're happy with it. > > > > > > > > > > Hope that helps. > > > > > > > > > > regards, > > > > > deborah > > > > > -----Original Message----- > > > > > From: Terry [mailto:td3201 at gmail.com] > > > > > Sent: 06 May 2008 15:11 > > > > > To: Nagios Users mailinglist > > > > > Subject: [Nagios-users] service templates > > > > > > > > > > > > > > > I am figuring this is pretty obvious but the coffee hasn't kicked > in > > > > > yet or something. I want to set up service templates of some > sorts. > > > > > I see there are service groups but this isn't it exactly because > you > > > > > have to define the host with each service. For example, a > template > > > > > would contain all of our base windows service that we monitor and > then > > > > > one of our level 1 or 2 guys can go in and 'use windows-base' to > > > > > simply include that set of services for a host. I hope this > makes > > > > > sense. > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > > > Don't miss this year's exciting event. There's still time to save > $100. > > > > > Use priority code J8TL2D2. > > > > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > > > > ne > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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 and any files transmitted with it are confidential and > > > intended > > > > > solely for the use of the individual or entity to whom they are > > > addressed. > > > > > Any unauthorised distribution or copying is strictly prohibited. > > > > > > > > > > Whilst Kognitio Limited takes steps to prevent the transmission of > > > viruses > > > > > via e-mail, we can not guarantee that any email or attachment is > free > > > from > > > > > computer viruses and you are strongly advised to undertake your > own > > > anti-virus > > > > > precautions. > > > > > > > > > > Kognitio grants no warranties regarding performance, use or > quality of > > > any > > > > > e-mail or attachment and undertakes no liability for loss or > damage, > > > > > howsoever caused. > > > > > > > > > > Kognitio Limited > > > > > Registered in England: 0212 7833 > > > > > Registered Address: 3a Waterside Park > > > > > Cookham Road > > > > > Bracknell > > > > > Berks > > > > > RG12 1RB > > > > > VAT number: 864 4378 92 > > > > > > > > > *************************************************************************** > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > > Don't miss this year's exciting event. There's still time to save > $100. > > > > Use priority code J8TL2D2. > > > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > > ne > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 2008 JavaOne(SM) Conference > > > Don't miss this year's exciting event. There's still time to save $100. > > > Use priority code J8TL2D2. > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > > > ne > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 6 21:33:35 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 6 May 2008 15:33:35 -0400 Subject: service templates In-Reply-To: References: <8ee061010805061042w52370b4au4af72ce03741e1f0@mail.gmail.com> Message-ID: Whoops, hit send too soon! hostgroup should be hostgroups in my example .. if you use the host template method, just remember that in the host definition you will then need to use a + in front of host groups defined in the host definition so that the host inherits the hostgroups from the templates in 'use' .. so the same should be done in the host template :p ... define host { name windows-server __variable_1 stuff __variable_2 stuff hostgroups +windows-servers ... register 0 } define host { use generic-host, windows-server hostgroups +ssh-hosts, http-hosts ... } Sorry about that. - Max ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 6 21:27:32 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 6 May 2008 15:27:32 -0400 Subject: service templates In-Reply-To: <8ee061010805061042w52370b4au4af72ce03741e1f0@mail.gmail.com> References: <8ee061010805061042w52370b4au4af72ce03741e1f0@mail.gmail.com> Message-ID: On Tue, May 6, 2008 at 1:42 PM, Terry wrote: > Ok, it looks like I might be able to simplify this with additional hostgroups: > Exactly :), associate all services common to a server type with a hostgroup and then just add hosts to the hostgroup, scales very well .. if the services in the hostgroup all require custom attributes that are similar in their command definitions you can even refactor them and the hostgroup into a host template and then just add the template to the 'use' statement of any hosts in the hostgroup .. you could also put notes_url or action_url attributes or other CGI config items in the host template as well define host { name windows-server __custom_attribute_1 value __custom_attribute_2 value notes_url http://notes.example.com/query.pl?host=$HOSTNAME$ hostgroup windows-servers .... register 0 } define host { use generic-host, windows-server ... } - Max ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue May 6 22:41:10 2008 From: td3201 at gmail.com (Terry) Date: Tue, 6 May 2008 15:41:10 -0500 Subject: service templates In-Reply-To: References: <8ee061010805061042w52370b4au4af72ce03741e1f0@mail.gmail.com> Message-ID: <8ee061010805061341r4045885chc543eb0d832f1e46@mail.gmail.com> Good tip. I don't think I'll put my hostgroup definitions in my templates. I'll put them directly in the host configuration so I can do soemthing like this: define host{ use server-24x7 host_name DB1 address 192.168.100.77 hostgroups windows,sql,iis parents OMAJELFW01 } On Tue, May 6, 2008 at 2:33 PM, Max wrote: > Whoops, hit send too soon! > > hostgroup should be hostgroups in my example .. > > if you use the host template method, just remember that in the host > definition you will then need to use a + in front of host groups > defined in the host definition so that the host inherits the > hostgroups from the templates in 'use' .. > > so the same should be done in the host template :p ... > > define host { > name windows-server > __variable_1 stuff > __variable_2 stuff > hostgroups +windows-servers > ... > register 0 > } > > define host { > use generic-host, windows-server > hostgroups +ssh-hosts, http-hosts > ... > } > > Sorry about that. > > - Max > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed May 7 00:41:11 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 6 May 2008 18:41:11 -0400 Subject: nagios reboot XP In-Reply-To: References: Message-ID: NC_Net and NRPE also can provide the ability to run scripts on the windows Host. to restart a service the net start/stop command works well in windows You can also setup the services on the windows box to automatically restart through the windows service manager Tony (author of NC_Net) On Tue, May 6, 2008 at 8:26 AM, Jon Terry wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Ange AMBEMOU > > Sent: Tuesday, May 06, 2008 4:49 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios reboot XP > > > > hello all, > > > > i have two questions > > > > 1- Is possible to nagios to reboot et midcrosft box or one > > service on this box if there are a mistake ? > > As Sebastian indicated, you could use NSClient++ in order to execute > psshutdown and or psservice from Sysinternals as part of an > eventhandler. > > http://trac.nakednuns.org/nscp/wiki/CheckExternalScripts > > http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx > > > > 2- nagios can accepte the trap snmp only and dont do the get snmp ? > > > I'm not sure I understand. Have you looked at the check_snmp plugin? > > Jon > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From informacije at stane.org Wed May 7 06:52:48 2008 From: informacije at stane.org (Stane) Date: Wed, 07 May 2008 06:52:48 +0200 Subject: Issue monitoring process on windows Message-ID: Hello all! I need a little help configuring Nagios (client?) to monitor (non) existence of a process on a windows box (explorer.exe for example). I'm using client v0.3.1 and Nagios v3.0.1 with plug ins v1.4.11 on Centos 5.1 server. My request (or wish :-)) is: OK condition: explorer.exe IS NOT running CRITICAL condition: explore.exe IS running (Note that normal condition should be NON running process). Check 1: - which I made locally on windows box: I run "nsclient++ /test" on windows box and enter: CheckProcState ShowAll explorer.exe=stopped I get next (good) answer: CRITICAL:CRITICAL: explorer.exe: started (critical) Check 1 gives next entries in NSC.log: debug:.\NSClient++.cpp:516: Injecting: CheckProcState: ShowAll, explorer.exe=stopped debug:.\NSClient++.cpp:536: Injected Result: CRITICAL 'CRITICAL: explorer.exe: started (critical)' Check 2: - which I made remotely from nagios server: I run next command: check_nt -H 192.168.5.3 -p 12489 -v PROCSTATE -l "explorer.exe=stopped" -d SHOWALL I get next (not ok) answer: explorer.exe: Running Check 1 gives next entries in NSC.log: debug:.\NSClient++.cpp:516: Injecting: checkProcState: ShowAll, explorer.exe=stopped, nsclient debug:.\NSClient++.cpp:536: Injected Result: OK 'explorer.exe: Running' (Where IP address 192.168.5.3 is my windows box). Using nsc log on windows box, I've found the difference between Check 1 and Check 2. It's is in injecting command. Check 2 has an additional ?,nsclient? at the end of injecting line (without quotes). Unfortunately, I can't figure why there is ",nsclient" appearing in remote command and I don't know how to fix it. Please help. Thanks, Stane ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Wed May 7 09:29:48 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 07 May 2008 16:29:48 +0900 Subject: About notification procedure Message-ID: <200805070729.AA02160@S2005110.jp.fujitsu.com> Hello, I would like to get an advice regarding to the host and service notification procedure. Following are few conditions that I have for my configuration. 1. I am monitoring host : Host A and associates icmp_ping_alive for service. 2. The host configuration for Host A is below: Notifications enabled: disabled Max check attempts: 3 Notification interval: 60 3. The service configuration for icmp_ping_alive Notifications enabled: enabled Max check attempts: 3 Notification interval: 60 I have following lines were in the nagios.log. 3440 [1207507087] HOST ALERT: HostA;DOWN;SOFT;1;CRITICAL - 192.168.0.1: rta nan, lost 100% 3441 [1207507097] HOST ALERT: HostA;DOWN;SOFT;2;CRITICAL - 192.168.0.1: rta nan, lost 100% 3442 [1207507107] HOST ALERT: HostA;DOWN;HARD;3;CRITICAL - 192.168.0.1: rta nan, lost 100% 3447 [1207507107] SERVICE ALERT: HostA;icmp_ping_alive;CRITICAL;HARD;1;CRITICAL - 192.168.0.1: rta nan, lost 100% 3450 [1207507187] HOST ALERT: HostA;UP;HARD;1;OK - 192.168.0.1: rta 0.803ms, lost 0% My question is why there wasn't any notification after the line 3447? I have searched the document(Nagios 2.x) for this issue but I couldn't find a description which describes, "Why Nagios does not send Service Notification if there were an Host Hard Status changes before the Service Alert?" I have also checked the log and confirmed it that there were any Service Notification in the last one hour. Yu Watanabe ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bulik_en at yahoo.com Wed May 7 09:46:03 2008 From: bulik_en at yahoo.com (ninjai) Date: Wed, 7 May 2008 00:46:03 -0700 (PDT) Subject: Nagios Alert thru SMS Message-ID: <122530.81606.qm@web53010.mail.re2.yahoo.com> Hi All, Would like to ask some help regarding nagios alert thru SMS. Is there any plugin that I can integrate to my nagios? Please help. Thanks and Regards, bulik ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Wed May 7 10:13:09 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Wed, 7 May 2008 12:13:09 +0400 Subject: Nagios Alert thru SMS In-Reply-To: <122530.81606.qm@web53010.mail.re2.yahoo.com> References: <122530.81606.qm@web53010.mail.re2.yahoo.com> Message-ID: <016a01c8b01a$3034e3f0$909eabd0$@ru> Hello! You want to use SMS gateway or you have a GSM modem? Best regards, Ilya. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of ninjai Sent: Wednesday, May 07, 2008 11:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Alert thru SMS Hi All, Would like to ask some help regarding nagios alert thru SMS. Is there any plugin that I can integrate to my nagios? Please help. Thanks and Regards, bulik _____ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed May 7 10:13:25 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 07 May 2008 10:13:25 +0200 Subject: Nagios Alert thru SMS In-Reply-To: <122530.81606.qm@web53010.mail.re2.yahoo.com> References: <122530.81606.qm@web53010.mail.re2.yahoo.com> Message-ID: <482164A5.3090408@its-lehmann.de> Hi, 07.05.2008 09:46, ninjai wrote: > > Hi All, > > Would like to ask some help regarding nagios alert thru SMS. Is there > any plugin that I can integrate to my nagios? You could search the list archives - this has been discussed extensively. A more complete answer is "yes". Even more complete: Any tool you can use to send SMS'es. gnokii, sms-tools, web-based services, mail-to-sms gateways... you can choose from a wide avriety of options. Arno > Please help. > > Thanks and Regards, > > bulik > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try > it now. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Wed May 7 10:24:36 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Wed, 7 May 2008 12:24:36 +0400 Subject: Nagios Alert thru SMS In-Reply-To: <704094.39417.qm@web53002.mail.re2.yahoo.com> References: <704094.39417.qm@web53002.mail.re2.yahoo.com> Message-ID: <017f01c8b01b$c9cc63c0$5d652b40$@ru> Bulik, please keep it on the mailing list. You can achieve your aim using several ways: 1) Peter Edmond's solution: "I use gnokii. I have used a Telular GSM SX5D and currently use an Easygate analog fixed cellular terminal (via serial port). Gnokii is avaialble in Debian Etch and supports a lot of mobile phones. Check http://wiki.gnokii.org/index.php/Config for a partial list of supported phones. The atgen driver in gnokii supports lots of phones. /etc/gnokiirc looks like this [global] port = /dev/ttyS0 model = AT initlength = default connection = serial use_locking = yes serial_baudrate = 19200 smsc_timeout = 10 [gnokiid] bindir = /usr/sbin/ [connect_script] TELEPHONE = 12345678 [disconnect_script] [logging] debug = on rlpdebug = off xdebug = off Notify command for service notifications looks like this echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME $" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/groundwork/nagios/var/gnokii.log 2>&1 For host notifications this does the job echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$HOSTOUTPUT$\n$LONGDATETIME$" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 Peter Edmonds" 2) DD's solution: "Yeah i'm using same siemens gsm terminals and it's working great. But they are out of production now, so u will have to get them some on ebay or something similar. Here is little bash script /usr/local/bin/sendsms which will send sms to specified number: ----- #!/bin/bash SMSCMD=/usr/bin/scmxx if [ -z "$2" ];then echo "Usage: $0 " exit 0 fi $SMSCMD --device=/dev/ttyS0 --send --sms --direct -q --number=$1 --text="$2" ----- /usr/bin/scmxx is binary from package scmxx (debian package) for communitacion with siemens phones. Then i have notify command defined in nagios. For services it looks like this: /usr/local/bin/sendsms $CONTACTPAGER$ "Service: $SERVICEDESC$ Host: $HOSTNAME$ State: $SERVICESTATE$ Notify: $NOTIFICATIONTYPE$" for hosts: /usr/local/bin/sendsms $CONTACTPAGER$ "Host: $HOSTNAME$ State: $HOSTSTATE$ Notify: $NOTIFICATIONTYPE$" And for each contact has defined it's mobile phone number as pager. That's all. Cheers, DD ---" As for me I use Peter Edmond's solution (gnokii). Best regards, Ilya. From: ninjai [mailto:bulik_en at yahoo.com] Sent: Wednesday, May 07, 2008 12:15 PM To: Ilya Meylikhov Subject: Re: [Nagios-users] Nagios Alert thru SMS Hi Ilya, I have GSM modem brand Falcom. thanks for your prompt response regards bulik ----- Original Message ---- From: Ilya Meylikhov To: ninjai ; nagios-users at lists.sourceforge.net Sent: Wednesday, May 7, 2008 4:13:09 PM Subject: RE: [Nagios-users] Nagios Alert thru SMS Hello! You want to use SMS gateway or you have a GSM modem? Best regards, Ilya. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of ninjai Sent: Wednesday, May 07, 2008 11:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Alert thru SMS Hi All, Would like to ask some help regarding nagios alert thru SMS. Is there any plugin that I can integrate to my nagios? Please help. Thanks and Regards, bulik _____ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. _____ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 7 10:28:53 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Wed, 7 May 2008 10:28:53 +0200 Subject: Nagios Alert thru SMS In-Reply-To: <122530.81606.qm@web53010.mail.re2.yahoo.com> References: <122530.81606.qm@web53010.mail.re2.yahoo.com> Message-ID: <200805071028.54108.cschneemann@suse.de> On Wednesday May 7 2008 09:46:03 am ninjai wrote: > Hi All, Hi, > > Would like to ask some help regarding nagios alert thru SMS. Is there any > plugin that I can integrate to my nagios? > I'm not subscribed to this list for such a long time, but this question is asked from time to time, so I had a look in the archive. > Please help. Have a look at this mailthread, I think it will help.. http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg13618.html > > Thanks and Regards, > > bulik > > > > > ___________________________________________________________________________ >_________ Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- 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) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Jevos at oriflame.com Wed May 7 11:58:10 2008 From: Peter.Jevos at oriflame.com (Jevos, Peter) Date: Wed, 7 May 2008 11:58:10 +0200 Subject: HTTP authorixation in check_http doesn't work References: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local> <48208DF1.9040807@process-zero.de> Message-ID: <6639BA20B265594590E97DD72A8EE0350BEDBE@exosw.osw.ori.local> > Hi , > > I tried to use check_http plugin again address that is running on IIS. > > There is authorization in format: domain\user adn password > So I did: > ./check_http -t 40 -H my_http_address -a domain\nuser:pwd > Why do you use "\n" before the user? Did you try a \\user? One \ for the bash and one for the plugin? Regards, Hendrik Thanks for you answer Henrik. Of course \n and other credentials are not real. I also used double \\ but the result is the same: HTTP WARNING: HTTP/1.1 401 Unauthorized When I tried to login through browser it works thx br pet -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeP at protronics.co.uk Wed May 7 12:17:39 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Wed, 7 May 2008 11:17:39 +0100 Subject: HTTP authorixation in check_http doesn't work References: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local><48208DF1.9040807@process-zero.de> <6639BA20B265594590E97DD72A8EE0350BEDBE@exosw.osw.ori.local> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E7205A0@PRO001.protronics.co.uk> Although its highly likely I could be wrong, I was under the impression that the authentication option for check_http only works on sites using basic authentication. Its sounds like the site you are trying to access is possibly using Integrated Windows or Digest authentication because you are having to enter the domain name. http://nagiosplugins.org/man/check_http Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jevos, Peter Sent: 07 May 2008 10:58 To: Hendrik B??cker; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HTTP authorixation in check_http doesn't work > Hi , > > I tried to use check_http plugin again address that is running on IIS. > > There is authorization in format: domain\user adn password > So I did: > ./check_http -t 40 -H my_http_address -a domain\nuser:pwd > Why do you use "\n" before the user? Did you try a \\user? One \ for the bash and one for the plugin? Regards, Hendrik Thanks for you answer Henrik. Of course \n and other credentials are not real. I also used double \\ but the result is the same: HTTP WARNING: HTTP/1.1 401 Unauthorized When I tried to login through browser it works thx br pet -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ug at cinetic21.de Wed May 7 13:35:44 2008 From: ug at cinetic21.de (Uwe =?ISO-8859-1?Q?Gro=DFkinsky?=) Date: Wed, 07 May 2008 13:35:44 +0200 Subject: Remote check with check_load check_disk Message-ID: <1210160144.26539.6.camel@ug.site> hello list i will check a remotehost with "check_load" "check_disk" and so on in nagios. nrpe was 2.12 was installed (compiled) (plugins was also compiled) and run very fine (check_ping, check_http and so on was working fine). but now i will check the status from the systemload with the some plugins, for example "check_load" but i dont understand the right way to configure. i have read the documentation but i am hanging. thanks a lot greets uwe ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Wed May 7 13:54:32 2008 From: dennis at huenseler.net (=?ISO-8859-1?Q?Dennis_H=FCnseler?=) Date: Wed, 07 May 2008 13:54:32 +0200 Subject: Remote check with check_load check_disk In-Reply-To: <1210160144.26539.6.camel@ug.site> References: <1210160144.26539.6.camel@ug.site> Message-ID: <48219878.7030709@huenseler.net> Uwe Gro?kinsky schrieb: > hello list > > i will check a remotehost with "check_load" "check_disk" and so on in > nagios. > nrpe was 2.12 was installed (compiled) (plugins was also compiled) and > run very fine (check_ping, check_http and so on was working fine). > > but now i will check the status from the systemload with the some > plugins, for example "check_load" but i dont understand the right way to > configure. > > i have read the documentation but i am hanging. > > thanks a lot > > greets uwe > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 uwe, just go to the remote host and edit the nrpe.cfg command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 and on your nagios host create the referring check_definition: define service{ use generic-service-perf ; Name of service template to use host_name your_host service_description nrpe_Current Load check_command check_nrpe!check_load } Kind regards, Dennis ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed May 7 14:07:47 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 07 May 2008 13:07:47 +0100 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <20080502170522.269170@gmx.net> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> <20080429164938.57530@gmx.net> <481761E5.9020309@googlemail.com> <20080430200037.40810@gmx.net> <4819BDDA.5030705@googlemail.com> <20080502170522.269170@gmx.net> Message-ID: <48219B93.1090200@googlemail.com> Hi Daniel, Could you please try version 0.7.2 on nagiosexchange and let me know how you get on. Thanks -h Daniel Guillermo Bareiro wrote: >> Daniel, >> > > Hi Hari > > >> Could you pls try with the latest version 0.7 on nagiosexchange and >> let us know if you still have any problem with it? >> > > I don't remember to have seen this version 0.7. It seems the last > update was May 1 in Nagiosexchange. A new version in the International > day of workers. extraordinary!! :-D > > With the new version I got the same problem :-( > > ############## Initial state > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Fri May 2 13:50:45 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9746 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 active sync /dev/sdb2 > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl.1 -vvv > finding all MD arrays via: /sbin/mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Fri May 2 13:51:30 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9746 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 8 18 1 active sync /dev/sdb2 > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK [3 arrays checked] > > ############## Removing /dev/sdb2 from /dev/md1 > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --manage /dev/md1 --fail /dev/sdb2 > mdadm: set /dev/sdb2 faulty in /dev/md1 > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --manage /dev/md1 --remove /dev/sdb2 > mdadm: hot removed /dev/sdb2 > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Fri May 2 13:54:44 2008 > State : clean, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9764 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl.1 -vvv > finding all MD arrays via: /sbin/mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 1 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Fri May 2 13:55:54 2008 > State : clean, degraded > Active Devices : 1 > Working Devices : 1 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9772 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 1 0 0 1 removed > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK [3 arrays checked] > > ############## Rebuilding state > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm /dev/md1 --add /dev/sdb2 > mdadm: re-added /dev/sdb2 > > xenhost7:/usr/local/nagios/libexec/non-std# mdadm --detail /dev/md{0..2} > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Fri May 2 13:58:40 2008 > State : clean, degraded, recovering > Active Devices : 1 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 1 > > Rebuild Status : 14% complete > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9808 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 2 8 18 1 spare rebuilding /dev/sdb2 > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl.1 -vvv > finding all MD arrays via: /sbin/mdadm --detail --scan > found array /dev/md0 > found array /dev/md1 > found array /dev/md2 > Now testing raid device "/dev/md0" > /dev/md0: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:04 2008 > Raid Level : raid1 > Array Size : 979840 (957.04 MiB 1003.36 MB) > Device Size : 979840 (957.04 MiB 1003.36 MB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 11:42:28 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 956ff562:7ba15903:6068b800:4a673998 > Events : 0.2 > > Number Major Minor RaidDevice State > 0 8 1 0 active sync /dev/sda1 > 1 8 17 1 active sync /dev/sdb1 > Now testing raid device "/dev/md1" > /dev/md1: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:15 2008 > Raid Level : raid1 > Array Size : 19534976 (18.63 GiB 20.00 GB) > Device Size : 19534976 (18.63 GiB 20.00 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 1 > Persistence : Superblock is persistent > > Update Time : Fri May 2 13:59:28 2008 > State : clean, degraded, recovering > Active Devices : 1 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 1 > > Rebuild Status : 29% complete > > UUID : 119bcdde:0ac351b2:d05e4382:e6def213 > Events : 0.9818 > > Number Major Minor RaidDevice State > 0 8 2 0 active sync /dev/sda2 > 2 8 18 1 spare rebuilding /dev/sdb2 > Now testing raid device "/dev/md2" > /dev/md2: > Version : 00.90.03 > Creation Time : Thu Apr 10 17:46:25 2008 > Raid Level : raid1 > Array Size : 292053568 (278.52 GiB 299.06 GB) > Device Size : 292053568 (278.52 GiB 299.06 GB) > Raid Devices : 2 > Total Devices : 2 > Preferred Minor : 2 > Persistence : Superblock is persistent > > Update Time : Mon Apr 28 18:31:36 2008 > State : clean > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 > Events : 0.8 > > Number Major Minor RaidDevice State > 0 8 3 0 active sync /dev/sda3 > 1 8 19 1 active sync /dev/sdb3 > RAID OK: All arrays OK [3 arrays checked] > > I'm using Debian GNU/Linux Etch with mdadm 2.5.6-9. > > Thanks for your response. > > Regards, > Daniel > -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 7 14:34:39 2008 From: palleje at gmail.com (Palle L Jensen) Date: Wed, 7 May 2008 08:34:39 -0400 Subject: nagios reboot XP In-Reply-To: References: Message-ID: <003601c8b03e$b96c42c0$98ad38a6@na.dsmain.com> Writing a batch that restart/start /stop etc. is np, but how would you call the batch/script file from Nagios? Thanks, PJ _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Tuesday, May 06, 2008 6:41 PM To: Jon Terry Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios reboot XP NC_Net and NRPE also can provide the ability to run scripts on the windows Host. to restart a service the net start/stop command works well in windows You can also setup the services on the windows box to automatically restart through the windows service manager Tony (author of NC_Net) On Tue, May 6, 2008 at 8:26 AM, Jon Terry wrote: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ange AMBEMOU > Sent: Tuesday, May 06, 2008 4:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios reboot XP > > hello all, > > i have two questions > > 1- Is possible to nagios to reboot et midcrosft box or one > service on this box if there are a mistake ? As Sebastian indicated, you could use NSClient++ in order to execute psshutdown and or psservice from Sysinternals as part of an eventhandler. http://trac.nakednuns.org/nscp/wiki/CheckExternalScripts http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx > 2- nagios can accepte the trap snmp only and dont do the get snmp ? > I'm not sure I understand. Have you looked at the check_snmp plugin? Jon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed May 7 14:50:32 2008 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 7 May 2008 08:50:32 -0400 Subject: APC snmp monitoring Message-ID: <302ce8b50805070550u4033836x98b1f3595016932b@mail.gmail.com> I'm running into an interesting issue with monitoring some of our UPS systems via the 9617 management card's snmp interface. I've trying to get the altinity check_apc_ups plugin (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1733.html;d=1) working, but I'm having an issue with the ePN interpreter. Running CentOS 5 (x86) and nagios 2.11. If I execute the plugin as root or as the nagios user via su - nagios, it works fine, however when nagios itself executes the command, I get ePN failures about how the variables are un-defined. The only thing I can see which might cause this (my perl sucks) is that some of the other perl plugins have a 'use vars $var1 $var2' etc, and this one does not. Is anyone else seeing similar behavior, or could take a look at the perl-fu in the plugin? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Wed May 7 15:48:26 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Wed, 07 May 2008 15:48:26 +0200 Subject: nagios reboot XP In-Reply-To: <003601c8b03e$b96c42c0$98ad38a6@na.dsmain.com> References: <003601c8b03e$b96c42c0$98ad38a6@na.dsmain.com> Message-ID: <1210168106.21663.47.camel@bofh.dtnet.de> Hi > > Writing a batch that restart/start /stop etc. is np, but how would you > call the batch/script file from Nagios? As I wrote before see http://trac.nakednuns.org/nscp/ Run nsclient++ on the windows host and configure the script as an external plugin. (see CeckExternalScripts) These scripts can be run through nrpe. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Wed May 7 15:54:17 2008 From: maemigh at gmail.com (Mike Emigh) Date: Wed, 7 May 2008 09:54:17 -0400 Subject: Notification commands aren't parallelized? Message-ID: <91eedcbf0805070654v792beb2pb0af371f299d7210@mail.gmail.com> Hi everyone, We use a custom oncall script in Perl which logs our notifications as well as makes a direct connection to our cell providers mail servers. Occasionally, these servers seem to hang for a while which results in the Nagios queue to stop processing. In the event of larger outages where there are several notifications queued (we can't parent everything), Nagios will stop all active checks and wait for each and every notification to be sent in a serial manner. We typically have left the notification timeout value to a large number to compensate for the hanging mail servers. This may have been an issue with our Nagios 2.9 instance, but it wasn't something we ever noticed until moving to 3.0.1. Does anyone know if there are plans to parallelize the notification commands or if I have just missed something in the configuration? I'm thinking that I will add a "&" to each notification command to just have them run in the background so that Nagios can continue its queue. Does anyone see any potential issues with this or have any alternative solutions? Thanks, Mike ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 16:06:07 2008 From: marc at ena.com (Marc Powell) Date: Wed, 7 May 2008 09:06:07 -0500 Subject: APC snmp monitoring In-Reply-To: <302ce8b50805070550u4033836x98b1f3595016932b@mail.gmail.com> References: <302ce8b50805070550u4033836x98b1f3595016932b@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jim Perrin > Sent: Wednesday, May 07, 2008 7:51 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] APC snmp monitoring > > I'm running into an interesting issue with monitoring some of our UPS > systems via the 9617 management card's snmp interface. I've trying to > get the altinity check_apc_ups plugin > (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1733.html;d=1) > working, but I'm having an issue with the ePN interpreter. > > Running CentOS 5 (x86) and nagios 2.11. > > If I execute the plugin as root or as the nagios user via su - nagios, > it works fine, however when nagios itself executes the command, I get > ePN failures about how the variables are un-defined. The only thing I > can see which might cause this (my perl sucks) is that some of the > other perl plugins have a 'use vars $var1 $var2' etc, and this one > does not. > > Is anyone else seeing similar behavior, or could take a look at the > perl-fu in the plugin? The 'Using The Embedded Perl Interpreter' details most/all of the requirements for a perl program to be compatible. Not all, and probably most non-standard, plugins are not compatible with ePN out of the box. You can either try to make it so, disable ePN entirely or just prefix the command line with '/path/to/perl' to bypass the user of ePN for that specific plugin. define command { ... command_line /usr/bin/perl $USER1$/check_apc_ups ... } -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 16:25:52 2008 From: marc at ena.com (Marc Powell) Date: Wed, 7 May 2008 09:25:52 -0500 Subject: Notification commands aren't parallelized? In-Reply-To: <91eedcbf0805070654v792beb2pb0af371f299d7210@mail.gmail.com> References: <91eedcbf0805070654v792beb2pb0af371f299d7210@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike Emigh > Sent: Wednesday, May 07, 2008 8:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification commands aren't parallelized? > > Hi everyone, > for the hanging mail servers. This may have been an issue with our > Nagios 2.9 instance, but it wasn't something we ever noticed until It is based on personal experience. > moving to 3.0.1. Does anyone know if there are plans to parallelize > the notification commands or if I have just missed something in the > configuration? Not that I've heard here or on nagios-devel. You might want to propose it there as an RFE. > I'm thinking that I will add a "&" to each notification command to > just have them run in the background so that Nagios can continue its > queue. Does anyone see any potential issues with this or have any > alternative solutions? Seems plausible and I don't see any immediate reasons why it wouldn't work but I'm not intimately familiar with the notification code. I'm testing it out and will see what happens when my next notification is supposed to go out. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 16:33:04 2008 From: marc at ena.com (Marc Powell) Date: Wed, 7 May 2008 09:33:04 -0500 Subject: high check latency, slow update of config on web interface In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of #ANG CHIN TECK# > Sent: Monday, May 05, 2008 11:05 PM > To: nagios-users > Subject: [Nagios-users] high check latency,slow update of config on web > interface > > Hi all, > > I am currently monitoring 50 hosts with no services, only pinging them. > perf info for these 50 hosts: > check interval: 10 mins > check duration: avg 4 s (5 pings) > but my check latency fluctuates alot (10s , 140s , 250s) > > I am also monitoring 2 other hosts with 10 services. > perf info for these 10 services: > check interval: 1 min > check duration: avg 3s > check latency fluctuates (2s, 5s, 48s) > > Why does the latency fluctuates so much? The version of nagios you are using would be critical information. In nagios 2.x, active host checks are run in serial, not in parallel and are highly discouraged because they introduce significant latencies. In 3.x, they've been made to run in parallel. I'm guessing you're using 2.x. Nagios is primarily a service monitoring application and is designed to monitor services. Host monitoring is typically only done on an as-needed basis. > Another problem is that after i update my config file, verify and restart > nagios, it takes 15 mins for the web interface to register the change. Are you using ndoutils? With that few hosts and services the change should be immediate. Do you see that your objects cache file contains the new information? Do you have multiple nagios daemons running at the same time? > Are the 2 problems linked? Not in any way that I've ever seen. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crop-circle.net Wed May 7 17:00:32 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Wed, 7 May 2008 11:00:32 -0400 Subject: high check latency, slow update of config on web interface In-Reply-To: References: Message-ID: If you're restarting Nagios through the web interface (rather than on the command line), I think I can help you. My understanding is that restarting Nagios through the web interface is done as an external command. The web interface sends commands to the command_file (set in your nagios.cfg file), but Nagios only checks the command_file periodically. I think the default interval is 15 minutes. Below are the relevant settings I have in my nagios.cfg file, plus a hyperlink I think you may find useful. check_external_commands=1 command_check_interval =1 command_file=/var/nagios/rw/nagios.cmd Changing this interval will also affect how quickly other external commands (such as en/disabling notifications) respond to the web interface. On Wed, May 7, 2008 at 10:33 AM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of #ANG CHIN TECK# > > Sent: Monday, May 05, 2008 11:05 PM > > To: nagios-users > > Subject: [Nagios-users] high check latency,slow update of config on > web > > interface > > > > Hi all, > > > > I am currently monitoring 50 hosts with no services, only pinging > them. > > perf info for these 50 hosts: > > check interval: 10 mins > > check duration: avg 4 s (5 pings) > > but my check latency fluctuates alot (10s , 140s , 250s) > > > > I am also monitoring 2 other hosts with 10 services. > > perf info for these 10 services: > > check interval: 1 min > > check duration: avg 3s > > check latency fluctuates (2s, 5s, 48s) > > > > Why does the latency fluctuates so much? > > The version of nagios you are using would be critical information. In > nagios 2.x, active host checks are run in serial, not in parallel and > are highly discouraged because they introduce significant latencies. In > 3.x, they've been made to run in parallel. I'm guessing you're using > 2.x. Nagios is primarily a service monitoring application and is > designed to monitor services. Host monitoring is typically only done on > an as-needed basis. > > > Another problem is that after i update my config file, verify and > restart > > nagios, it takes 15 mins for the web interface to register the change. > > Are you using ndoutils? With that few hosts and services the change > should be immediate. Do you see that your objects cache file contains > the new information? Do you have multiple nagios daemons running at the > same time? > > > Are the 2 problems linked? > > Not in any way that I've ever seen. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed May 7 17:02:59 2008 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 7 May 2008 11:02:59 -0400 Subject: APC snmp monitoring In-Reply-To: References: <302ce8b50805070550u4033836x98b1f3595016932b@mail.gmail.com> Message-ID: <302ce8b50805070802h6568ef9fi3ea29f1299665a50@mail.gmail.com> On Wed, May 7, 2008 at 10:06 AM, Marc Powell wrote: > The 'Using The Embedded Perl Interpreter' details most/all of the > requirements for a perl program to be compatible. Not all, and probably > most non-standard, plugins are not compatible with ePN out of the box. > You can either try to make it so, disable ePN entirely or just prefix > the command line with '/path/to/perl' to bypass the user of ePN for that > specific plugin. > > define command { > ... > command_line /usr/bin/perl $USER1$/check_apc_ups ... > } That seemed to do the trick for me. Thanks! If I get some time, I'll try to follow the guide for ePN and rewrite the module so that it's compatible. Thanks again! -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 16:00:19 2008 From: marc at ena.com (Marc Powell) Date: Wed, 7 May 2008 09:00:19 -0500 Subject: About notification procedure In-Reply-To: <200805070729.AA02160@S2005110.jp.fujitsu.com> References: <200805070729.AA02160@S2005110.jp.fujitsu.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Yu Watanabe > Sent: Wednesday, May 07, 2008 2:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] About notification procedure > > Hello, > > I would like to get an advice regarding to the host and service notification > procedure. > > My question is why there wasn't any notification after the line 3447? > > I have searched the document(Nagios 2.x) for this issue but I couldn't > find a description which describes, > "Why Nagios does not send Service Notification if there were an Host Hard > Status changes before the Service Alert?" http://nagios.sourceforge.net/docs/2_0/networkreachability.html "Monitoring Services on Down or Unreachable Hosts The main purpose of Nagios is to monitor services that run on or are provided by physical hosts or devices on your network. It should be obvious that if a host or device on your network goes down, all services that it offers will also go down with it. Similarly, if a host becomes unreachable, Nagios will not be able to monitor the services associated with that host. Nagios recognizes this fact and attempts to check for such a scenario when there are problems with a service. Whenever a service check results in a non-OK status level, Nagios will attempt to check and see if the host that the service is running on is "alive". Typically this is done by pinging the host and seeing if any response is received. If the host check commmand returns a non-OK state, Nagios assumes that there is a problem with the host. In this situation Nagios will "silence" all potential alerts for services running on the host and just notify the appropriate contacts that the host is down or unreachable. If the host check command returns an OK state, Nagios will recognize that the host is alive and will send out an alert for the service that is misbehaving." Since you've disabled host notifications, no-one is notified. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Jevos at oriflame.com Wed May 7 17:30:43 2008 From: Peter.Jevos at oriflame.com (Jevos, Peter) Date: Wed, 7 May 2008 17:30:43 +0200 Subject: HTTP authorixation in check_http doesn't work In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E7205A0@PRO001.protronics.co.uk> References: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local><48208DF1.9040807@process-zero.de><6639BA20B265594590E97DD72A8EE0350BEDBE@exosw.osw.ori.local> <4DF7CF439F31164B96FC5D175CDF056E7205A0@PRO001.protronics.co.uk> Message-ID: <6639BA20B265594590E97DD72A8EE0359DA786@exosw.osw.ori.local> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Joe Precious Sent: Wednesday, May 07, 2008 12:18 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HTTP authorixation in check_http doesn't work Although its highly likely I could be wrong, I was under the impression that the authentication option for check_http only works on sites using basic authentication. Its sounds like the site you are trying to access is possibly using Integrated Windows or Digest authentication because you are having to enter the domain name. http://nagiosplugins.org/man/check_http Thanks for your answer Joe Yes it seems that this is Integarated windows authetication ( IIS ). So my question is : Does exist some nagios http plugin that supports this kind of authentication ? Thanks pet > Hi , > > I tried to use check_http plugin again address that is running on IIS. > > There is authorization in format: domain\user adn password > So I did: > ./check_http -t 40 -H my_http_address -a domain\nuser:pwd > Why do you use "\n" before the user? Did you try a \\user? One \ for the bash and one for the plugin? Regards, Hendrik Thanks for you answer Henrik. Of course \n and other credentials are not real. I also used double \\ but the result is the same: HTTP WARNING: HTTP/1.1 401 Unauthorized When I tried to login through browser it works thx br pet ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed May 7 17:38:26 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 7 May 2008 11:38:26 -0400 Subject: Remote check with check_load check_disk In-Reply-To: <48219878.7030709@huenseler.net> References: <1210160144.26539.6.camel@ug.site> <48219878.7030709@huenseler.net> Message-ID: <20080507153826.GF25145@cgi.jachomes.com> On Wed, May 07, 2008 at 01:54:32PM +0200, Dennis H?nseler wrote: > just go to the remote host and edit the nrpe.cfg > > command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > > and on your nagios host create the referring check_definition: > > > define service{ > use generic-service-perf ; > Name of service template to use > host_name your_host > service_description nrpe_Current Load > check_command check_nrpe!check_load > } And to expand that a touch so it's clearer for the archives, if you use NRPE, *you must define the check commands on both machines*, the monitoring machine, and the target monitored machine. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Wed May 7 18:40:11 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 07 May 2008 10:40:11 -0600 Subject: HTTP authorixation in check_http doesn't work In-Reply-To: <6639BA20B265594590E97DD72A8EE0359DA786@exosw.osw.ori.local> References: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local> <48208DF1.9040807@process-zero.de> <6639BA20B265594590E97DD72A8EE0350BEDBE@exosw.osw.ori.local> <4DF7CF439F31164B96FC5D175CDF056E7205A0@PRO001.protronics.co.uk> <6639BA20B265594590E97DD72A8EE0359DA786@exosw.osw.ori.local> Message-ID: <1210178411.824.14.camel@wahoo> On Wed, 2008-05-07 at 17:30 +0200, Jevos, Peter wrote: > Yes it seems that this is Integarated windows authetication ( IIS ). > So my question is : Does exist some nagios http plugin that supports > this kind of authentication ? > > Thanks > > pet > I'm not sure about any specific pre-made plugins, but I know that curl handles that kind of authentication. You can write a simple plugin using 'curl' to take care of the problem. 'man curl' and search for NTLM. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 19:30:35 2008 From: marc at ena.com (Marc Powell) Date: Wed, 7 May 2008 12:30:35 -0500 Subject: Notification commands aren't parallelized? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Wednesday, May 07, 2008 9:26 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification commands aren't parallelized? > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Mike Emigh > > Sent: Wednesday, May 07, 2008 8:54 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Notification commands aren't parallelized? > > I'm thinking that I will add a "&" to each notification command to > > just have them run in the background so that Nagios can continue its > > queue. Does anyone see any potential issues with this or have any > > alternative solutions? > > Seems plausible and I don't see any immediate reasons why it wouldn't > work but I'm not intimately familiar with the notification code. I'm > testing it out and will see what happens when my next notification is > supposed to go out. Seems to work just fine. Next test will be major outage ;) -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed May 7 19:58:09 2008 From: vmanojv at rediffmail.com (Nair) Date: 7 May 2008 17:58:09 -0000 Subject: Nagios and Database Message-ID: <20080507175809.18778.qmail@f5mail-237-212.rediffmail.com> Friends, Please share your view for using NDOUtils for Nagios - mysql connectivity. Thank you, Nair ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 7 20:31:34 2008 From: palleje at gmail.com (Palle L Jensen) Date: Wed, 7 May 2008 14:31:34 -0400 Subject: nagios reboot XP In-Reply-To: References: Message-ID: <004a01c8b070$95373c70$98ad38a6@na.dsmain.com> I guess I should have been more specific, sorry about that. I am running Nagios 3.0.1 on openSUSE 10.3, and I am only monitoring windows hosts. On the windows hosts I am running NSClient++. That seems to work good and I would prefer not to change to any other client. I have read about the event handlers in the Nagios documentation, but the samples there only refers to nrpe and scripts on the server. I understand how to define the service in Nagios, but I am not sure how to create the script that executes the batch file on the windows host? Maybe I am not getting the point and understanding on the documentation. Lets say I created a batch file that will start or restart a service, this batch file is located in c:\NSclient++\scripts folder. And then defined the service and command in Nagios: define service{ host_name somehost service_description sql-service max_check_attempts 4 event_handler restart-sqlagent } define command{ command_name restart-sqlagent command_line what do I add here?? It has to be something that can be sent to the Nsclient++/windows host and execute the batch script in c:\NSclient++\scripts folder } The command line on the eventhandler documentation shows a path to a local script and local command "/etc/rc.d/init.d/httpd restart" So creating and event handler for services or others on the box where Nagios is running, I understand. But not how to do it remotely to a windows host. If you could shed some more light over this I would very much appreciate it. Thanks, PJ _____ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, May 07, 2008 8:40 AM To: Palle L Jensen; Anthony Montibello; Jon Terry Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios reboot XP You need to read the documentation on event handlers. I would recommend using NC_Net, but that is personal preference. The documentation can be found at either of these 2 places, as you have not specified your Nagios version ;) http://nagios.sourceforge.net/docs/3_0/eventhandlers.html http://nagios.sourceforge.net/docs/2_0/eventhandlers.html Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com "Nobody move...I dropped me brain!" - Cap'n Jack Sparrow, Pirates:At Word's End _____ From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Wednesday, May 07, 2008 8:35 AM To: 'Anthony Montibello'; 'Jon Terry' Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios reboot XP Writing a batch that restart/start /stop etc. is np, but how would you call the batch/script file from Nagios? Thanks, PJ _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Tuesday, May 06, 2008 6:41 PM To: Jon Terry Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios reboot XP NC_Net and NRPE also can provide the ability to run scripts on the windows Host. to restart a service the net start/stop command works well in windows You can also setup the services on the windows box to automatically restart through the windows service manager Tony (author of NC_Net) On Tue, May 6, 2008 at 8:26 AM, Jon Terry wrote: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ange AMBEMOU > Sent: Tuesday, May 06, 2008 4:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios reboot XP > > hello all, > > i have two questions > > 1- Is possible to nagios to reboot et midcrosft box or one > service on this box if there are a mistake ? As Sebastian indicated, you could use NSClient++ in order to execute psshutdown and or psservice from Sysinternals as part of an eventhandler. http://trac.nakednuns.org/nscp/wiki/CheckExternalScripts http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx > 2- nagios can accepte the trap snmp only and dont do the get snmp ? > I'm not sure I understand. Have you looked at the check_snmp plugin? Jon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfaulkne at icontact.com Wed May 7 20:56:51 2008 From: jfaulkne at icontact.com (Jason L. Faulkner) Date: Wed, 7 May 2008 14:56:51 -0400 (EDT) Subject: MogileFS perl injection/extraction test Message-ID: <26414240.248971210186611931.JavaMail.root@mail.broadwick.com> One of my collegues wrote a MogileFS injection/extraction check, so we put it on NagiosExchange and I thought I'd announce it here. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2599.html;d=1 The check uses the MogileFS::Client perl modules to do a simple inject/extract test on a MogileFS instance. The check will then compare the sizes of the two files and if they match it's a success. As an initial test it will also query the MogileFS MySQL database to determine whether or not to continue. I did this because there were instances when a database can go down and the script would return inconsistent results (either an exit code of '82' when trying to contact MogileFS backend or endlessly looping and causing an NRPE timeout). -- Jason Faulkner Lead Systems Engineer iContact Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Wed May 7 21:01:28 2008 From: maemigh at gmail.com (Mike Emigh) Date: Wed, 7 May 2008 15:01:28 -0400 Subject: Notification commands aren't parallelized? In-Reply-To: References: Message-ID: <91eedcbf0805071201lc0af748vd6ff72fbf0f72eb7@mail.gmail.com> On Wed, May 7, 2008 at 1:30 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > > Sent: Wednesday, May 07, 2008 9:26 AM > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Notification commands aren't parallelized? > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Mike Emigh > > > Sent: Wednesday, May 07, 2008 8:54 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Notification commands aren't parallelized? > > > > > > I'm thinking that I will add a "&" to each notification command to > > > just have them run in the background so that Nagios can continue its > > > queue. Does anyone see any potential issues with this or have any > > > alternative solutions? > > > > Seems plausible and I don't see any immediate reasons why it wouldn't > > work but I'm not intimately familiar with the notification code. I'm > > testing it out and will see what happens when my next notification is > > supposed to go out. > > Seems to work just fine. Next test will be major outage ;) > > > > -- > Marc > I also tried it and the notification was sent properly; however, it still appeared as if the active checks stopped until it completed. Did you notice anything different? Mike ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 21:18:14 2008 From: marc at ena.com (Marc Powell) Date: Wed, 7 May 2008 14:18:14 -0500 Subject: Nagios and Database In-Reply-To: <20080507175809.18778.qmail@f5mail-237-212.rediffmail.com> References: <20080507175809.18778.qmail@f5mail-237-212.rediffmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nair > Sent: Wednesday, May 07, 2008 12:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and Database > > Friends, > > Please share your view for using NDOUtils for Nagios - mysql connectivity. My $0.02 (what's that, about 6.50 pounds now?)... It works. It causes slower restarts/reloads with large installations. If you have a need for it, it's useful. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 21:25:42 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 7 May 2008 12:25:42 -0700 Subject: Nagios and Database In-Reply-To: <20080507175809.18778.qmail@f5mail-237-212.rediffmail.com> References: <20080507175809.18778.qmail@f5mail-237-212.rediffmail.com> Message-ID: <20080507192542.GC30359@bakgwai.americas.hpqcorp.net> On Wed, 07 May 2008, Nair wrote: > Friends, > > Please share your view for using NDOUtils for Nagios - mysql connectivity. > > Thank you, > Nair Ummm... Yes, it does that? What do you want to know? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 21:46:25 2008 From: marc at ena.com (Marc Powell) Date: Wed, 7 May 2008 14:46:25 -0500 Subject: Notification commands aren't parallelized? In-Reply-To: <91eedcbf0805071201lc0af748vd6ff72fbf0f72eb7@mail.gmail.com> References: <91eedcbf0805071201lc0af748vd6ff72fbf0f72eb7@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike Emigh > Sent: Wednesday, May 07, 2008 2:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification commands aren't parallelized? > I also tried it and the notification was sent properly; however, it > still appeared as if the active checks stopped until it completed. > Did you notice anything different? No, but the notification finishes so quickly I don't know how I could tell or if I was having an effect. How are you able to determine this? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbilder at csstars.com Wed May 7 22:17:25 2008 From: jbilder at csstars.com (Bilder, Jeff) Date: Wed, 7 May 2008 15:17:25 -0500 Subject: Child / Parent dependancies Message-ID: Hello All, I am having an issue currently with configuring parents. I had a connection go down last night and I have all the children configured for a parent relationship where when the parent went down, I was still be alerted that the children were down too. Is there currently a bug in Nagios 3.0.1 that causes this? I am referring to the children's children as well that have parents configured. Thanks, - JB -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Wed May 7 22:32:55 2008 From: maemigh at gmail.com (Mike Emigh) Date: Wed, 7 May 2008 16:32:55 -0400 Subject: Notification commands aren't parallelized? In-Reply-To: References: <91eedcbf0805071201lc0af748vd6ff72fbf0f72eb7@mail.gmail.com> Message-ID: <91eedcbf0805071332o160acc81hcdb6cc6c81c2e4b7@mail.gmail.com> On Wed, May 7, 2008 at 3:46 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Mike Emigh > > > Sent: Wednesday, May 07, 2008 2:01 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Notification commands aren't parallelized? > > > > > I also tried it and the notification was sent properly; however, it > > still appeared as if the active checks stopped until it completed. > > Did you notice anything different? > > No, but the notification finishes so quickly I don't know how I could > tell or if I was having an effect. How are you able to determine this? > > > > -- > Marc > Our notification script connects directly to our mail servers which always hang for at least 5 seconds and sometimes much longer. :) A test could also probably be performed by setting the notification command to "sleep 10". I tried playing with the notification_timeout option again (which worked for me in 2.9), but I haven't had any luck with it working properly in 3.0.1. I set notification_timeout=5, but the notification script still ran for over a minute before I manually killed it. Mike ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Wed May 7 22:47:52 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Wed, 7 May 2008 16:47:52 -0400 Subject: Custom Service Notification Message-ID: Hi All, I've seen a couple of brief comments about this feature not working properly in Nagios. I can't seem to get it to send the comment to the recepients, it just sends the normal critical message. Even if it is forced and broadcasted. Is really a flaw, or a config issue somewhere? I'm currently using Nagios 3.0 in a Fedora 8 server. -- Best Regards, Victor Lanza -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu May 8 00:35:12 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 7 May 2008 18:35:12 -0400 Subject: Issue monitoring process on windows In-Reply-To: References: Message-ID: What about using Negate plugin to revers the Critical to a OK? TOny (Author of NC_Net) On Wed, May 7, 2008 at 12:52 AM, Stane wrote: > Hello all! > > I need a little help configuring Nagios (client?) to monitor (non) > existence of a process on a windows box (explorer.exe for example). I'm > using client v0.3.1 and Nagios v3.0.1 with plug ins v1.4.11 on Centos > 5.1 server. > > My request (or wish :-)) is: OK condition: explorer.exe IS NOT running > CRITICAL condition: explore.exe IS running (Note that normal condition > should be NON running process). > > Check 1: - which I made locally on windows box: > I run "nsclient++ /test" on windows box and enter: > CheckProcState ShowAll explorer.exe=stopped > > I get next (good) answer: > CRITICAL:CRITICAL: explorer.exe: started (critical) > > Check 1 gives next entries in NSC.log: > debug:.\NSClient++.cpp:516: Injecting: CheckProcState: ShowAll, > explorer.exe=stopped debug:.\NSClient++.cpp:536: > Injected Result: CRITICAL 'CRITICAL: explorer.exe: started (critical)' > > Check 2: - which I made remotely from nagios server: > I run next command: > check_nt -H 192.168.5.3 -p 12489 -v PROCSTATE -l "explorer.exe=stopped" > -d SHOWALL > > I get next (not ok) answer: > explorer.exe: Running > > Check 1 gives next entries in NSC.log: > debug:.\NSClient++.cpp:516: Injecting: checkProcState: ShowAll, > explorer.exe=stopped, nsclient > debug:.\NSClient++.cpp:536: Injected Result: OK 'explorer.exe: Running' > > (Where IP address 192.168.5.3 is my windows box). > > Using nsc log on windows box, I've found the difference between Check 1 > and Check 2. It's is in injecting command. Check 2 has an additional > ",nsclient" at the end of injecting line (without quotes). > Unfortunately, I can't figure why there is ",nsclient" appearing in > remote command and I don't know how to fix it. Please help. > > Thanks, Stane > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at netconsonance.com Thu May 8 01:43:54 2008 From: jrhett at netconsonance.com (Jo Rhett) Date: Wed, 7 May 2008 16:43:54 -0700 Subject: Notification commands aren't parallelized? In-Reply-To: <91eedcbf0805071332o160acc81hcdb6cc6c81c2e4b7@mail.gmail.com> References: <91eedcbf0805071201lc0af748vd6ff72fbf0f72eb7@mail.gmail.com> <91eedcbf0805071332o160acc81hcdb6cc6c81c2e4b7@mail.gmail.com> Message-ID: <4368200A-F1E7-4191-AB0A-E6F77926117B@netconsonance.com> On May 7, 2008, at 1:32 PM, Mike Emigh wrote: > Our notification script connects directly to our mail servers which > always hang for at least 5 seconds and sometimes much longer. :) You should add the command line option which tells the local MTA to immediately batch the message instead of trying to deliver interactively. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Thu May 8 02:24:10 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 08 May 2008 09:24:10 +0900 Subject: About notification procedure In-Reply-To: References: Message-ID: <200805080024.AA02161@S2005110.jp.fujitsu.com> Hello, Thank you for the help! This is what I was looking for. Yu Watanabe Marc Powell ????????: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Yu Watanabe >> Sent: Wednesday, May 07, 2008 2:30 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] About notification procedure >> >> Hello, >> >> I would like to get an advice regarding to the host and service >notification >> procedure. >> > > >> My question is why there wasn't any notification after the line 3447? >> >> I have searched the document(Nagios 2.x) for this issue but I couldn't >> find a description which describes, >> "Why Nagios does not send Service Notification if there were an Host >Hard >> Status changes before the Service Alert?" > >http://nagios.sourceforge.net/docs/2_0/networkreachability.html > >"Monitoring Services on Down or Unreachable Hosts > >The main purpose of Nagios is to monitor services that run on or are >provided by physical hosts or devices on your network. It should be >obvious that if a host or device on your network goes down, all services >that it offers will also go down with it. Similarly, if a host becomes >unreachable, Nagios will not be able to monitor the services associated >with that host. > >Nagios recognizes this fact and attempts to check for such a scenario >when there are problems with a service. Whenever a service check results >in a non-OK status level, Nagios will attempt to check and see if the >host that the service is running on is "alive". Typically this is done >by pinging the host and seeing if any response is received. If the host >check commmand returns a non-OK state, Nagios assumes that there is a >problem with the host. In this situation Nagios will "silence" all >potential alerts for services running on the host and just notify the >appropriate contacts that the host is down or unreachable. If the host >check command returns an OK state, Nagios will recognize that the host >is alive and will send out an alert for the service that is >misbehaving." > >Since you've disabled host notifications, no-one is notified. > >-- >Marc > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >Don't miss this year's exciting event. There's still time to save $100. >Use priority code J8TL2D2. >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Thu May 8 03:03:32 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 08 May 2008 10:03:32 +0900 Subject: About notification procedure In-Reply-To: References: Message-ID: <200805080103.AA02162@S2005110.jp.fujitsu.com> Hello, Could I ask you one more thing ? In the document it says "Whenever a service check results in a non-OK status level, Nagios will attempt to check and see if the host that the service is running on is "alive"" However, there weren't any SERVICE ALERT that is related to this host before the HOST ALERT had occured. 3440 [1207507087] HOST ALERT: HostA;DOWN;SOFT;1;CRITICAL - 192.168.0.1: rta nan, lost 100% 3441 [1207507097] HOST ALERT: HostA;DOWN;SOFT;2;CRITICAL - 192.168.0.1: rta nan, lost 100% 3442 [1207507107] HOST ALERT: HostA;DOWN;HARD;3;CRITICAL - 192.168.0.1: rta nan, lost 100% 3447 [1207507107] SERVICE ALERT: HostA;icmp_ping_alive;CRITICAL;HARD;1;CRITICAL - 192.168.0.1: rta nan, lost 100% 3450 [1207507187] HOST ALERT: HostA;UP;HARD;1;OK - 192.168.0.1: rta 0.803ms, lost 0% Are there any situations which Nagios executes the host check process ? Yu Watanabe Marc Powell ????????: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Yu Watanabe >> Sent: Wednesday, May 07, 2008 2:30 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] About notification procedure >> >> Hello, >> >> I would like to get an advice regarding to the host and service >notification >> procedure. >> > > >> My question is why there wasn't any notification after the line 3447? >> >> I have searched the document(Nagios 2.x) for this issue but I couldn't >> find a description which describes, >> "Why Nagios does not send Service Notification if there were an Host >Hard >> Status changes before the Service Alert?" > >http://nagios.sourceforge.net/docs/2_0/networkreachability.html > >"Monitoring Services on Down or Unreachable Hosts > >The main purpose of Nagios is to monitor services that run on or are >provided by physical hosts or devices on your network. It should be >obvious that if a host or device on your network goes down, all services >that it offers will also go down with it. Similarly, if a host becomes >unreachable, Nagios will not be able to monitor the services associated >with that host. > >Nagios recognizes this fact and attempts to check for such a scenario >when there are problems with a service. Whenever a service check results >in a non-OK status level, Nagios will attempt to check and see if the >host that the service is running on is "alive". Typically this is done >by pinging the host and seeing if any response is received. If the host >check commmand returns a non-OK state, Nagios assumes that there is a >problem with the host. In this situation Nagios will "silence" all >potential alerts for services running on the host and just notify the >appropriate contacts that the host is down or unreachable. If the host >check command returns an OK state, Nagios will recognize that the host >is alive and will send out an alert for the service that is >misbehaving." > >Since you've disabled host notifications, no-one is notified. > >-- >Marc > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >Don't miss this year's exciting event. There's still time to save $100. >Use priority code J8TL2D2. >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treybach at gmail.com Thu May 8 04:05:09 2008 From: treybach at gmail.com (Trey Bachner) Date: Wed, 7 May 2008 22:05:09 -0400 Subject: Notifications config help Message-ID: <7b5ffa070805071905o4204f72drff90242b54bab672@mail.gmail.com> I have notifications setup and working for the most part. I am now trying to address an issue with how the emails are structured. When they are received they not only get sent to the correct address but also have a long list of root directories as recipients. I am running Version 3.0rc2 on Ubuntu Server 7.10. Here is a a list of the additional email addresses being included. ADDRESS at foo.com, bin at foo.com, boot at foo.com, cdrom at foo.com, CHANGE at foo.com, dev at foo.com, EMAIL at foo.com, etc at foo.com, home at foo.com, initrd at foo.com, initrd.img at foo.com, lib at foo.com, lost+found at foo.com, media at foo.com, mnt at foo.com, opt at foo.com, proc at foo.com, root at foo.com, sbin at foo.com, srv at foo.com, sys at foo.com, THIS at foo.com, tmp at foo.com, TO at foo.com, usr at foo.com, var at foo.com, vmlinuz at foo.com, YOUR at foo.com I will admit that I am pretty new to using Ubuntu server and the configuration of it's mail services but I cannot find anywhere in the sendmail configuration that points it to the root for address pseudonyms. Also, when I send an email from the command line it arrive normally. I can only conclude that I have missed something in my Nagios configuration. Any guidance would be greatly appreciated. Trey ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Thu May 8 07:49:40 2008 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Thu, 8 May 2008 15:49:40 +1000 Subject: check_nt -v counter value question Message-ID: <33ABD80B75296D43A316BFF5B0B52F5F010AEA@SRV-QS-MAIL5.lands.nsw> I am using, on my windows 2003 server, nsclient++. For the check_nt reference where it refers to the 'COUNTER' parameters it refers to 'float parameters'. This does seem to be working for me. I have added to output from my Nagios server. I got the command line reference from http://nagioswiki.com/wiki/index.php/Checking_NT_Services_with_Nagios. It refers to using NSclient so maybe nsclient++ does not have the same functionality. Any help would be appreciated. [root at srv-qs-nagiosp1 plugins]# ./check_nt -H srv-qs-sqlprd -p 12489 -v COUNTER -l "\\SQLServer:Databases(_Total)\\Data File(s) Size (KB)","SQL Server Databases Datafile size total is %.f" -w 5 -c 30 SQL Server Databases Datafile size total is 191552 | 'SQL Server Databases Datafile size total is %.f'=191552.000000%;5.000000;30.000000; COUNTER = Check any performance counter of Windows NT/2000. Request a -l parameters with the following syntax: -l "\\\\counter"," The parameter is optional and is given to a printf output command which requires a float parameter. If does not include "%%", it is used as a label. Some examples: "Paging file usage is %%.2f %%%%" "%%.f %%%% paging file used." *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 8 08:04:49 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 08 May 2008 08:04:49 +0200 Subject: HTTP authorixation in check_http doesn't work In-Reply-To: <1210178411.824.14.camel@wahoo> References: <6639BA20B265594590E97DD72A8EE0359DA782@exosw.osw.ori.local> <48208DF1.9040807@process-zero.de> <6639BA20B265594590E97DD72A8EE0350BEDBE@exosw.osw.ori.local> <4DF7CF439F31164B96FC5D175CDF056E7205A0@PRO001.protronics.co.uk> <6639BA20B265594590E97DD72A8EE0359DA786@exosw.osw.ori.local> <1210178411.824.14.camel@wahoo> Message-ID: <48229801.7080606@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aaron M. Segura wrote: | I'm not sure about any specific pre-made plugins, but I know that curl | handles that kind of authentication. You can write a simple plugin | using 'curl' to take care of the problem. 'man curl' and search for | NTLM. Didn't NTLM stand for "Note Tedious Log Messages" ? 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIIpf/BvzDRVjxmYERAhC9AJ0dNtOY/BunnEBSf8UDaaWp2yV/rQCfY6vE 2SjFHh3jlXcqBOa3dcd6spM= =/5UW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Pallav.S.Gupta at relianceada.com Thu May 8 09:42:09 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 8 May 2008 13:12:09 +0530 Subject: NDO utils version 1.3.1 Message-ID: Hi 05-08-2008 13:09:02] Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> /usr/local/nagios/var/spool/checkresults/nebmodaLM3P1: undefined symbol: serviceextinfo_list [05-08-2008 13:09:02] LOG VERSION: 2.0 this error i get after i have installed ndo utils and i restart my nagios 3.0. can anyone help me pls!!! The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 8 10:36:19 2008 From: michael at medin.name (Michael Medin) Date: Thu, 8 May 2008 07:36:19 -0100 (GMT+1) Subject: check_nt -v counter value question (when using counters with colon) In-Reply-To: <33ABD80B75296D43A316BFF5B0B52F5F010AEA@SRV-QS-MAIL5.lands.nsw> References: <33ABD80B75296D43A316BFF5B0B52F5F010AEA@SRV-QS-MAIL5.lands.nsw> Message-ID: <23096.193.180.216.132.1210235779.squirrel@ssl.nakednuns.org> Hello, Counternames with : are "broken" this is bug that will hopefully be fixed in the next version. A workaround is to use an "alias" which IIRC might work is to add an "alias" (which is what causes the problem) like so: "dummyalias:\\SQLServer:Databases(_Total)\\Data File(s) Size (KB)","SQL Server Databases Datafile size total is %.f" (not so much) more details here: http://nsclient.org/nscp/ticket/165 // Michael Medihn > I am using, on my windows 2003 server, nsclient++. For the check_nt > reference where it refers to the 'COUNTER' parameters it refers to > 'float parameters'. This does seem to be working for me. I have added to > output from my Nagios server. I got the command line reference from > http://nagioswiki.com/wiki/index.php/Checking_NT_Services_with_Nagios. > It refers to using NSclient so maybe nsclient++ does not have the same > functionality. > > > > Any help would be appreciated. > > > > [root at srv-qs-nagiosp1 plugins]# ./check_nt -H srv-qs-sqlprd -p 12489 -v > COUNTER -l "\\SQLServer:Databases(_Total)\\Data File(s) Size (KB)","SQL > Server Databases Datafile size total is %.f" -w 5 -c 30 > > SQL Server Databases Datafile size total is 191552 | 'SQL Server > Databases Datafile size total is %.f'=191552.000000%;5.000000;30.000000; > > > > COUNTER = > > Check any performance counter of Windows NT/2000. > > Request a -l parameters with the following syntax: > > -l "\\\\counter"," > > The parameter is optional and is given to a printf > > output command which requires a float parameter. > > If does not include "%%", it is used as a label. > > > > Some examples: > > "Paging file usage is %%.2f %%%%" > > "%%.f %%%% paging file used." > > > > > > > *************************************************************** > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient, please > delete it and notify the sender. > > Views expressed in this message are those of the individual sender, and > are not necessarily the views of the Department of Lands. > > This email message has been swept by MIMEsweeper for the presence of > computer viruses. > *************************************************************** > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Thu May 8 11:27:06 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Thu, 08 May 2008 09:27:06 +0000 Subject: Remote external commands Message-ID: Hi, I need to write a command to the nagios.cmd pipe but from a remote server. I thought I saw a daemon that was used for this but now I can't find it! Any ideas? Cheers Mark. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ug at cinetic21.de Thu May 8 12:46:33 2008 From: ug at cinetic21.de (Uwe =?ISO-8859-1?Q?Gro=DFkinsky?=) Date: Thu, 08 May 2008 12:46:33 +0200 Subject: how it was possible to ask from shell to remote Message-ID: <1210243593.6410.13.camel@ug.site> Hy list how it was possible to check on my shell konsole? i have try this ./check_nrpe -H 10.23.3.29 check_disk -w 10% -c 20% -p / but i must made something wrong on my remotemaschine it was possible to become my informations nrpe was installed on my nagios server thanks for tipps ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Thu May 8 12:48:16 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Thu, 08 May 2008 12:48:16 +0200 Subject: NDO utils version 1.3.1 In-Reply-To: References: Message-ID: <4822DA70.7050607@process-zero.de> Pallav.S.Gupta at relianceada.com schrieb: > > Hi > > 05-08-2008 13:09:02] Error: Could not load module > '/usr/local/nagios/bin/ndomod.o' -> > /usr/local/nagios/var/spool/checkresults/nebmodaLM3P1: undefined > symbol: serviceextinfo_list > > [05-08-2008 13:09:02] LOG VERSION: 2.0 > > this error i get after i have installed ndo utils and i restart my > nagios 3.0. NDOUtils 1.3.1 is not compatible against nagios 3.x - please update your ndoutils to the latest beta 1.4.7b i think. Regards Hendrik -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3261 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu May 8 13:26:41 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 08 May 2008 13:26:41 +0200 Subject: how it was possible to ask from shell to remote In-Reply-To: <1210243593.6410.13.camel@ug.site> References: <1210243593.6410.13.camel@ug.site> Message-ID: <1210246001.30664.27.camel@bofh.dtnet.de> Hi > how it was possible to check on my shell konsole? i have try this > ./check_nrpe -H 10.23.3.29 check_disk -w 10% -c 20% -p / > but i must made something wrong > on my remotemaschine it was possible to become my informations try ./check_nrpe --help ./check_nrpe -H -c -a Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 8 13:37:49 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 08 May 2008 12:37:49 +0100 Subject: nagios reboot XP In-Reply-To: <004a01c8b070$95373c70$98ad38a6@na.dsmain.com> References: <004a01c8b070$95373c70$98ad38a6@na.dsmain.com> Message-ID: <4822E60D.3050808@googlemail.com> Palle L Jensen wrote: > > I guess I should have been more specific, sorry about that. > > I am running Nagios 3.0.1 on openSUSE 10.3, and I am only monitoring > windows hosts. On the windows hosts I am running NSClient++. That > seems to work good and I would prefer not to change to any other client. > > I have read about the event handlers in the Nagios documentation, but > the samples there only refers to nrpe and scripts on the server. I > understand how to define the service in Nagios, but I am not sure how > to create the script that executes the batch file on the windows host? > Maybe I am not getting the point and understanding on the documentation. > > Lets say I created a batch file that will start or restart a service, > this batch file is located in c:\NSclient++\scripts folder. And then > defined the service and command in Nagios: > > define service{ > host_name somehost > service_description sql-service > max_check_attempts 4 > event_handler restart-sqlagent > } > > define command{ > command_name restart-sqlagent > command_line what do I add here?? It has to be something that can be sent to the Nsclient++/windows host and execute the batch script in c:\NSclient++\scripts folder > } > > The command line on the eventhandler documentation shows a path to a > local script and local command ?/etc/rc.d/init.d/httpd restart? > > So creating and event handler for services or others on the box where > Nagios is running, I understand. But not how to do it remotely to a > windows host. > > If you could shed some more light over this I would very much > appreciate it. > > Thanks, > > PJ > You need a Unix-side script to execute and handle the condition appropriately, for example to only call the restart when the service is in hard failure. A sample Bash script is given in the docs to get you started. If using Bash (which I recommend) the Bash script should check the state and perform the logic control, calling the batch or script on the windows side though an NRPE call to nsclient++ to execute the script on the windows host. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 8 13:40:09 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 08 May 2008 12:40:09 +0100 Subject: Remote external commands In-Reply-To: References: Message-ID: <4822E699.1050708@googlemail.com> Mark Clarkson wrote: > > Hi, > I need to write a command to the nagios.cmd pipe but from > a remote server. I thought I saw a daemon that was used for > this but now I can't find it! Any ideas? > > Cheers > Mark. > Were you thinking of NSCA that uses the nagios.cmd pipe? This only takes a specific format for service checks only to my knowledge (or at least that's all I use it for). Otherwise I'd look on NagiosExchange.org, pretty much everything 3rd party to Nagios core is listed there... -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 8 13:43:15 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 08 May 2008 12:43:15 +0100 Subject: how it was possible to ask from shell to remote In-Reply-To: <1210243593.6410.13.camel@ug.site> References: <1210243593.6410.13.camel@ug.site> Message-ID: <4822E753.80408@googlemail.com> Uwe Gro?kinsky wrote: > Hy list > > > how it was possible to check on my shell konsole? i have try this > ./check_nrpe -H 10.23.3.29 check_disk -w 10% -c 20% -p / > but i must made something wrong > on my remotemaschine it was possible to become my informations > > nrpe was installed on my nagios server > > thanks for tipp 1. You need "-c " before check_disk 2. You should not be passing args through NRPE according to the nrpe.cfg docs. Instead you may want to hardcode the arguments in nrpe.cfg as command[check_disk_root] and then just call ./check_nrpe -H 10.23.3.29 -c check_disk_root. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at lubik.ca Thu May 8 14:11:11 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Thu, 08 May 2008 08:11:11 -0400 Subject: Slightly-OT - Notification management Message-ID: Hi, This is only indirectly related to nagios, as it is more related to notifications management. We are currently using nagios and receive alerts by email and by text messages (e-mails) sent to our cell phones. I am looking for using Blackberry devices instead, but I have one concern: Assuming that we have a BlackBerry Enterprise Server, is it possible to, for example: -> Configure something so that it is possible to be notified (vibration, sound) by our BB device only if the e-mail received is a nagios alert. The goal of all this is that , outside work hours, our staff would read their regular e-mail if they'd like to, but wouldn't be bothered by the BB device for regular e-mail. However, if it is a nagios alert, they would be alerted. Thanks, Ugo ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at thebug.demon.nl Thu May 8 14:44:26 2008 From: nagios at thebug.demon.nl (Richard Luys) Date: Thu, 08 May 2008 14:44:26 +0200 Subject: NLG Errors Message-ID: Hi All, We think NLG is for us (thanks Andy!) but we can't get it to work. Here's some details: OS: SLES10 32 bits NLG: 1.0.6 and 1.1.0b1 HTTPD: Apache2-2.2.3 PHP: PHP5-5.1.2 Browser: Firefox 1.5.0.6 Afaik all dependencies are solved. Server directory is copied to the Nagios server in /usr/local/nagios/share, and client dir is copied to the Webserver in /srv/www/htdocs. both are named 'nlg' which is reflected in the configfiles. We followed the PDF document to configure everything, but we get garbled output on the web GUI, and some errors in the apache logs: [Thu May 08 14:43:33 2008] [error] [client 10.10.10.10] PHP Notice: Undefined variable: NLG_Language in /srv/www/htdocs/nlg/s3_client.php on line 86 [Thu May 08 14:43:33 2008] [error] [client 10.10.10.10] PHP Warning: require(sync-files/s3_lang_.inc.php) [function.require]: failed to open stream: No such file or directory in /srv/www/htdocs/nlg/s3_client.php on line 86 [Thu May 08 14:43:33 2008] [error] [client 10.10.10.10] PHP Fatal error: require() [function.require]: Failed opening required 'sync-files/s3_lang_.inc.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/nlg/s3_client.php on line 86 Curious if anyone has any clues; googling didn't help much :( Rgds and thanks in advance, Richard ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 8 15:11:55 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 08 May 2008 14:11:55 +0100 Subject: Nagios 2.5 > 3.x Any issues In-Reply-To: References: Message-ID: <4822FC1B.6040605@ng23.net> > http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x > > That should answer any questions you have about the upgrade. (you may > need to copy and paste the link depending on your mail client) > > i read through that upgrade doco and did not notice anything unusual about host definitions etc however when i use my hosts.cfg from a 2.5 version of nagios i get this Nagios 3.0.1 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 04-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for host 'xxxxx' (config file '/etc/nagios/objects/hosts.cfg', starting on line 7) Error: Could not add object property in file '/etc/nagios/objects/hosts.cfg' on line 8. and this is the start of the hosts file ############################################################################### # # HOSTS # ############################################################################### define host{ use generic-host ; Name of host template to use host_name xxxxx alias xxxx address 192.168.9.31 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups our_contact _group } has anything changed or am i doing something wrong thanks ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Thu May 8 15:27:45 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Thu, 08 May 2008 15:27:45 +0200 Subject: Nagios 2.5 > 3.x Any issues In-Reply-To: <4822FC1B.6040605@ng23.net> References: <4822FC1B.6040605@ng23.net> Message-ID: <4822FFD1.1060401@process-zero.de> Tom Brown schrieb: >> http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x >> >> That should answer any questions you have about the upgrade. (you may >> need to copy and paste the link depending on your mail client) >> >> >> > > i read through that upgrade doco and did not notice anything unusual > about host definitions etc however when i use my hosts.cfg from a 2.5 > version of nagios i get this > > Nagios 3.0.1 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 04-01-2008 > License: GPL > > Reading configuration data... > > Warning: Duplicate definition found for host 'xxxxx' (config file > '/etc/nagios/objects/hosts.cfg', starting on line 7) > duplicate host? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3261 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 8 15:33:19 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 08 May 2008 14:33:19 +0100 Subject: Nagios 2.5 > 3.x Any issues In-Reply-To: <4822FFD1.1060401@process-zero.de> References: <4822FC1B.6040605@ng23.net> <4822FFD1.1060401@process-zero.de> Message-ID: <4823011F.3060306@ng23.net> >> >> >> Nagios 3.0.1 >> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) >> Last Modified: 04-01-2008 >> License: GPL >> >> Reading configuration data... >> >> Warning: Duplicate definition found for host 'xxxxx' (config file >> '/etc/nagios/objects/hosts.cfg', starting on line 7) >> > duplicate host? nope - this file is copied as is from a working 2.5 install ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MachielR at agilitytech.co.za Thu May 8 15:20:39 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Thu, 8 May 2008 15:20:39 +0200 Subject: Total cpu usage Message-ID: <350DEB176C3F20459BE245610997FD7F02490E22@caretech.co.za> HI All I hope that someone can please assist me with either a script or a plugin. I am looking to monitor the total percentage of CPU usage on a linux server using Nagios. I was hoping to write my own script but as this is quite urgent being a production system I need to get this in a.s.a.p We are currently monitoring the load averages but they have the requirement to be notified once the cpu's are used at more than 80% capacity as this suggests a problem on the relevant servers. Does anybody know about a plugin or script that I can use in order to get this put in place? We are running SLES 9 Service pack 3 if this makes a difference to the commands etc... Regards Machiel *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu May 8 15:49:52 2008 From: td3201 at gmail.com (Terry) Date: Thu, 8 May 2008 08:49:52 -0500 Subject: check_load --- divide by number of cpus? Message-ID: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> I am sitting here racking my brain on this one. Is dividing the load average by the number of CPUs a smart thing to do? the 'uptime' command on a box does not do this. So, if I have an 8 core box sitting with a load average of 8, its the same as a single core box sitting with a load average of 1? I'll see the same type of server response? Thoughts? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu May 8 15:50:48 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 08 May 2008 07:50:48 -0600 Subject: Total cpu usage In-Reply-To: <350DEB176C3F20459BE245610997FD7F02490E22@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F02490E22@caretech.co.za> Message-ID: <1210254648.1949.34.camel@wahoo> On Thu, 2008-05-08 at 15:20 +0200, Machiel Richards wrote: > HI All > > > > I hope that someone can please assist me with either a > script or a plugin. > > > > I am looking to monitor the total percentage of CPU usage > on a linux server using Nagios. Did you try looking on nagiosexchange.org? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 8 15:25:03 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 08 May 2008 14:25:03 +0100 Subject: Nagios 2.5 > 3.x Any issues In-Reply-To: <4822FC1B.6040605@ng23.net> References: <4822FC1B.6040605@ng23.net> Message-ID: <4822FF2F.9070006@ng23.net> Tom Brown wrote: >> http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x >> >> That should answer any questions you have about the upgrade. (you may >> need to copy and paste the link depending on your mail client) >> >> >> > > i read through that upgrade doco and did not notice anything unusual > about host definitions etc however when i use my hosts.cfg from a 2.5 > version of nagios i get this > > Nagios 3.0.1 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 04-01-2008 > License: GPL > > Reading configuration data... > > Warning: Duplicate definition found for host 'xxxxx' (config file > '/etc/nagios/objects/hosts.cfg', starting on line 7) > Error: Could not add object property in file > '/etc/nagios/objects/hosts.cfg' on line 8. > > and this is the start of the hosts file > > ############################################################################### > # > # HOSTS > # > ############################################################################### > define host{ > use generic-host ; Name of host > template to use > host_name xxxxx > alias xxxx > address 192.168.9.31 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups our_contact _group > } > > has anything changed or am i doing something wrong > > thanks > > > > i should also say that i built the rpm from the tarball so i did not get any example config files to look at for this version so i wonder if there are some syntax differences there ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu May 8 16:12:21 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 8 May 2008 10:12:21 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> Message-ID: <20080508141221.GA9974@cgi.jachomes.com> On Thu, May 08, 2008 at 08:49:52AM -0500, Terry wrote: > I am sitting here racking my brain on this one. Is dividing the load > average by the number of CPUs a smart thing to do? the 'uptime' > command on a box does not do this. So, if I have an 8 core box > sitting with a load average of 8, its the same as a single core box > sitting with a load average of 1? I'll see the same type of server > response? Thoughts? This is pretty much the same question as "should I modify my rm command, somehow, so that it forces -i, so I don't accidentally remove things", and, for me, where the *real* problem lies is here: If you train yourself to expect the modified behavior, then you won't be expecting the traditional behaviour when you find yourself out in The World... and other people coming in won't expect the answers they get either. I understand your goal, but I think a better way to do it might be to *rename the check command* on those machines, so that you still see 8 as the answer, but the question is check_load_8cpu. That way, you get a close-in reminder that the baseline is to be expected to be different. It's a really good question, though, and opinions will likely differ. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 8 16:22:13 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 08 May 2008 15:22:13 +0100 Subject: Nagios 2.5 > 3.x Any issues In-Reply-To: <4823011F.3060306@ng23.net> References: <4822FC1B.6040605@ng23.net> <4822FFD1.1060401@process-zero.de> <4823011F.3060306@ng23.net> Message-ID: <48230C95.4080602@ng23.net> Tom Brown wrote: >>> Nagios 3.0.1 >>> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) >>> Last Modified: 04-01-2008 >>> License: GPL >>> >>> Reading configuration data... >>> >>> Warning: Duplicate definition found for host 'xxxxx' (config file >>> '/etc/nagios/objects/hosts.cfg', starting on line 7) >>> >>> >> duplicate host? >> > > nope - this file is copied as is from a working 2.5 install > > > my bad - i had cfg_file=/etc/nagios/objects/hosts.cfg twice in my nagios.cfg so i guess the configs were being read in twice. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Thu May 8 16:31:52 2008 From: maemigh at gmail.com (Mike Emigh) Date: Thu, 8 May 2008 10:31:52 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> Message-ID: <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> On Thu, May 8, 2008 at 9:49 AM, Terry wrote: > I am sitting here racking my brain on this one. Is dividing the load > average by the number of CPUs a smart thing to do? the 'uptime' > command on a box does not do this. So, if I have an 8 core box > sitting with a load average of 8, its the same as a single core box > sitting with a load average of 1? I'll see the same type of server > response? Thoughts? > It's not necessarily the same. If you have a single-threaded process pegging one of the cores, your load average can hit 8 even if the 7 other cores are sitting idle. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Thu May 8 16:33:34 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Thu, 8 May 2008 07:33:34 -0700 Subject: nagios reboot XP In-Reply-To: References: Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20D40@wtps0171.amers.ibechtel.com> >Palle L Jensen wrote: >> >> I guess I should have been more specific, sorry about that. >> >> I am running Nagios 3.0.1 on openSUSE 10.3, and I am only monitoring >> windows hosts. On the windows hosts I am running NSClient++. That >> seems to work good and I would prefer not to change to any other client. >> >> I have read about the event handlers in the Nagios documentation, but >> the samples there only refers to nrpe and scripts on the server. I >> understand how to define the service in Nagios, but I am not sure how >> to create the script that executes the batch file on the windows host? >> Maybe I am not getting the point and understanding on the documentation. >> >> Lets say I created a batch file that will start or restart a service, >> this batch file is located in c:\NSclient++\scripts folder. And then >> defined the service and command in Nagios: >> >> define service{ >> host_name somehost >> service_description sql-service >> max_check_attempts 4 >> event_handler restart-sqlagent >> } >> >> define command{ >> command_name restart-sqlagent >> command_line what do I add here?? It has to be something that can be sent to the Nsclient++/windows host and execute the batch script in c:\NSclient++\scripts folder >> } >> >> The command line on the eventhandler documentation shows a path to a >> local script and local command ?/etc/rc.d/init.d/httpd restart? >> >> So creating and event handler for services or others on the box where >> Nagios is running, I understand. But not how to do it remotely to a >> windows host. >> >> If you could shed some more light over this I would very much >> appreciate it. >> >> Thanks, >> >> PJ >> >You need a Unix-side script to execute and handle the condition >appropriately, for example to only call the restart when the service is >in hard failure. A sample Bash script is given in the docs to get you >started. >If using Bash (which I recommend) the Bash script should check the state >and perform the logic control, calling the batch or script on the >windows side though an NRPE call to nsclient++ to execute the script on >the windows host. The NSClient++ data collector's primary mechanism for actions (getting it to do stuff) is via NRPE. It will respond to the old nsclient command as well but the majority of it's functions are utilized through NRPE. This is the case with your situation as well. On the Nagios side you would define a check like you have above and in the NSC.ini file you define a handler for the command. Below is an example of one we use to check the CPU utilization of any process on the server. On the Nagios server define your service as above and use something like this for the command_line line. Command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c wmi_process_perf -a $ARG1$ On the Windows server in the NSC.ini file under the NRPE Handlers section put something like this: wmi_process_perf=c:\windows\system32\cscript.exe //nologo "c:\program files\nsclient++\scripts\wmi_cpu_perf.vbs" /process:$ARG1$ In this example the $ARG1$ value is the name of a running process on the server. The check returns the CPU and memory utilization of the process. HTH, -greg ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Thu May 8 16:34:27 2008 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Thu, 8 May 2008 07:34:27 -0700 Subject: check_load --- divide by number of cpus? In-Reply-To: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> Message-ID: On May 8, 2008, at 6:49 AM, Terry wrote: > I am sitting here racking my brain on this one. Is dividing the load > average by the number of CPUs a smart thing to do? the 'uptime' > command on a box does not do this. So, if I have an 8 core box > sitting with a load average of 8, its the same as a single core box > sitting with a load average of 1? I'll see the same type of server > response? Thoughts? This is what we do on our Sun boxes, in a custom "check_system" script: # Set 1,5,15 minute load average thresholds based on CPU count CPU=`psrinfo | wc -l` LOAD1=$((CPU*20)); test $LOAD1 -lt 50 && LOAD1=50 LOAD5=$((CPU*15)); test $LOAD5 -lt 30 && LOAD5=30 LOAD15=$((CPU*10)); test $LOAD15 -lt 15 && LOAD15=15 LOAD_W=$LOAD1,$LOAD5,$LOAD15 LOAD_C=$((LOAD1*5)),$((LOAD5*5)),$((LOAD15*5)) ... and on our linux systems ... CPU=`grep "^processor" /proc/cpuinfo | wc -l` LOAD1=$((CPU*20)); test $LOAD1 -lt 50 && LOAD1=50 LOAD5=$((CPU*15)); test $LOAD5 -lt 30 && LOAD5=30 LOAD15=$((CPU*10)); test $LOAD15 -lt 15 && LOAD15=15 LOAD_W=$LOAD1,$LOAD5,$LOAD15 LOAD_C=$((LOAD1*5)),$((LOAD5*5)),$((LOAD15*5)) ... and we then parse the output of "uptime". It would really cool if the "check_load" plugin would take args like: check_load -w 20x,15x,10x -c 100x,75x,50x ... but what I've got above has been doing what we want just fine. -s- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu May 8 16:49:43 2008 From: td3201 at gmail.com (Terry) Date: Thu, 8 May 2008 09:49:43 -0500 Subject: check_load --- divide by number of cpus? In-Reply-To: <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> Message-ID: <8ee061010805080749x64eceaddnd90a06b2d0ab826@mail.gmail.com> This is the logic I was looking for. This makes sense. Apache with prefork is not multithreaded and this type of logic is great. But do you shoot yourself in the foot for multithreaded processes? On Thu, May 8, 2008 at 9:31 AM, Mike Emigh wrote: > > On Thu, May 8, 2008 at 9:49 AM, Terry wrote: > > I am sitting here racking my brain on this one. Is dividing the load > > average by the number of CPUs a smart thing to do? the 'uptime' > > command on a box does not do this. So, if I have an 8 core box > > sitting with a load average of 8, its the same as a single core box > > sitting with a load average of 1? I'll see the same type of server > > response? Thoughts? > > > > It's not necessarily the same. If you have a single-threaded process > pegging one of the cores, your load average can hit 8 even if the 7 > other cores are sitting idle. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu May 8 16:52:43 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 8 May 2008 10:52:43 -0400 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: <20080508145243.GB9974@cgi.jachomes.com> On Thu, May 08, 2008 at 08:11:11AM -0400, Ugo Bellavance wrote: > The goal of all this is that , outside work hours, our staff would read > their regular e-mail if they'd like to, but wouldn't be bothered by the > BB device for regular e-mail. However, if it is a nagios alert, they > would be alerted. I think the way you should set this up is to send the Nagios alerts as Level 1 messages, and then your users can set up their notification alerts anyway that suits them. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Thu May 8 17:24:23 2008 From: maemigh at gmail.com (Mike Emigh) Date: Thu, 8 May 2008 11:24:23 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <8ee061010805080749x64eceaddnd90a06b2d0ab826@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> <8ee061010805080749x64eceaddnd90a06b2d0ab826@mail.gmail.com> Message-ID: <91eedcbf0805080824u66ad9060se9c75333630e425@mail.gmail.com> On Thu, May 8, 2008 at 10:49 AM, Terry wrote: > This is the logic I was looking for. This makes sense. Apache with > prefork is not multithreaded and this type of logic is great. But do > you shoot yourself in the foot for multithreaded processes? > What we do in our setup is monitor CPU utilization (average across all cores) in conjunction with load (and of course graph both). You could even have a separate check to monitor the CPU utilization of the busiest CPU. You could adjust your load thresholds in accordance with the number of processors. Then when/if your load hits a threshold, you can check the CPU utilization graph to see how it compares. I would think that the load average would be easier to interpret if the applications running on the server are multithreaded (and load is distributed evenly across the cores). ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 19:36:47 2008 From: marc at ena.com (Marc Powell) Date: Thu, 8 May 2008 12:36:47 -0500 Subject: Notifications config help In-Reply-To: <7b5ffa070805071905o4204f72drff90242b54bab672@mail.gmail.com> References: <7b5ffa070805071905o4204f72drff90242b54bab672@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Trey Bachner > Sent: Wednesday, May 07, 2008 9:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifications config help > > I have notifications setup and working for the most part. I am now > trying to address an issue with how the emails are structured. When > they are received they not only get sent to the correct address but > also have a long list of root directories as recipients. I am running > Version 3.0rc2 on Ubuntu Server 7.10. > > Here is a a list of the additional email addresses being included. > > ADDRESS at foo.com, bin at foo.com, boot at foo.com, cdrom at foo.com, > CHANGE at foo.com, dev at foo.com, EMAIL at foo.com, etc at foo.com, home at foo.com, > initrd at foo.com, initrd.img at foo.com, lib at foo.com, lost+found at foo.com, > media at foo.com, mnt at foo.com, opt at foo.com, proc at foo.com, root at foo.com, > sbin at foo.com, srv at foo.com, sys at foo.com, THIS at foo.com, tmp at foo.com, > TO at foo.com, usr at foo.com, var at foo.com, vmlinuz at foo.com, YOUR at foo.com > > I will admit that I am pretty new to using Ubuntu server and the > configuration of it's mail services but I cannot find anywhere in the It's not an Ubuntu thing. I'm going to guess that your service/host notification command has a * or something similar at the end. Can you post the relevant command definition? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cixelsydego at hotmail.com Thu May 8 20:54:58 2008 From: cixelsydego at hotmail.com (steven craig) Date: Thu, 8 May 2008 14:54:58 -0400 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: Ugo, What you are looking for here are the blackberry-specific concepts of both "profiles" and "exceptions." First, setup the email address from your nagios alerting system inside your blackberry contacts. Second, setup two custom profiles on the blackberry - call one "nagios_on-call" and one "nagios_vacation." Third, setup the alerting methods you would like for each profile (on-call loudly alerts you, nagios_vacation quietly alerts or does not alert at all). Fourth, inside your current blackberry alert profile, setup a custom exception. Tie the exception to the nagios addressbook entry, and then set the blackberry alert profile to use either your "on_call" or your "vacation" profile - depending on how you wish to be nagged currently. Steven > To: nagios-users at lists.sourceforge.net > From: ugob at lubik.ca > Date: Thu, 8 May 2008 08:11:11 -0400 > Subject: [Nagios-users] Slightly-OT - Notification management > > Hi, > > This is only indirectly related to nagios, as it is more related to > notifications management. > > We are currently using nagios and receive alerts by email and by text > messages (e-mails) sent to our cell phones. I am looking for using > Blackberry devices instead, but I have one concern: > > Assuming that we have a BlackBerry Enterprise Server, is it possible to, > for example: > > -> Configure something so that it is possible to be notified (vibration, > sound) by our BB device only if the e-mail received is a nagios alert. > > The goal of all this is that , outside work hours, our staff would read > their regular e-mail if they'd like to, but wouldn't be bothered by the > BB device for regular e-mail. However, if it is a nagios alert, they > would be alerted. > > Thanks, > > Ugo > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Stay in touch when you're away with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at lubik.ca Thu May 8 22:12:25 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Thu, 08 May 2008 16:12:25 -0400 Subject: Slightly-OT - Notification management In-Reply-To: <20080508145243.GB9974@cgi.jachomes.com> References: <20080508145243.GB9974@cgi.jachomes.com> Message-ID: Jay R. Ashworth a ?crit : > On Thu, May 08, 2008 at 08:11:11AM -0400, Ugo Bellavance wrote: >> The goal of all this is that , outside work hours, our staff would read >> their regular e-mail if they'd like to, but wouldn't be bothered by the >> BB device for regular e-mail. However, if it is a nagios alert, they >> would be alerted. > > I think the way you should set this up is to send the Nagios alerts as > Level 1 messages, and then your users can set up their notification > alerts anyway that suits them. That makes sense. I have seen this option in the BES manager, but I didn't know this was the solution. In fact I didn't know what meant "Level 1 message". Ugo ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 9 10:48:46 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 09 May 2008 04:48:46 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> Message-ID: <48240FEE.50006@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/05/08 10:31 AM, Mike Emigh wrote: > On Thu, May 8, 2008 at 9:49 AM, Terry wrote: >> I am sitting here racking my brain on this one. Is dividing the load >> average by the number of CPUs a smart thing to do? the 'uptime' >> command on a box does not do this. So, if I have an 8 core box >> sitting with a load average of 8, its the same as a single core box >> sitting with a load average of 1? I'll see the same type of server >> response? Thoughts? >> > > It's not necessarily the same. If you have a single-threaded process > pegging one of the cores, your load average can hit 8 even if the 7 > other cores are sitting idle. Not possible. The definition of load average is simply "the number of processes in the run queue". If you have only one process running (no multi-threading) it can only run on a single CPU at any given time, so the run queue can only be 1. A multi-threaded application will, on the other hand, be able to run on multiple CPUs (obviously depending on its design) and cause higher loads. When comparing load averages between servers you should divide it by CPU because the more CPUs you have, the faster the run queue is processed. Think of it like a reservoir with pipes: if you have one with 8 pipes, and another with only one, the 8-pipe reservoir will be able to take 8 time as much water and still be able to empty it as fast as the one-pipe one. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIJA/u6dZ+Kt5BchYRAnCFAKDBqa5YzPxa9JaRBzTBM6Lw4pT8nACfQXLc JI4owI20MwhoqgwkfRJN2Gk= =O3lX -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Fri May 9 10:49:59 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Fri, 09 May 2008 08:49:59 +0000 Subject: Remote external commands In-Reply-To: <4822E699.1050708@googlemail.com> References: <4822E699.1050708@googlemail.com> Message-ID: On Thu, 08 May 2008 12:40:09 +0100, Hari Sekhon wrote: > Were you thinking of NSCA that uses the nagios.cmd pipe? This only takes > a specific format for service checks only to my knowledge (or at least > that's all I use it for). Otherwise I'd look on NagiosExchange.org, > pretty much everything 3rd party to Nagios core is listed there... Ah, yes I think it was NSCA but I must have glossed over the docs when I saw it and thought it could be sent any command. I'm going to try ncmd from NagiosExchange.org. Thanks! Mark. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Fri May 9 11:34:12 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Fri, 09 May 2008 09:34:12 +0000 Subject: Remote external commands In-Reply-To: References: Message-ID: <20080509093412.A1B8D37369@winx-114.smorg.co.uk> <4822E699.1050708 at googlemail.com> Message-ID: <3ed6bce8158aec2b1873e6a105082192 at smorg.co.uk> X-Sender: mark.clarkson at smorg.co.uk Received: from 217.33.150.4 [217.33.150.4] with HTTP/1.1 (POST); Fri, 09 May 2008 09:34:12 +0000 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Fri, 09 May 2008 08:49:59 +0000, Mark Clarkson wrote: > > I'm going to try ncmd from NagiosExchange.org. Thanks! > ncmd is not the right. The only thing I can see is NSCAFE but I'm a bit wary of using Java, or rather of creating another dependency. I guess I'll have to use ssh. Does anyone know of a tool to run external commands from a remote computer? Something like NSCAFE but not written in Java? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Fri May 9 12:42:46 2008 From: tom at ng23.net (Tom Brown) Date: Fri, 09 May 2008 11:42:46 +0100 Subject: plugin build issue Message-ID: <48242AA6.5080201@ng23.net> Hi I am trying to build the plugins using the latest tarball and creating an rpm from that - i have not made any changes to the .spec The build fails towards the end with this error error: Bad owner/group: /usr/src/redhat/SPECS/nagios-plugins.spec i cant see anywhere in the spec where an owner and or group is set has anyone seen this this error before and or know a solution as i would like to package my plugins - i can build using the tarball just not as an rpm thanks ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at thebug.demon.nl Fri May 9 14:28:11 2008 From: nagios at thebug.demon.nl (Richard Luys) Date: Fri, 09 May 2008 14:28:11 +0200 Subject: NLG Error: Class 'S3_NagiosPoller' not found, Was: NLG Error In-Reply-To: References: Message-ID: Hi All, Found the solution (not sure if it's the right solution, but it takes care of this problem) I manually declared the $NLG_Language variable in s3_config_stub.inc.php like so: $NLG_Language = "en"; The Language related messages are gone, but now I have the following problem: [Fri May 09 14:21:11 2008] [error] [client 10.10.10.10] PHP Fatal error: Class 'S3_NagiosPoller' not found in /srv/www/htdocs/nlg/s3_client.php on line 1214 And my lack of PHP knowledge is not enough to look into this, or solve it... Any suggestions? Rgds, Richard On Thu, 08 May 2008 14:44:26 +0200, Richard Luys wrote: > Hi All, > > We think NLG is for us (thanks Andy!) but we can't get it to work. > Here's some details: > OS: SLES10 32 bits > NLG: 1.0.6 and 1.1.0b1 > HTTPD: Apache2-2.2.3 > PHP: PHP5-5.1.2 > Browser: Firefox 1.5.0.6 > > Afaik all dependencies are solved. Server directory is copied to the > Nagios server in /usr/local/nagios/share, and client dir is copied to > the Webserver in /srv/www/htdocs. both are named 'nlg' which is > reflected in the configfiles. > > We followed the PDF document to configure everything, but we get garbled > output on the web GUI, and some errors in the apache logs: > > [Thu May 08 14:43:33 2008] [error] [client 10.10.10.10] PHP Notice: > Undefined variable: NLG_Language in /srv/www/htdocs/nlg/s3_client.php on > line 86 [Thu May 08 14:43:33 2008] [error] [client 10.10.10.10] PHP > Warning: require(sync-files/s3_lang_.inc.php) [ href='function.require'>function.require]: failed to open stream: No > such file or directory in /srv/www/htdocs/nlg/s3_client.php on line 86 > [Thu May 08 14:43:33 2008] [error] [client 10.10.10.10] PHP Fatal > error: require() [function.require]: > Failed opening required 'sync-files/s3_lang_.inc.php' > (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in > /srv/www/htdocs/nlg/s3_client.php on line 86 > > Curious if anyone has any clues; googling didn't help much :( > > Rgds and thanks in advance, > Richard -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at lubik.ca Fri May 9 14:36:18 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Fri, 09 May 2008 08:36:18 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> Message-ID: Terry a ?crit : > I am sitting here racking my brain on this one. Is dividing the load > average by the number of CPUs a smart thing to do? the 'uptime' > command on a box does not do this. So, if I have an 8 core box > sitting with a load average of 8, its the same as a single core box > sitting with a load average of 1? I'll see the same type of server > response? Thoughts? It depends. What are you running, cpu-intensive processes? Multi or single-threaded? I/O intensive processes? If you are running mostly I/O intensive process, don't forget that your I/O subsystem (hard drives) is shared among all processes, no matter how many CPUs you have. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prashanthppp at gmail.com Fri May 9 14:55:41 2008 From: prashanthppp at gmail.com (pra$h Online!!!! !!) Date: Fri, 9 May 2008 14:55:41 +0200 Subject: High CPU usage. Message-ID: <49f8fec0805090555x697c1181v2bda733df353dbaf@mail.gmail.com> Dear all I am using nagios 2.7 and monitoring 674 host and 6995 service checking . Last few days i found that my web page is slow. When i check my server procs i found that some time apche (status.cgi ) is taking 70 to 90% CPU usage and too many nagios instance also running some time. PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND 7569 apache 25 0 60 0:02.99 0.3 12108 9988 488 R status.cgi 14055 apache 25 0 47 0:02.94 0.3 12240 9m 488 R status.cgi 13879 apache 25 0 46 0:04.05 0.3 12636 10m 488 R status.cgi 14033 apache 25 0 23 0:02.91 0.3 12240 9.9m 488 R status.cgi 14056 apache 25 0 23 0:02.34 0.3 12108 9976 488 R status.cgi 14276 apache 20 0 10 0:00.29 0.2 11576 9424 444 R status.cgi total, 372828k used, 8013092k free, 2249548k cached some time i am seeing like this. PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND 19394 apache 25 0 72 0:03.53 0.3 12372 10m 488 R status.cgi 19709 apache 21 0 14 0:00.42 0.0 0 0 0 Z tac.cgi 8527 nagios 18 0 6 129:21.19 0.6 105m 21m 2196 S nagios 19796 apache 18 0 4 0:00.13 0.2 11956 8008 4620 R status.cgi I restated my apche server .but the issue not resolved . No changes made to the configuration file. Nagios perfomance is good Check Execution Time: 0.04 sec 23.30 sec 0.268 sec Check Latency: 100.55 sec 117.00 sec 109.142 sec Percent State Change: 0.00% 42.63% 0.04% Can anybody help me on this. Thank in Advance Prashanth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ug at cinetic21.de Fri May 9 15:06:08 2008 From: ug at cinetic21.de (Uwe =?ISO-8859-1?Q?Gro=DFkinsky?=) Date: Fri, 09 May 2008 15:06:08 +0200 Subject: wrong information by check_disk ! Message-ID: <1210338368.18139.11.camel@ug.site> hy folks, i have 2 machines (both are linux) machine 1 i have running my nagios server new version 3.0.1 incl. plugins 1.4.11 and nrpe 2.12 machine 2 i have runing nrpe 2.12 incl. plugins 1.4.11 Machine 1 (NAGIOS) i have the following config for my ubuntu.cfg define host{ use generic-host host_name uwe-desktop alias uwe-desktop unter auf VMWare localost address 10.23.3.29 max_check_attempts 2 contacts nagiosadmin } and service define service{ use generic-service host_name uwe-desktop service_description check remote Disk check_command check_nrpe!check_remote_disk1 } and command.cfg define command{ command_name check_remote_disk1 command_line $USER1$/check_remote_disk1 -H $HOSTADDRESS$ } konfigured on Machine 2 (nrpe) i have the following command in my command.cfg included command[check_remote_disk1]=/opt/nagios/libexec/check_disk -w 20% -c 10% -p / but i see always in Nagios for my check result check remote Disk OK 09-05-2008 14:44:17 0d 0h 36m 19s 1/3 OK - load average: 0.27, 0.23, 0.24 if send the command ./check_disk -w 20% -c 10% -p / on Machine 2 from my shell i see DISK OK - free space: / 3333 MB (45% inode=67%);| /=4004;6181;6954;0;7727 so what i made wrong ? i dont understand whats the problem greets Uwe ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Fri May 9 15:31:07 2008 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 9 May 2008 09:31:07 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <48240FEE.50006@aei.ca> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> <48240FEE.50006@aei.ca> Message-ID: <91eedcbf0805090631pcd93379te998cdf38116b879@mail.gmail.com> On Fri, May 9, 2008 at 4:48 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 08/05/08 10:31 AM, Mike Emigh wrote: >> On Thu, May 8, 2008 at 9:49 AM, Terry wrote: >>> I am sitting here racking my brain on this one. Is dividing the load >>> average by the number of CPUs a smart thing to do? the 'uptime' >>> command on a box does not do this. So, if I have an 8 core box >>> sitting with a load average of 8, its the same as a single core box >>> sitting with a load average of 1? I'll see the same type of server >>> response? Thoughts? >>> >> >> It's not necessarily the same. If you have a single-threaded process >> pegging one of the cores, your load average can hit 8 even if the 7 >> other cores are sitting idle. > > Not possible. The definition of load average is simply "the number of > processes in the run queue". If you have only one process running (no > multi-threading) it can only run on a single CPU at any given time, so > the run queue can only be 1. A multi-threaded application will, on the > other hand, be able to run on multiple CPUs (obviously depending on its > design) and cause higher loads. > > When comparing load averages between servers you should divide it by CPU > because the more CPUs you have, the faster the run queue is processed. > Think of it like a reservoir with pipes: if you have one with 8 pipes, > and another with only one, the 8-pipe reservoir will be able to take 8 > time as much water and still be able to empty it as fast as the one-pipe > one. > You're right, it wouldn't work with just a single-threaded process. I'm not sure of the specifics of how this would happen, but with Oracle we've seen it maxing two CPUs and raising the load to 56 while the 6 other cores in the 8 core machine sat idle. As these situations are possible simply dividing by the number of cores wouldn't provide precise insight into what's going on. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri May 9 15:40:06 2008 From: td3201 at gmail.com (Terry) Date: Fri, 9 May 2008 08:40:06 -0500 Subject: Slightly-OT - Notification management In-Reply-To: References: <20080508145243.GB9974@cgi.jachomes.com> Message-ID: <8ee061010805090640h1ad0781rc4c8e3640793e1c9@mail.gmail.com> We just utilize sms and have a different ring profile for SMS messages. The ring profile says that it will go nuts if it gets a phone call or SMS message but all other notifications are off. I set this before I go to bed. On Thu, May 8, 2008 at 3:12 PM, Ugo Bellavance wrote: > Jay R. Ashworth a ?crit : >> On Thu, May 08, 2008 at 08:11:11AM -0400, Ugo Bellavance wrote: >>> The goal of all this is that , outside work hours, our staff would read >>> their regular e-mail if they'd like to, but wouldn't be bothered by the >>> BB device for regular e-mail. However, if it is a nagios alert, they >>> would be alerted. >> >> I think the way you should set this up is to send the Nagios alerts as >> Level 1 messages, and then your users can set up their notification >> alerts anyway that suits them. > > That makes sense. I have seen this option in the BES manager, but I > didn't know this was the solution. In fact I didn't know what meant > "Level 1 message". > > Ugo > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Fri May 9 15:40:42 2008 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 9 May 2008 09:40:42 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <91eedcbf0805090631pcd93379te998cdf38116b879@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> <48240FEE.50006@aei.ca> <91eedcbf0805090631pcd93379te998cdf38116b879@mail.gmail.com> Message-ID: <91eedcbf0805090640o15b2f794nac34e7083a16cf99@mail.gmail.com> On Fri, May 9, 2008 at 9:31 AM, Mike Emigh wrote: > On Fri, May 9, 2008 at 4:48 AM, Thomas Guyot-Sionnest wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 08/05/08 10:31 AM, Mike Emigh wrote: >>> On Thu, May 8, 2008 at 9:49 AM, Terry wrote: >>>> I am sitting here racking my brain on this one. Is dividing the load >>>> average by the number of CPUs a smart thing to do? the 'uptime' >>>> command on a box does not do this. So, if I have an 8 core box >>>> sitting with a load average of 8, its the same as a single core box >>>> sitting with a load average of 1? I'll see the same type of server >>>> response? Thoughts? >>>> >>> >>> It's not necessarily the same. If you have a single-threaded process >>> pegging one of the cores, your load average can hit 8 even if the 7 >>> other cores are sitting idle. >> >> Not possible. The definition of load average is simply "the number of >> processes in the run queue". If you have only one process running (no >> multi-threading) it can only run on a single CPU at any given time, so >> the run queue can only be 1. A multi-threaded application will, on the >> other hand, be able to run on multiple CPUs (obviously depending on its >> design) and cause higher loads. >> >> When comparing load averages between servers you should divide it by CPU >> because the more CPUs you have, the faster the run queue is processed. >> Think of it like a reservoir with pipes: if you have one with 8 pipes, >> and another with only one, the 8-pipe reservoir will be able to take 8 >> time as much water and still be able to empty it as fast as the one-pipe >> one. >> > > You're right, it wouldn't work with just a single-threaded process. > I'm not sure of the specifics of how this would happen, but with > Oracle we've seen it maxing two CPUs and raising the load to 56 while > the 6 other cores in the 8 core machine sat idle. As these situations > are possible simply dividing by the number of cores wouldn't provide > precise insight into what's going on. > I guess I should have also mentioned that this becomes more likely in the case of virtual machines/zones/etc which have the capability of binding to a single processor or subsets of the number of processors. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Fri May 9 15:57:52 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 9 May 2008 09:57:52 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <91eedcbf0805090631pcd93379te998cdf38116b879@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> <48240FEE.50006@aei.ca> <91eedcbf0805090631pcd93379te998cdf38116b879@mail.gmail.com> Message-ID: <20080509135752.GA25767@cgi.jachomes.com> On Fri, May 09, 2008 at 09:31:07AM -0400, Mike Emigh wrote: > You're right, it wouldn't work with just a single-threaded process. > I'm not sure of the specifics of how this would happen, but with > Oracle we've seen it maxing two CPUs and raising the load to 56 while > the 6 other cores in the 8 core machine sat idle. As these situations > are possible simply dividing by the number of cores wouldn't provide > precise insight into what's going on. In light of *this*, it seems to me that the desired goal is to figure out a way to get the load average *per processor*, and then have one check_load per processor. Alternatively, you could get those numbers that top(1) displays for utilization percentages, and massage *those* to get your load results per proc; those are split. But you'd need to average them. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 9 16:01:31 2008 From: marc at ena.com (Marc Powell) Date: Fri, 9 May 2008 09:01:31 -0500 Subject: wrong information by check_disk ! In-Reply-To: <1210338368.18139.11.camel@ug.site> References: <1210338368.18139.11.camel@ug.site> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Uwe Gro?kinsky > Sent: Friday, May 09, 2008 8:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] wrong information by check_disk ! > > define service{ > use generic-service > host_name uwe-desktop > service_description check remote Disk > check_command check_nrpe!check_remote_disk1 > } > > and command.cfg > > define command{ > command_name check_remote_disk1 > command_line $USER1$/check_remote_disk1 -H $HOSTADDRESS$ > } This is not the command that you're telling nagios to run in the service definition above. You're telling it to run the command with command_name 'check_nrpe'. > konfigured > > on Machine 2 (nrpe) i have the following command in my command.cfg > included > > command[check_remote_disk1]=/opt/nagios/libexec/check_disk -w 20% -c 10% > -p / > > > but i see always in Nagios for my check result > > check remote Disk > > OK 09-05-2008 14:44:17 0d 0h 36m 19s 1/3 OK - load average: 0.27, 0.23, > 0.24 I'm going to guess that the command 'check_nrpe' is hard coded to run check_load on the remote machine. Does that command properly use the $ARG1$ being passed to it? It should probably look something like -- define command { command_name check_nrpe command_line $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$ -to 30 } -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Fri May 9 16:08:57 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 9 May 2008 10:08:57 -0400 Subject: wrong information by check_disk ! In-Reply-To: References: <1210338368.18139.11.camel@ug.site> Message-ID: <20080509140857.GB25767@cgi.jachomes.com> On Fri, May 09, 2008 at 09:01:31AM -0500, Marc Powell wrote: > Uwe Gro?kinsky wrote: > > define service{ > > use generic-service > > host_name uwe-desktop > > service_description check remote Disk > > check_command check_nrpe!check_remote_disk1 > > } > > > > and command.cfg > > > > define command{ > > command_name check_remote_disk1 > > command_line $USER1$/check_remote_disk1 -H $HOSTADDRESS$ > > } > > This is not the command that you're telling nagios to run in the > service definition above. You're telling it to run the command with > command_name 'check_nrpe'. To expand on that a touch: command.cfg on the monitoring machine needs to know how to run check_nrpe (and it almost certainly already does), but not check_remote_disk1 (and you shouldn't really call it "remote", because...) the *argument* to check_nrpe, which you've called check_remote_disk1, has to be defined on the *target* machine. Where that disk isn't remote. This isn't entirely the best documented process -- I know, cause it took me almost 3 hours to figure it out. :-) === You know what would be *wonderful*? If someone could post, somewhere, one or more working complete configurations, annotated as to why the configuror made the choices of naming and templating that they did. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at lubik.ca Fri May 9 16:10:59 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Fri, 09 May 2008 10:10:59 -0400 Subject: Slightly-OT - Notification management In-Reply-To: <8ee061010805090640h1ad0781rc4c8e3640793e1c9@mail.gmail.com> References: <20080508145243.GB9974@cgi.jachomes.com> <8ee061010805090640h1ad0781rc4c8e3640793e1c9@mail.gmail.com> Message-ID: Terry a ?crit : > We just utilize sms and have a different ring profile for SMS > messages. The ring profile says that it will go nuts if it gets a > phone call or SMS message but all other notifications are off. I set > this before I go to bed. Ok, but we don't have a SMS gateway yet, we use e-mail to txt, so it costs money to receive txt messages this way, the blackberry data fees are already high, using it would cut the txt msg fees. I'm thinking about setting up an SMS gateway, though, any idea where to ask for info/ideas? Regards, Ugo ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Fri May 9 16:14:49 2008 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 9 May 2008 10:14:49 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <20080509135752.GA25767@cgi.jachomes.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> <48240FEE.50006@aei.ca> <91eedcbf0805090631pcd93379te998cdf38116b879@mail.gmail.com> <20080509135752.GA25767@cgi.jachomes.com> Message-ID: <91eedcbf0805090714h3af28d0eie9b87cdbf7921636@mail.gmail.com> On Fri, May 9, 2008 at 9:57 AM, Jay R. Ashworth wrote: > On Fri, May 09, 2008 at 09:31:07AM -0400, Mike Emigh wrote: >> You're right, it wouldn't work with just a single-threaded process. >> I'm not sure of the specifics of how this would happen, but with >> Oracle we've seen it maxing two CPUs and raising the load to 56 while >> the 6 other cores in the 8 core machine sat idle. As these situations >> are possible simply dividing by the number of cores wouldn't provide >> precise insight into what's going on. > > In light of *this*, it seems to me that the desired goal is to figure > out a way to get the load average *per processor*, and then have one > check_load per processor. > > Alternatively, you could get those numbers that top(1) displays for > utilization percentages, and massage *those* to get your load results > per proc; those are split. But you'd need to average them. > > Cheers, > -- jra > -- > Jay R. Ashworth Baylink jra at baylink.com > Designer The Things I Think RFC 2100 > Ashworth & Associates http://baylink.pitas.com '87 e24 > St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 I think it would be great if the plugin reported average load per processor and then allowed you to set a warning and critical threshold for the busiest processor as well as a warning and critical threshold for the average system load. I might look into trying to code something like that in the future. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Fri May 9 16:38:54 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Fri, 09 May 2008 09:38:54 -0500 Subject: SMS and ATT with Nagios In-Reply-To: <4823011F.3060306@ng23.net> References: <4822FC1B.6040605@ng23.net> <4822FFD1.1060401@process-zero.de> <4823011F.3060306@ng23.net> Message-ID: <1210343934.6818.127.camel@UNIX-TEAM-LACAYO> ?Good Morning all, I have to change my NAGIOS platform to a Dell Blade on RHEL 5. I currently use a modem and qpage to send out notifications. Since there is no way to attach a modem to a blade, I am thinking on sending the alerts via SMS. Our carrier is ATT, is there anyone out there currently doing this? Can you share how you are doing this? Thanks, Luis :-) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Fri May 9 17:32:27 2008 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 9 May 2008 11:32:27 -0400 Subject: Notification commands aren't parallelized? In-Reply-To: <4368200A-F1E7-4191-AB0A-E6F77926117B@netconsonance.com> References: <91eedcbf0805071201lc0af748vd6ff72fbf0f72eb7@mail.gmail.com> <91eedcbf0805071332o160acc81hcdb6cc6c81c2e4b7@mail.gmail.com> <4368200A-F1E7-4191-AB0A-E6F77926117B@netconsonance.com> Message-ID: <91eedcbf0805090832x6307d867ga021e8815402b9bd@mail.gmail.com> I was able to parallelize notifications in our perl script by adding the following lines to the top: exit if (fork()); setsid; Took a while to figure out, but forking alone isn't enough, the setsid must also be present. Mike ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrost at rooville.com Fri May 9 18:46:55 2008 From: mfrost at rooville.com (Mark Frost) Date: Fri, 09 May 2008 12:46:55 -0400 Subject: no max check attempts for host checking? Message-ID: <48247FFF.5070407@rooville.com> Hello. I have something that's not working the way I'd expect. We are monitoring services on windows hosts and as is common practice, not explicitly checking the host state. Wehn the host gets rebooted, I expect that a service might fail, then Nagios would attempt a host check. I would like the host check to not alert on a single ping failure, but rather hold off for say 5 failures before it sends an alert. The intent is to not get an alert if the box is just being rebooted. I've set the following for my test host: max_check_attempts 10 check_interval 0 retry_interval 1 active_checks_enabled no Our configuration is a distributed one so the distributed node has obsession turned on, but the central node does not. When testing, we find that no matter what I set the max_check_attempts to, an alert is sent on the first ping failure. Is there something I'm missing? Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Fri May 9 18:50:34 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Fri, 9 May 2008 16:50:34 +0000 (GMT) Subject: run nagios plug-in on proxy server Message-ID: <934527.3226.qm@web23310.mail.ird.yahoo.com> I would likes to monitor Novell IDM driver using ?check_dxml_drvstate? on a Novell Netware machine. However the plug-in will not work on a local NetWare machine but will work on Linux machine. Hence the solution is to run the plug-in on a Linux machine using ?s ?IP Address of remote IDM server? to check for the driver on Netware IDM machine. The question is; how do I configure nagios to send status alert notification report about IDM problem on Netware machine and not the Linux machine? The Linux machine is only acting as a proxy to run ?check_dxml_drvstate? and I want nagios to send me notification alert about IDM driver on Netware not on Linux. Basically, if an IDM driver fails, how do I configure nagios to send notification alert informing the IDM driver has fails on Netware IDM machine and not from Linux? Can you, help? Please. __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Fri May 9 21:56:35 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Fri, 09 May 2008 14:56:35 -0500 Subject: IPSLA - with NAGIOS In-Reply-To: <934527.3226.qm@web23310.mail.ird.yahoo.com> References: <934527.3226.qm@web23310.mail.ird.yahoo.com> Message-ID: <1210362995.6818.160.camel@UNIX-TEAM-LACAYO> HI All, Is anyone doing IPSLA against Cisco devices? thanks, Luis ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g-ginsburg at northwestern.edu Fri May 9 23:58:07 2008 From: g-ginsburg at northwestern.edu (Gerald N. Ginsburg) Date: Fri, 9 May 2008 16:58:07 -0500 Subject: retry_interval and retry_check_interval in Nagios 3.0 service definitions Message-ID: <012b01c8b21f$c3dd9c30$35d66981@bluejay> Which is the correct directive to use in a service definition? The doc says retry_interval while the sample template with 3.0rc1 has retry_check_interval. Either directive can be used with verification error. But do both give the same behavior? Thanks for any help, Gerry Ginsburg Gerald N. Ginsburg ITCS Northwestern University 2020 Ridge Ave. Evanston IL 60208-4311 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat May 10 00:27:50 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 09 May 2008 18:27:50 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> Message-ID: <4824CFE6.4010508@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/05/08 08:36 AM, Ugo Bellavance wrote: > Terry a ?crit : >> I am sitting here racking my brain on this one. Is dividing the load >> average by the number of CPUs a smart thing to do? the 'uptime' >> command on a box does not do this. So, if I have an 8 core box >> sitting with a load average of 8, its the same as a single core box >> sitting with a load average of 1? I'll see the same type of server >> response? Thoughts? > > It depends. What are you running, cpu-intensive processes? Multi or > single-threaded? I/O intensive processes? If you are running mostly I/O > intensive process, don't forget that your I/O subsystem (hard drives) is > shared among all processes, no matter how many CPUs you have. I fully agree with that; however I don't think looking at the load average is always the best way to determine when i/o becomes a bottleneck. It greatly depends on the application type. Is there a fixed number of "readers" or will in increase with system load? If it's fixed, chances are that load-average will rapidly become equal to that number of readers, and any load increase will only decrease the response time for clients. Also will application using assync i/o even make the load-average raise? (I don't think so...) Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIJM/m6dZ+Kt5BchYRAuMYAKC0UhfG3Cj7vzvbq8sIabEd7Jv9aACeLayt m+H6FxMoPvdEmQZm0XVjxPE= =+Zah -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat May 10 00:39:15 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 09 May 2008 18:39:15 -0400 Subject: check_load --- divide by number of cpus? In-Reply-To: <91eedcbf0805090714h3af28d0eie9b87cdbf7921636@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> <91eedcbf0805080731q3345db6bg9196955b5bf9e71e@mail.gmail.com> <48240FEE.50006@aei.ca> <91eedcbf0805090631pcd93379te998cdf38116b879@mail.gmail.com> <20080509135752.GA25767@cgi.jachomes.com> <91eedcbf0805090714h3af28d0eie9b87cdbf7921636@mail.gmail.com> Message-ID: <4824D293.2080009@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/05/08 10:14 AM, Mike Emigh wrote: > On Fri, May 9, 2008 at 9:57 AM, Jay R. Ashworth wrote: >> On Fri, May 09, 2008 at 09:31:07AM -0400, Mike Emigh wrote: >>> You're right, it wouldn't work with just a single-threaded process. >>> I'm not sure of the specifics of how this would happen, but with >>> Oracle we've seen it maxing two CPUs and raising the load to 56 while >>> the 6 other cores in the 8 core machine sat idle. As these situations >>> are possible simply dividing by the number of cores wouldn't provide >>> precise insight into what's going on. >> In light of *this*, it seems to me that the desired goal is to figure >> out a way to get the load average *per processor*, and then have one >> check_load per processor. load average *per processor*? Never heard of that... do you have any example for getting that (if it even exists)? >> Alternatively, you could get those numbers that top(1) displays for >> utilization percentages, and massage *those* to get your load results >> per proc; those are split. But you'd need to average them. check_load has had the ability to divide per cpu for some time now (-r switch) but it doesn't work on every architecture. I was also thinking it would be nice to be able to specify the number of cpus for the archs that can't detect it... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIJNKT6dZ+Kt5BchYRAhhYAJ9+Q1VZNHJg5Bka21A1VHJ96zauBQCg5Q3J r9mLNJllR8IaLrF0Q5XKtwc= =F23M -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat May 10 09:31:29 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 10 May 2008 09:31:29 +0200 Subject: check_load --- divide by number of cpus? In-Reply-To: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> References: <8ee061010805080649t5ec6822do4a815b6517060d61@mail.gmail.com> Message-ID: <48254F51.4030303@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Terry wrote: | I am sitting here racking my brain on this one. Is dividing the load | average by the number of CPUs a smart thing to do? the 'uptime' | command on a box does not do this. So, if I have an 8 core box | sitting with a load average of 8, its the same as a single core box | sitting with a load average of 1? I'll see the same type of server | response? Thoughts? The load value is the least understood value of a unix system. Most people simple do not know how to handle it. I have created situations with a load of just 1 and a CPU usage of 100% where a second session becomes sluggish. And I have also created situation where the same system had a load of around 12 and I could happely hack away on the system at the same time. By itself the load factor is not very usefull. Take into account the CPU usage and I/O actions and you start to get a proper picture. If you are to do any maths on the load factor you should not divide it by the number of CPU's. Doing a substraction would give a slightly less distorted figure if you start to mangle with the numbers. Say you use the following value for a single core CPU: define service{ ~ use local-service ; Name of service template to use ~ host_name balin.waakhond.net ~ service_description Current Load ~ check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 ~ } Then basically I would add 7 to all these counters for a 8 core system. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIJU9PBvzDRVjxmYERAuuiAKClbDiwmk6cDqpdBZG555sriS/IxgCfUvVJ JC1bD7qpZ9M0f2YRgTnx6VA= =TNia -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 10 13:51:32 2008 From: marc at ena.com (Marc Powell) Date: Sat, 10 May 2008 06:51:32 -0500 Subject: retry_interval and retry_check_interval in Nagios3.0 service definitions In-Reply-To: <012b01c8b21f$c3dd9c30$35d66981@bluejay> References: <012b01c8b21f$c3dd9c30$35d66981@bluejay> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gerald N. Ginsburg > Sent: Friday, May 09, 2008 4:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] retry_interval and retry_check_interval in Nagios3.0 > service definitions > > Which is the correct directive to use in a service definition? The doc says > retry_interval while the sample template with 3.0rc1 has retry_check_interval. > > > > Either directive can be used with verification error. But do both give the > same behavior? They are equivalent (at this time). In xdata/xodtemplate.c -- else if(!strcmp(variable,"retry_interval") || !strcmp(variable,"retry_check_interval")){ temp_service->retry_interval=strtod(value,NULL); temp_service->have_retry_interval=TRUE; } -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Sun May 11 11:40:09 2008 From: jhein at netways.de (Julian Hein) Date: Sun, 11 May 2008 11:40:09 +0200 Subject: SMS and ATT with Nagios In-Reply-To: <1210343934.6818.127.camel@UNIX-TEAM-LACAYO> References: <1210343934.6818.127.camel@UNIX-TEAM-LACAYO> Message-ID: Hi, Luis Fernando Lacayo wrote on 09.05.08 16:38: > Good Morning all, I have to change my NAGIOS platform to a Dell Blade on RHEL > 5. I currently use a modem and qpage to send out notifications. Since > there is no way to attach a modem to a blade, I am thinking on sending > the alerts via SMS. Our carrier is ATT, is there anyone out there > currently doing this? Can you share how you are doing this? Thanks, Luis Multitech has Modems with Ethernet Interfaces. You just connect them to the Network and send a text oder sms via Telnet commands: http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ Cheers, Julian -- Julian Hein NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-31 http://www.netways.de | jhein at netways.de ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Sun May 11 11:43:15 2008 From: jhein at netways.de (Julian Hein) Date: Sun, 11 May 2008 11:43:15 +0200 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: Hi, Ugo Bellavance wrote on 09.05.08 16:10: > Terry a ?crit : >> We just utilize sms and have a different ring profile for SMS >> messages. The ring profile says that it will go nuts if it gets a >> phone call or SMS message but all other notifications are off. I set >> this before I go to bed. > > Ok, but we don't have a SMS gateway yet, we use e-mail to txt, so it > costs money to receive txt messages this way, the blackberry data fees > are already high, using it would cut the txt msg fees. > > I'm thinking about setting up an SMS gateway, though, any idea where to > ask for info/ideas? Multitech has Modems with Ethernet Interfaces. You just connect them to the Network and send a text oder sms via Telnet commands: http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ If you can get a mobile phone plan with unlimited sms/text in Canada, you can send as many txt as you can get through and build your own email2sms gateway. Cheers, Julian -- Julian Hein NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-31 http://www.netways.de | jhein at netways.de ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Izz_Abdullah at satyam.com Mon May 12 11:11:57 2008 From: Izz_Abdullah at satyam.com (Izz_Abdullah) Date: Mon, 12 May 2008 17:11:57 +0800 Subject: "could not fetch information from server" Message-ID: Hi, I'm quite new to Nagios. I have a test VM environment setup to where Nagios 3.0.1 on RHEL 4 with Nagios plug-ins 1.4.11 are monitoring the Nagios server itself along with a Windows XP VM box. The PING status is OK, so I know there is communication between my two VM sessions. Although for health checks, such as CPU usage, Disk space, et cetera, I am receiving on the Nagios server: "could not fetch information from server". I have defined a password for communication between the two, which is in the NSC.INI file on the Windows box as well as within the check_nt command definition within the commands.cfg file. Any assistance is greatly appreciated. Using NSClient++ v0.3.1 on the windows machine. Thank you, Izz DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai.tanasescu at airbites.ro Mon May 12 12:10:08 2008 From: mihai.tanasescu at airbites.ro (Mihai Tanasescu) Date: Mon, 12 May 2008 13:10:08 +0300 Subject: Ring topology parent/child relation Nagios Message-ID: <48281780.2030502@airbites.ro> Hello, I have some problems defining the parent/child relationships to reflect changes and monitoring on the map. My topology is something like this: Nagios machine --- Router A ---- Router B Router B --- Router C --- Router D --- Router E ---Router F --- Router B (ring closing itself) but on the Router B ring I can't define parent relationships in a circular way because nagios refuses to start when it detects this. (I defined on Router C parent = Router B and Router D and so on for each of them) How should I configure them ? Any ideas / help ? Regards, Mihai ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 14:23:36 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 12 May 2008 14:23:36 +0200 Subject: Ring topology parent/child relation Nagios In-Reply-To: <48281780.2030502@airbites.ro> References: <48281780.2030502@airbites.ro> Message-ID: <482836C8.2010109@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mihai Tanasescu wrote: | I have some problems defining the parent/child relationships to reflect | changes and monitoring on the map. | | My topology is something like this: | | Nagios machine --- Router A ---- Router B | | Router B --- Router C --- Router D --- Router E ---Router F --- Router B | (ring closing itself) | | but on the Router B ring I can't define parent relationships in a | circular way because nagios refuses to start when it detects this. The whole concept of a ring setup is that a single disaster can not cause a network failure. For this setup I would only follow the ring halfway. So you get 2 chains: Nagios --> A --> B --> C --> D Nagios --> A --> B --> F --> E Make sure you monitor each neighbor on each ring router to make sure the ring is working as expected. If you use dynamic routing you might want to monitor route changes relevant for the proper operation of your ring setup. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIKDbGBvzDRVjxmYERAt2PAJ986/BS0M0kgZhAgQfROUgG9ct7rwCfUu2u 7lPWytTiYn0B7T7QAYwpj9c= =BM9j -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrost at rooville.com Mon May 12 15:14:02 2008 From: mfrost at rooville.com (Mark Frost) Date: Mon, 12 May 2008 09:14:02 -0400 Subject: Way to replicate external commands to failover server? Message-ID: <4828429A.7050800@rooville.com> I'm working on a central server failover strategy for a distributed setup using Nagios 3.0.1. In our case, I don't want to lose any history while the main server is down (or graph data) and I don't want to think about merging data. So I have the 2nd central server as a sort of hot standby and it's accepting check data from the distributed nodes just like the main (non-failover) central server. That seems to work OK, and in the event of emergency, I tell the failover server to enable notifications and away we go. What has me a little concerned is that if someone went into the web interface on the main server and say scheduled downtime or disabled notifications, the backup server would never know about it. In the even to failure people could find themselves getting alerts for a host that should have been in scheduled downtime (or it was on the main server). While I realize I would not want to capture and retransmit *all* external commands to the backup host, if I could somehow get at them I could filter them over to the backup host (i.e. "ignore most commands, but pass a few like downtime or host notifications", etc). Is there any mechanism that allows me to do this? As I understand it the global host and service events really only capture check results -- they're not going to fire if someone schedules downtime. Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon May 12 16:31:50 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 12 May 2008 10:31:50 -0400 Subject: Hostgroup definition Message-ID: <20080512143150.GI31694@cgi.jachomes.com> I know that lots of the documentation about how to configure Nagios's cfg files is in transition from 2.x (where you mostly did it one way) to 3.0 (where you mostly do it another way), but there's a point I'm not clear on. It seems to me that it would be much easier to maintain if member machines were placed in hostgroups *in each member machine's cfg file* (cause yes, I'm using a separate file for each machine). This doesn't seem to be the way Nagios expects me to do it, and I don't see that there's a way to do it this way; you appear to have to define the hostgroup in some amorphous 'somewhere', and then add all the hosts to it *there* (which means that there are two places you have to change when you add a new host, which I'm not fond of). Have any of the DBMS config builder front-ends been updated to 3.0 yet? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Mon May 12 16:59:13 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Mon, 12 May 2008 07:59:13 -0700 Subject: SMS and ATT with Nagios In-Reply-To: References: Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20D5D@wtps0171.amers.ibechtel.com> >Hi, >Luis Fernando Lacayo wrote on 09.05.08 16:38: >> Good Morning all, >I have to change my NAGIOS platform to a Dell Blade on RHEL >> 5. I >currently use a modem and qpage to send out notifications. Since > there >is no way to attach a modem to a blade, I am thinking on sending >> the >alerts via SMS. Our carrier is ATT, is there anyone out there >> currently >doing this? >Can you share how you are doing this? >Thanks, >Luis >Multitech has Modems with Ethernet Interfaces. You just connect them to the Network and send a text oder sms via Telnet commands: >http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ We use SMS for our alerts, it is our primary mechanism. We send them out using the same Nagios command as the email alerts. To send alerts to ATT SMS addresses you send them as email from Nagios to 10-digit_phone_number at txt.att.net. HTH -greg ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 17:01:56 2008 From: marc at ena.com (Marc Powell) Date: Mon, 12 May 2008 10:01:56 -0500 Subject: Hostgroup definition In-Reply-To: <20080512143150.GI31694@cgi.jachomes.com> References: <20080512143150.GI31694@cgi.jachomes.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jay R. Ashworth > Sent: Monday, May 12, 2008 9:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hostgroup definition > > I know that lots of the documentation about how to configure Nagios's > cfg files is in transition from 2.x (where you mostly did it one way) > to 3.0 (where you mostly do it another way), but there's a point I'm > not clear on. I've not done the transition but there don't appear to be significant changes from 2.x to 3.x... > > It seems to me that it would be much easier to maintain if member > machines were placed in hostgroups *in each member machine's cfg file* > (cause yes, I'm using a separate file for each machine). You have been able to do that since 2.x. > This doesn't seem to be the way Nagios expects me to do it, and I don't > see that there's a way to do it this way; you appear to have to define > the hostgroup in some amorphous 'somewhere', and then add all the hosts > to it *there* (which means that there are two places you have to change > when you add a new host, which I'm not fond of). You do have to define the hostgroup but you don't have to specify members there. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup hostgroup_members: This _optional_ directive can be used to include hosts from other "sub" host groups in this host group. Specify a comma-delimited list of short names of other host groups whose members should be included in this group. (emphasis mine) http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host hostgroups: This directive is used to identify the short name(s) of the hostgroup(s) that the host belongs to. Multiple hostgroups should be separated by commas. This directive may be used as an alternative to (or in addition to) using the members directive in hostgroup definitions. -- marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon May 12 17:03:17 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 May 2008 17:03:17 +0200 Subject: Hostgroup definition In-Reply-To: <20080512143150.GI31694@cgi.jachomes.com> References: <20080512143150.GI31694@cgi.jachomes.com> Message-ID: <48285C35.6010206@op5.se> Jay R. Ashworth wrote: > I know that lots of the documentation about how to configure Nagios's > cfg files is in transition from 2.x (where you mostly did it one way) > to 3.0 (where you mostly do it another way), but there's a point I'm > not clear on. > > It seems to me that it would be much easier to maintain if member > machines were placed in hostgroups *in each member machine's cfg file* > (cause yes, I'm using a separate file for each machine). > You can do that. > This doesn't seem to be the way Nagios expects me to do it, and I don't > see that there's a way to do it this way; you appear to have to define > the hostgroup in some amorphous 'somewhere', and then add all the hosts > to it *there* (which means that there are two places you have to change > when you add a new host, which I'm not fond of). > Not really, no, but the hostgroup needs to be defined somewhere. When it is, you can do something like the following define host { use template_with_all_required_variables hostgroups hostgroup1,hostgroup2,hostgroup4,hostgroupn } -- 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Mon May 12 17:04:23 2008 From: tom at ng23.net (Tom Brown) Date: Mon, 12 May 2008 16:04:23 +0100 Subject: SMS and ATT with Nagios In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B20D5D@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B20D5D@wtps0171.amers.ibechtel.com> Message-ID: <48285C77.6030902@ng23.net> > > We use SMS for our alerts, it is our primary mechanism. We send them > out using the same Nagios command as the email alerts. To send alerts > to ATT SMS addresses you send them as email from Nagios to > 10-digit_phone_number at txt.att.net. > > providing your network is still abot to connect to the outside world ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Mon May 12 17:06:08 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Mon, 12 May 2008 08:06:08 -0700 Subject: SMS and ATT with Nagios In-Reply-To: <48285C77.6030902@ng23.net> References: <872CB0AEB377C240A112DD7C10B2592904B20D5D@wtps0171.amers.ibechtel.com> <48285C77.6030902@ng23.net> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20D5F@wtps0171.amers.ibechtel.com> Correct, it is good to have at least two ways out, modem and network. -----Original Message----- From: Tom Brown [mailto:tom at ng23.net] Sent: Monday, May 12, 2008 8:04 AM To: Frater, Greg J Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SMS and ATT with Nagios > > We use SMS for our alerts, it is our primary mechanism. We send them > out using the same Nagios command as the email alerts. To send alerts > to ATT SMS addresses you send them as email from Nagios to > 10-digit_phone_number at txt.att.net. > > providing your network is still abot to connect to the outside world ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon May 12 17:43:02 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 12 May 2008 11:43:02 -0400 Subject: Hostgroup definition In-Reply-To: References: <20080512143150.GI31694@cgi.jachomes.com> Message-ID: <20080512154302.GL31694@cgi.jachomes.com> On Mon, May 12, 2008 at 10:01:56AM -0500, Marc Powell wrote: > > I know that lots of the documentation about how to configure Nagios's > > cfg files is in transition from 2.x (where you mostly did it one way) > > to 3.0 (where you mostly do it another way), but there's a point I'm > > not clear on. > > I've not done the transition but there don't appear to be significant > changes from 2.x to 3.x... The entries themselves, no. But it did seem to me that the approach to which things go in what files -- as exemplified by the default sample configs -- changed a bit, no? Or do I just think that because the "segregate in cfg_dirs by type of object; everything in its own file" approach made more sense to me? > > It seems to me that it would be much easier to maintain if member > > machines were placed in hostgroups *in each member machine's cfg file* > > (cause yes, I'm using a separate file for each machine). > > You have been able to do that since 2.x. Yeah, so I found out; see my other reply. > You do have to define the hostgroup but you don't have to specify > members there. > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup > > hostgroup_members: This _optional_ directive can be used to include > hosts from other "sub" host groups in this host group. Specify a > comma-delimited list of short names of other host groups whose members > should be included in this group. I did see that, when I actually looked far enough. :-) For what it's worth, it doesn't *actually* say that if you are going to declare an object a member of a hostgroup, you *do* still actually have to *define* it somewhere, which it probably should. Certainly it's implied, but I'm not sure that's good enough, as complicated as Nagios is. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon May 12 17:46:34 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 12 May 2008 11:46:34 -0400 Subject: Hostgroup definition In-Reply-To: <48285C35.6010206@op5.se> References: <20080512143150.GI31694@cgi.jachomes.com> <48285C35.6010206@op5.se> Message-ID: <20080512154634.GA10735@cgi.jachomes.com> On Mon, May 12, 2008 at 05:03:17PM +0200, Andreas Ericsson wrote: > Not really, no, but the hostgroup needs to be defined somewhere. When it > is, you can do something like the following > > define host { > use template_with_all_required_variables > hostgroups hostgroup1,hostgroup2,hostgroup4,hostgroupn > } It doesn't cause any confusion, statistical or otherwise, to put a host in more than one group, does it? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 12 18:38:28 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 12 May 2008 08:38:28 -0800 Subject: Hostgroup definition In-Reply-To: <20080512154634.GA10735@cgi.jachomes.com> References: <20080512143150.GI31694@cgi.jachomes.com> <48285C35.6010206@op5.se> <20080512154634.GA10735@cgi.jachomes.com> Message-ID: On May 12, 2008, at 7:46 AM, Jay R. Ashworth wrote: > On Mon, May 12, 2008 at 05:03:17PM +0200, Andreas Ericsson wrote: >> Not really, no, but the hostgroup needs to be defined somewhere. >> When it >> is, you can do something like the following >> >> define host { >> use template_with_all_required_variables >> hostgroups hostgroup1,hostgroup2,hostgroup4,hostgroupn >> } > > It doesn't cause any confusion, statistical or otherwise, to put a > host > in more than one group, does it? Nope. I do this for pretty much all of my hosts, actually. For example, all printers are in a "Printer" host group, to associate services as well as group all printers together. Additionally, I have a host group for each location we have machines in, so a printer in Barrow would be in both the printer hostgroup (for the services) and the "Barrow" hostgroup (for the location). Makes it easy to find all the machines in barrow, as well as all the printers. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > Cheers, > -- jra > -- > Jay R. Ashworth Baylink jra at baylink.com > Designer The Things I > Think RFC 2100 > Ashworth & Associates http:// > baylink.pitas.com '87 e24 > St Petersburg FL USA http://photo.imageinc.us +1 > 727 647 1274 > > Those who cast the vote decide nothing. > Those who count the vote decide everything. > -- (Joseph Stalin) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai.tanasescu at airbites.ro Mon May 12 21:41:08 2008 From: mihai.tanasescu at airbites.ro (Mihai Tanasescu) Date: Mon, 12 May 2008 22:41:08 +0300 Subject: Ring topology parent/child relation Nagios In-Reply-To: References: Message-ID: <48289D54.8070804@airbites.ro> Mihai Tanasescu wrote: > > | I have some problems defining the parent/child relationships to reflect > | changes and monitoring on the map. > | > | My topology is something like this: > | > | Nagios machine --- Router A ---- Router B > | > | Router B --- Router C --- Router D --- Router E ---Router F --- Router B > | (ring closing itself) > | > | but on the Router B ring I can't define parent relationships in a > | circular way because nagios refuses to start when it detects this. > > The whole concept of a ring setup is that a single disaster can not > cause a network failure. For this setup I would only follow the ring > halfway. > > So you get 2 chains: > > Nagios --> A --> B --> C --> D > Nagios --> A --> B --> F --> E > > Make sure you monitor each neighbor on each ring router to make sure the > ring is working as expected. > > If you use dynamic routing you might want to monitor route changes > relevant for the proper operation of your ring setup. > > Hugo. > Hello Hugo, Thanks for the tip but I have one more question which refers to my current problem in fact. (I configured sms sending for down events). In case for example router B loses both its links to C and F (2 fibercuts on the network), then I will be getting SMSes stating that C,D,F,E are down. B in fact will not be down as a system but will be unable to reach the others. How could I solve this and avoid sending misleading sms messages regarding down events? Thanks, Mihai ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crop-circle.net Mon May 12 21:42:04 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Mon, 12 May 2008 15:42:04 -0400 Subject: is there a maximum length for performance data? Message-ID: Hello, I'm using Nagios 2.10 and the ndo2db add-on in a Gentoo environment, and I'm running into problems with the check_disk command, which I'm executing via NRPE. I suspect I may actually be hitting a limitation of the ndo2db add-on, though... In the Nagios config file for server1, I have: define service{ host_name server2,server1,server3 service_description disk usage check_command check_nrpe!check_disk use serviceTemplate } In the NRPE config file on server2, I have: command[check_disk]=/usr/nagios/libexec/check_disk -w 40% -c 20% In the database, the nagios_servicechecks table shows truncated perfdata for checks on server2. The "output" field is intact: DISK CRITICAL - free space: / 3806 MB (16% inode=93%): /dev 1005 MB (100% inode=98%): /home 85167 MB (77% inode=99%): /usr/portage 85167 MB (77% inode=99%): /dev/shm 1005 MB (100% inode=100%): However, the "perfdata" field is truncated: /=19666MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 / The database is set up to allow 255 characters for the "perfdata" field -- the above, truncated value is only 136 characters long. When I run the following command from server1's CLI, I get what I expect, without truncation: CLI: /usr/nagios/libexec/check_nrpe -H dev -c check_disk Result: DISK CRITICAL - free space: / 3804 MB (16% inode=93%); /dev 1005 MB (100% inode=98%); /home 85167 MB (77% inode=99%); /usr/portage 85167 MB (77% inode=99%); /dev/shm 1005 MB (100% inode=100%);| /=19667MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 /dev/shm=0MB;602;803;99;1004 The CLI result is 357 characters long. If you truncate it where the truncation occurs in the database, you end up with a string exactly 330 characters long. I wonder if that is some sort of magic number for the ndo2db add-on. I suspect that there isn't any such limitation in the check_disk or check_nrpe commands themselves, since the full output is displayed when called from the command line. I hope I didn't supply so much detail that nobody bothers to read this! Has anyone experienced something similar? -Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crop-circle.net Mon May 12 22:28:15 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Mon, 12 May 2008 16:28:15 -0400 Subject: is there a maximum length for performance data? In-Reply-To: References: Message-ID: I confirmed this 330 character limit on another server. However, I'm trying to determine whether the limit is being imposed by the ndo2db add-on or someplace else -- not that it matters, I guess... I'll probably just work around the limitation. I noticed that the perfdata is also truncated in this file: /var/nagios/status.log. I'm not sure where Nagios logs data though... Anyone? Thanks! -Frank On Mon, May 12, 2008 at 3:42 PM, Frank J. G?mez wrote: > Hello, > > I'm using Nagios 2.10 and the ndo2db add-on in a Gentoo environment, and > I'm running into problems with the check_disk command, which I'm executing > via NRPE. I suspect I may actually be hitting a limitation of the ndo2db > add-on, though... > > In the Nagios config file for server1, I have: > define service{ > host_name server2,server1,server3 > service_description disk usage > check_command check_nrpe!check_disk > use serviceTemplate > } > > In the NRPE config file on server2, I have: > command[check_disk]=/usr/nagios/libexec/check_disk -w 40% -c 20% > > In the database, the nagios_servicechecks table shows truncated perfdata > for checks on server2. > > The "output" field is intact: > DISK CRITICAL - free space: / 3806 MB (16% inode=93%): /dev 1005 MB (100% > inode=98%): /home 85167 MB (77% inode=99%): /usr/portage 85167 MB (77% > inode=99%): /dev/shm 1005 MB (100% inode=100%): > > However, the "perfdata" field is truncated: > /=19666MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 > /home=25220MB;66232;88309;98;110387 > /usr/portage=25220MB;66232;88309;98;110387 / > > The database is set up to allow 255 characters for the "perfdata" field -- > the above, truncated value is only 136 characters long. > > When I run the following command from server1's CLI, I get what I expect, > without truncation: > > CLI: > /usr/nagios/libexec/check_nrpe -H dev -c check_disk > > Result: > DISK CRITICAL - free space: / 3804 MB (16% inode=93%); /dev 1005 MB (100% > inode=98%); /home 85167 MB (77% inode=99%); /usr/portage 85167 MB (77% > inode=99%); /dev/shm 1005 MB (100% inode=100%);| > /=19667MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 > /home=25220MB;66232;88309;98;110387 > /usr/portage=25220MB;66232;88309;98;110387 /dev/shm=0MB;602;803;99;1004 > > The CLI result is 357 characters long. If you truncate it where the > truncation occurs in the database, you end up with a string exactly 330 > characters long. I wonder if that is some sort of magic number for the > ndo2db add-on. I suspect that there isn't any such limitation in the > check_disk or check_nrpe commands themselves, since the full output is > displayed when called from the command line. > > I hope I didn't supply so much detail that nobody bothers to read this! > Has anyone experienced something similar? > -Frank > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 22:35:06 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 12 May 2008 22:35:06 +0200 Subject: Ring topology parent/child relation Nagios In-Reply-To: <48289D54.8070804@airbites.ro> References: <48289D54.8070804@airbites.ro> Message-ID: <4828A9FA.10307@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mihai Tanasescu wrote: | Mihai Tanasescu wrote: |> | I have some problems defining the parent/child relationships to reflect |> | changes and monitoring on the map. |> | |> | My topology is something like this: |> | |> | Nagios machine --- Router A ---- Router B |> | |> | Router B --- Router C --- Router D --- Router E ---Router F --- Router B |> | (ring closing itself) |> | |> | but on the Router B ring I can't define parent relationships in a |> | circular way because nagios refuses to start when it detects this. |> |> The whole concept of a ring setup is that a single disaster can not |> cause a network failure. For this setup I would only follow the ring |> halfway. |> |> So you get 2 chains: |> |> Nagios --> A --> B --> C --> D |> Nagios --> A --> B --> F --> E |> |> Make sure you monitor each neighbor on each ring router to make sure the |> ring is working as expected. |> |> If you use dynamic routing you might want to monitor route changes |> relevant for the proper operation of your ring setup. | Thanks for the tip but I have one more question which refers to my | current problem in fact. (I configured sms sending for down events). | | In case for example router B loses both its links to C and F (2 | fibercuts on the network), then I will be getting SMSes stating that | C,D,F,E are down. | B in fact will not be down as a system but will be unable to reach the | others. | | How could I solve this and avoid sending misleading sms messages | regarding down events? This problem should not exist. Because if you cut the ring in 1 place all nodes can still be reached. So no router will go down. If you cut it in 2 places you loose part of the ring and only get alerts for the nodes directly on the other side of the cuts from your perspective. If you alert on unreachable as well then you get all the alerts you tried to get rid of by introducing the parent relation in the first place. So don't use them. You need an additional means of detecting your first cut in the ring as all routers can still be reached at that time and you will never know you had a problem unless you alert on the actual link conditions. Now getting the link condition to Nagios is something you need to work out. Due to the lack of details it will be hard to help you there at the moment. But considere the links to be the vital services for the host. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIKKn4BvzDRVjxmYERAqs5AKCQVpx9YEJtti6ghzB6f70MKRsMWwCgmJk5 MYJnCshGVZeHPXVYT2w3JrU= =Y46N -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon May 12 22:52:49 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 12 May 2008 16:52:49 -0400 Subject: Build problem with NRPE on Slack 10.2 Message-ID: <20080512205248.GN11105@cgi.jachomes.com> I'm rolling Nagios out onto the rest of my server, most of which are running Slack 10 or 12. Since I don't have packages for Slack, and am not inclined to learn how to build them (I have three other package managers to learn, thanks :-), I'm source building, and while NRPE built fine on this 10.2 box, the plugins themselves are failing the make with this error: if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -\ then mv -f ".deps/netutils.Tpo" ".deps/netutils.Po"; else rm -f ".deps/i /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib - gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/appl/doo /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function `dlfcn_loa: : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function `dlfcn_loa: : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function `dlfcn_loa: : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function `dlfcn_bi: : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function `dlfcn_bi: : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function `dlfcn_bi: : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function `dlfcn_bi: : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50b): In function `dlfcn_un: : undefined reference to `dlclose' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/appl/downloads/nagios-plugins-1.4.11/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/appl/downloads/nagios-plugins-1.4.11' make: *** [all] Error 2 This appears to be a common build error, but no one ever answers when prople ask, that Google wants to tell me about. Is this a missing library? Wrong version? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mihai.tanasescu at airbites.ro Mon May 12 22:55:24 2008 From: mihai.tanasescu at airbites.ro (Mihai Tanasescu) Date: Mon, 12 May 2008 23:55:24 +0300 Subject: Ring topology parent/child relation Nagios In-Reply-To: <4828A9FA.10307@vanderkooij.org> References: <48289D54.8070804@airbites.ro> <4828A9FA.10307@vanderkooij.org> Message-ID: <4828AEBC.6020206@airbites.ro> > > This problem should not exist. Nagios --> Router A --> Router B uplink1+2 ring (and Router B is in a ring topology which closes in it) http://tinypic.com/view.php?pic=11uhx7a&s=3 (this is the logical layout) Yes. But if you cut the 2 uplinks from Router B, then the Nagios machine will see Router B as up but will not be able to reach any other router from the ring and will thus alert that all other routers are down (which is not true). I mean having split the ring into the 2 halves you suggested that: C has parent B, D has parent C, E has parent D G has parent B, F has parent G => B up but B uplinks to C and G down -> alerts that C and G are down although they aren't Can this be eliminated ? (I'm sure the solution should be simple and obvious but I'm not being as careful as I should to see it) Am I right ? P.S. Currently I am monitoring each link state (up/down) by using SNMP interface queries (on Cisco routers) and the hosts themselves with ping/icmp on loopback interfaces that are propagated throughout the network for reachability(OSPF). > > Because if you cut the ring in 1 place all nodes can still be reached. > So no router will go down. If you cut it in 2 places you loose part of > the ring and only get alerts for the nodes directly on the other side of > the cuts from your perspective. > > If you alert on unreachable as well then you get all the alerts you > tried to get rid of by introducing the parent relation in the first > place. So don't use them. > > You need an additional means of detecting your first cut in the ring as > all routers can still be reached at that time and you will never know > you had a problem unless you alert on the actual link conditions. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Mon May 12 22:56:00 2008 From: mirde at oppy.com (Mirza Dedic) Date: Mon, 12 May 2008 13:56:00 -0700 Subject: Monitoring your office's Coffee Machine? In-Reply-To: <4828AEBC.6020206@airbites.ro> References: <48289D54.8070804@airbites.ro> <4828A9FA.10307@vanderkooij.org> <4828AEBC.6020206@airbites.ro> Message-ID: Hello, I know, totally off topic but what if you really wanted to? I want to monitor our Coffee Machine to warn me when it is running low (so that I can go there & put a new coffee in for some fresssh coffee). Now I know it has nothing that Nagios can talk to; so my question does anyone know of a product you can attach to it that has network capabilities that Nagios can talk to? Lol Thanks! -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mihai Tanasescu Sent: May/12/2008 1:55 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Ring topology parent/child relation Nagios > > This problem should not exist. Nagios --> Router A --> Router B uplink1+2 ring (and Router B is in a ring topology which closes in it) http://tinypic.com/view.php?pic=11uhx7a&s=3 (this is the logical layout) Yes. But if you cut the 2 uplinks from Router B, then the Nagios machine will see Router B as up but will not be able to reach any other router from the ring and will thus alert that all other routers are down (which is not true). I mean having split the ring into the 2 halves you suggested that: C has parent B, D has parent C, E has parent D G has parent B, F has parent G => B up but B uplinks to C and G down -> alerts that C and G are down although they aren't Can this be eliminated ? (I'm sure the solution should be simple and obvious but I'm not being as careful as I should to see it) Am I right ? P.S. Currently I am monitoring each link state (up/down) by using SNMP interface queries (on Cisco routers) and the hosts themselves with ping/icmp on loopback interfaces that are propagated throughout the network for reachability(OSPF). > > Because if you cut the ring in 1 place all nodes can still be reached. > So no router will go down. If you cut it in 2 places you loose part of > the ring and only get alerts for the nodes directly on the other side of > the cuts from your perspective. > > If you alert on unreachable as well then you get all the alerts you > tried to get rid of by introducing the parent relation in the first > place. So don't use them. > > You need an additional means of detecting your first cut in the ring as > all routers can still be reached at that time and you will never know > you had a problem unless you alert on the actual link conditions. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Mon May 12 23:02:33 2008 From: mirde at oppy.com (Mirza Dedic) Date: Mon, 12 May 2008 14:02:33 -0700 Subject: FW: Monitoring your office's Coffee Machine? Message-ID: Hello, I know, totally off topic but what if you really wanted to? I want to monitor our Coffee Machine to warn me when it is running low (so that I can go there & put a new coffee in for some fresssh coffee). Now I know it has nothing that Nagios can talk to; so my question does anyone know of a product you can attach to it that has network capabilities that Nagios can talk to? Lol Thanks! -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mihai Tanasescu Sent: May/12/2008 1:55 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Ring topology parent/child relation Nagios > > This problem should not exist. Nagios --> Router A --> Router B uplink1+2 ring (and Router B is in a ring topology which closes in it) http://tinypic.com/view.php?pic=11uhx7a&s=3 (this is the logical layout) Yes. But if you cut the 2 uplinks from Router B, then the Nagios machine will see Router B as up but will not be able to reach any other router from the ring and will thus alert that all other routers are down (which is not true). I mean having split the ring into the 2 halves you suggested that: C has parent B, D has parent C, E has parent D G has parent B, F has parent G => B up but B uplinks to C and G down -> alerts that C and G are down although they aren't Can this be eliminated ? (I'm sure the solution should be simple and obvious but I'm not being as careful as I should to see it) Am I right ? P.S. Currently I am monitoring each link state (up/down) by using SNMP interface queries (on Cisco routers) and the hosts themselves with ping/icmp on loopback interfaces that are propagated throughout the network for reachability(OSPF). > > Because if you cut the ring in 1 place all nodes can still be reached. > So no router will go down. If you cut it in 2 places you loose part of > the ring and only get alerts for the nodes directly on the other side of > the cuts from your perspective. > > If you alert on unreachable as well then you get all the alerts you > tried to get rid of by introducing the parent relation in the first > place. So don't use them. > > You need an additional means of detecting your first cut in the ring as > all routers can still be reached at that time and you will never know > you had a problem unless you alert on the actual link conditions. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tblader at flambeau.com Mon May 12 23:15:52 2008 From: tblader at flambeau.com (tblader) Date: Mon, 12 May 2008 16:15:52 -0500 Subject: FW: Monitoring your office's Coffee Machine? In-Reply-To: References: Message-ID: <4828B388.4080300@flambeau.com> Mirza Dedic wrote: > anyone know of a product you can attach to it that has network capabilities that Nagios can talk to? Lol > > Thanks! http://tldp.org/HOWTO/Coffee.html -- Flambeau Inc. Technology Center - Baraboo, WI Email : tblader at flambeau.com Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 23:34:26 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 12 May 2008 23:34:26 +0200 Subject: Ring topology parent/child relation Nagios In-Reply-To: <4828AEBC.6020206@airbites.ro> References: <48289D54.8070804@airbites.ro> <4828A9FA.10307@vanderkooij.org> <4828AEBC.6020206@airbites.ro> Message-ID: <4828B7E2.4080905@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mihai Tanasescu wrote: |> This problem should not exist. | Nagios --> Router A --> Router B uplink1+2 ring (and Router B is in a | ring topology which closes in it) | | http://tinypic.com/view.php?pic=11uhx7a&s=3 (this is the logical layout) | | Yes. But if you cut the 2 uplinks from Router B, then the Nagios machine | will see Router B as up but will not be able to reach any other router | from the ring and will thus alert that all other routers are down (which | is not true). | I mean having split the ring into the 2 halves you suggested that: | C has parent B, D has parent C, E has parent D | G has parent B, F has parent G | => B up but B uplinks to C and G down -> alerts that C and G are down | although they aren't | | Can this be eliminated ? (I'm sure the solution should be simple and | obvious but I'm not being as careful as I should to see it) A ring config is a nightmare from the perspective of Nagios. The maths simply do not work. The whole parent concept does not work for a ring. The best you can do is some half way concept that will never show the proper state in all cases. Building a config to keep the amount of down reports to a minimum is not a simple thing. The key is to cut thing in half and make sure you get the timing right. Each node further away must wait longer to go from soft fail to hard fail state. The manual handdles that subject and it is mandatory to read it before you even try to use the parent feature. So either spend many hours in perfecting a model to get a half way there solution or accept the extra down reports and learn to interprete them as an exact way of telling where you ring did break up. There is no simple solution. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIKLfgBvzDRVjxmYERAsphAJ0R79rfSgtvCTNXwT0Iaxolv+2S3gCeO4fv Ut/6lXS+4+udsR2pUbMGY/o= =1Qrk -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at crop-circle.net Mon May 12 23:39:31 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Mon, 12 May 2008 17:39:31 -0400 Subject: is there a maximum length for performance data? In-Reply-To: References: Message-ID: I didn't see much info out there about a limit, but I did find this link, which (along with my findings in the status.log file) leads me to believe that the 330 character limit is imposed by Nagios per se, rather than the ndo2db add-on: http://tinyurl.com/4lpeog. I guess I'll be writing a less verbose check_disk plugin now... On Mon, May 12, 2008 at 4:28 PM, Frank J. G?mez wrote: > I confirmed this 330 character limit on another server. > > However, I'm trying to determine whether the limit is being imposed by the > ndo2db add-on or someplace else -- not that it matters, I guess... I'll > probably just work around the limitation. I noticed that the perfdata is > also truncated in this file: /var/nagios/status.log. I'm not sure where > Nagios logs data though... > > Anyone? > > Thanks! > -Frank > > > On Mon, May 12, 2008 at 3:42 PM, Frank J. G?mez > wrote: > > > Hello, > > > > I'm using Nagios 2.10 and the ndo2db add-on in a Gentoo environment, and > > I'm running into problems with the check_disk command, which I'm executing > > via NRPE. I suspect I may actually be hitting a limitation of the ndo2db > > add-on, though... > > > > In the Nagios config file for server1, I have: > > define service{ > > host_name server2,server1,server3 > > service_description disk usage > > check_command check_nrpe!check_disk > > use serviceTemplate > > } > > > > In the NRPE config file on server2, I have: > > command[check_disk]=/usr/nagios/libexec/check_disk -w 40% -c 20% > > > > In the database, the nagios_servicechecks table shows truncated perfdata > > for checks on server2. > > > > The "output" field is intact: > > DISK CRITICAL - free space: / 3806 MB (16% inode=93%): /dev 1005 MB > > (100% inode=98%): /home 85167 MB (77% inode=99%): /usr/portage 85167 MB (77% > > inode=99%): /dev/shm 1005 MB (100% inode=100%): > > > > However, the "perfdata" field is truncated: > > /=19666MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 > > /home=25220MB;66232;88309;98;110387 > > /usr/portage=25220MB;66232;88309;98;110387 / > > > > The database is set up to allow 255 characters for the "perfdata" field > > -- the above, truncated value is only 136 characters long. > > > > When I run the following command from server1's CLI, I get what I > > expect, without truncation: > > > > CLI: > > /usr/nagios/libexec/check_nrpe -H dev -c check_disk > > > > Result: > > DISK CRITICAL - free space: / 3804 MB (16% inode=93%); /dev 1005 MB > > (100% inode=98%); /home 85167 MB (77% inode=99%); /usr/portage 85167 MB (77% > > inode=99%); /dev/shm 1005 MB (100% inode=100%);| > > /=19667MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 > > /home=25220MB;66232;88309;98;110387 > > /usr/portage=25220MB;66232;88309;98;110387 /dev/shm=0MB;602;803;99;1004 > > > > The CLI result is 357 characters long. If you truncate it where the > > truncation occurs in the database, you end up with a string exactly 330 > > characters long. I wonder if that is some sort of magic number for the > > ndo2db add-on. I suspect that there isn't any such limitation in the > > check_disk or check_nrpe commands themselves, since the full output is > > displayed when called from the command line. > > > > I hope I didn't supply so much detail that nobody bothers to read this! > > Has anyone experienced something similar? > > -Frank > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Pallav.S.Gupta at relianceada.com Tue May 13 07:54:16 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Tue, 13 May 2008 11:24:16 +0530 Subject: Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush Message-ID: Dear List I am using nagios 3.0 with ndo utils 1.4b7 . my nagios event log is giving the following messege 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush. [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 items lost, 4050 queued items to flush. I am using same unix domain socket in ndomod.cfg AND ndo2db.cfg files.I am able to connect to the mysql database with the username and password as per mentioned in config file.also the table extension is nagios_ ( default ) Please help to rectify the error log. The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admitriev at mentora.com Tue May 13 08:17:26 2008 From: admitriev at mentora.com (Andrey Dmitriev) Date: Tue, 13 May 2008 02:17:26 -0400 Subject: rotate_ndo_log Message-ID: FYI, we have 266 hosts and 2744 services currently. This default setup didn't work very well for us with large volume of events affecting already overloaded mysql instance. Also it caused slight delays in Nagios restarts and processing as the process is syncronous - Nagios was waiting on event broker / db writes. So currently it's setup with a 'buffer' file in the middle of processing: ndomod records events into a flat file /usr/local/groundwork/nagios/var/ndo.dat every 15 minutes Nagios runs another event broker command, rotate_ndo_log, which moves data from the flat file above to Unix socket read by ndo2db: /gw/nagios/bin/file2sock -s /gw/nagios/var/ndo.dat -d /gw/nagios/var/ndo.sock -t unix && /bin/mv /gw/nagios/var/ndo.dat /gw/nagios/var/ndo.`date +%s` This works well and gives a slight performance boost, however, from time to time it seems rotate command doesn't execute properly and ndo.dat file does not get rotated. Then, when that happens, file grows and every rotate_ndo_log execution takes longer and longer, until it exceeds it's timeout in nagios. And at that point, normal processing can only be restored by hand. It is not much of a problem in short term however, as no data is actually lost - file2sock and rotationg may be done manually w/o the timeout. Any clue as to why rorate_ndo_log would not work as expected? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue May 13 10:06:19 2008 From: angeolivier2003 at yahoo.fr (Ange AMBEMOU) Date: Tue, 13 May 2008 08:06:19 +0000 (GMT) Subject: nagios + trap snmptt Message-ID: <148031.90771.qm@web26107.mail.ukl.yahoo.com> hello, i wan to know if is possible to have interface web to log a trap of snmptt. And see this in web interface of nagios. thanks for your help. __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicit?s http://mail.yahoo.fr Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeP at protronics.co.uk Tue May 13 10:41:26 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Tue, 13 May 2008 09:41:26 +0100 Subject: Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush References: Message-ID: <4DF7CF439F31164B96FC5D175CDF056E72061F@PRO001.protronics.co.uk> Which version of Linux are you running this on? I had an identical problem when I tried to migrate my Nagios server to Ubuntu 7.10. I've never managed to resolve the issue but moved back to 6.06 and everything was fine, so I presume was a problem with a newer version of one of the components on the server. Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pallav.S.Gupta at relianceada.com Sent: 13 May 2008 06:54 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush Importance: High Dear List I am using nagios 3.0 with ndo utils 1.4b7 . my nagios event log is giving the following messege 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush. [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 items lost, 4050 queued items to flush. I am using same unix domain socket in ndomod.cfg AND ndo2db.cfg files.I am able to connect to the mysql database with the username and password as per mentioned in config file.also the table extension is nagios_ ( default ) Please help to rectify the error log. The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 6675 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From secrookie at gmail.com Tue May 13 10:46:34 2008 From: secrookie at gmail.com (secrookie at gmail.com) Date: Tue, 13 May 2008 18:46:34 +1000 Subject: check for ddclient Message-ID: Has anyone come across a check for ddclient? Thax. regards, secrookie ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Pallav.S.Gupta at relianceada.com Tue May 13 11:01:06 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Tue, 13 May 2008 14:31:06 +0530 Subject: Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E72061F@PRO001.protronics.co.uk> References: <4DF7CF439F31164B96FC5D175CDF056E72061F@PRO001.protronics.co.uk> Message-ID: i am using Ubuntu 7.10.does this mean i need to downgrade my ubuntu ? "Joe Precious" Sent by: nagios-users-bounces at lists.sourceforge.net 05/13/2008 02:11 PM To cc Subject Re: [Nagios-users] Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush Which version of Linux are you running this on? I had an identical problem when I tried to migrate my Nagios server to Ubuntu 7.10. I?ve never managed to resolve the issue but moved back to 6.06 and everything was fine, so I presume was a problem with a newer version of one of the components on the server. Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pallav.S.Gupta at relianceada.com Sent: 13 May 2008 06:54 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush Importance: High Dear List I am using nagios 3.0 with ndo utils 1.4b7 . my nagios event log is giving the following messege 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush. [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 items lost, 4050 queued items to flush. I am using same unix domain socket in ndomod.cfg AND ndo2db.cfg files.I am able to connect to the mysql database with the username and password as per mentioned in config file.also the table extension is nagios_ ( default ) Please help to rectify the error log. The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeP at protronics.co.uk Tue May 13 12:10:34 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Tue, 13 May 2008 11:10:34 +0100 Subject: Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush References: Message-ID: <4DF7CF439F31164B96FC5D175CDF056E720620@PRO001.protronics.co.uk> I wasn?t able to get it working using Ubuntu 7.10. However, I?m by no means a Linux expert and didn?t spend a great deal of time before going back to 6.06. I haven?t tried the latest Ubuntu release so it may work fine with that. Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pallav.S.Gupta at relianceada.com Sent: 13 May 2008 10:01 To: Joe Precious Cc: nagios-users-bounces at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush i am using Ubuntu 7.10.does this mean i need to downgrade my ubuntu ? "Joe Precious" Sent by: nagios-users-bounces at lists.sourceforge.net 05/13/2008 02:11 PM To cc Subject Re: [Nagios-users] Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush Which version of Linux are you running this on? I had an identical problem when I tried to migrate my Nagios server to Ubuntu 7.10. I?ve never managed to resolve the issue but moved back to 6.06 and everything was fine, so I presume was a problem with a newer version of one of the components on the server. Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pallav.S.Gupta at relianceada.com Sent: 13 May 2008 06:54 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush Importance: High Dear List I am using nagios 3.0 with ndo utils 1.4b7 . my nagios event log is giving the following messege 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush. [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 items lost, 4050 queued items to flush. I am using same unix domain socket in ndomod.cfg AND ndo2db.cfg files.I am able to connect to the mysql database with the username and password as per mentioned in config file.also the table extension is nagios_ ( default ) Please help to rectify the error log. The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email.------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 6675 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at lubik.ca Tue May 13 14:19:31 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Tue, 13 May 2008 08:19:31 -0400 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: Julian Hein a ?crit : > Hi, > > Ugo Bellavance wrote on 09.05.08 16:10: > >> Terry a ?crit : >>> We just utilize sms and have a different ring profile for SMS >>> messages. The ring profile says that it will go nuts if it gets a >>> phone call or SMS message but all other notifications are off. I set >>> this before I go to bed. >> Ok, but we don't have a SMS gateway yet, we use e-mail to txt, so it >> costs money to receive txt messages this way, the blackberry data fees >> are already high, using it would cut the txt msg fees. >> >> I'm thinking about setting up an SMS gateway, though, any idea where to >> ask for info/ideas? > > Multitech has Modems with Ethernet Interfaces. You just connect them to the > Network and send a text oder sms via Telnet commands: > http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ > > If you can get a mobile phone plan with unlimited sms/text in Canada, you > can send as many txt as you can get through and build your own email2sms > gateway. Wow, thanks. Have you built one? Is there a Linux package that exist to send the telnet commands? Thanks, ugo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Tue May 13 14:24:00 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Tue, 13 May 2008 08:24:00 -0400 Subject: Custom Service Notification In-Reply-To: References: Message-ID: <48298861.131e640a.322b.fffff86c@mx.google.com> >From looking around some more, I'm getting mixed information about how these custom notifications should work. Some say that it is supposed to send the comments added in the email and some say that it isn't supposed to. Can anyone clarify this please? Thanks, _____ From: Victor Lanza [mailto:vicjalan at gmail.com] Sent: Wednesday, May 07, 2008 4:48 PM To: nagios-users at lists.sourceforge.net Subject: Custom Service Notification Hi All, I've seen a couple of brief comments about this feature not working properly in Nagios. I can't seem to get it to send the comment to the recepients, it just sends the normal critical message. Even if it is forced and broadcasted. Is really a flaw, or a config issue somewhere? I'm currently using Nagios 3.0 in a Fedora 8 server. -- Best Regards, Victor Lanza -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Tue May 13 15:06:15 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Tue, 13 May 2008 13:06:15 +0000 Subject: Disable checking but keep in OK state Message-ID: <327d6591526cd0942a07ea81e2b9aa60@smorg.co.uk> Hi, Is there a way to disable active service checks but keep the service in an OK state? I have a few application servers in a cluster that can have 1-4 services started on them, but which servers run on which servers is dynamic. I can disable checking and notifications from the server but then the service stays listed in an ERROR state, which is obviously not good for spotting service problems. Cheers Mark. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vanderleeden at logicunited.com Tue May 13 15:21:47 2008 From: vanderleeden at logicunited.com (Rudolf van der Leeden) Date: Tue, 13 May 2008 15:21:47 +0200 Subject: Nagios on Mac OSX 10.5 is consuming 100% CPU Message-ID: <1AA9E122-0FE7-4A6E-9C71-C967D9F71033@logicunited.com> Hi, I just built and installed Nagios 3.0.1 on Mac OSX 10.5 / Intel. In order to verify the installation I just put together a set of tiny configfiles with just 1 node and 1 service. Nagios works fine so far with one exeception: The nagios process with 2 threads is busy all the time (around 100% CPU). In nagios.cfg: sleep_time=10 (break for 10s if idle). Any ideas or explanations? Am I doing something wrong? Best regards, Rudolf van der Leeden Logic United GmbH, Germany PS. I've seen the same behaviour on OSX 10.4 with Nagios 3.0 Nagios 2.9 is OK and runs as expected. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Tue May 13 15:29:54 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Tue, 13 May 2008 13:29:54 +0000 Subject: Disable checking but keep in OK state In-Reply-To: <327d6591526cd0942a07ea81e2b9aa60@smorg.co.uk> References: <327d6591526cd0942a07ea81e2b9aa60@smorg.co.uk> Message-ID: > On Tue, 13 May 2008 08:11:35 -0500, Jim.Melin at co.hennepin.mn.us wrote: > Yes. Select the service check in question (provided that you have the > ability to submit commands and the like enabled), and you'll see teh > service > state information screen. Over on the right, under Service Commnds, > select "Disable active checks of this service" and then "submit passive > check > results for this service" and make up your own check output and > performance data. > > That will leave it green and happy until your turn active checking back > on. > > -J > This works great! Thanks for such a quick response. Cheers Mark. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue May 13 15:50:45 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 13 May 2008 14:50:45 +0100 Subject: Disable checking but keep in OK state In-Reply-To: References: <327d6591526cd0942a07ea81e2b9aa60@smorg.co.uk> Message-ID: <48299CB5.5070309@googlemail.com> Mark Clarkson wrote: >> On Tue, 13 May 2008 08:11:35 -0500, Jim.Melin at co.hennepin.mn.us wrote: >> Yes. Select the service check in question (provided that you have the >> ability to submit commands and the like enabled), and you'll see teh >> service >> state information screen. Over on the right, under Service Commnds, >> select "Disable active checks of this service" and then "submit passive >> check >> results for this service" and make up your own check output and >> performance data. >> >> That will leave it green and happy until your turn active checking back >> on. >> >> -J >> >> > > This works great! Thanks for such a quick response. > > Cheers > Mark. > If these services are dynamic, then how do you know which server to connect to, do you have them DNS aliased or something, or perhaps you just try all of the servers until you find one running and use that? Some possibilities: 1. If using DNS then put the dns alias as the hostname in the check so the check will always point to the right machine by following dns. 2. If you just try any of the servers, you could write a wrapper script to run the check against through all of them in sequence and to exit on the first working one, or return critical if none of them work. Just a stab in the dark given the limited info. Disabling service checks manually doesn't sound like a good idea if these services really are dynamic... you'd have to do this manually a lot? -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Tue May 13 16:16:06 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Tue, 13 May 2008 14:16:06 +0000 Subject: Disable checking but keep in OK state In-Reply-To: <48299CB5.5070309@googlemail.com> References: <327d6591526cd0942a07ea81e2b9aa60@smorg.co.uk> <48299CB5.5070309@googlemail.com> Message-ID: <62d20c555b91e6ad029d2be9608324c2@smorg.co.uk> On Tue, 13 May 2008 14:50:45 +0100, Hari Sekhon wrote: > If these services are dynamic, then how do you know which server to > connect to, do you have them DNS aliased or something, or perhaps you > just try all of the servers until you find one running and use that? Sorry, I didn't mean dynamic ip or dhcp. The ip addresses are fixed. > Just a stab in the dark given the limited info. Disabling service checks > manually doesn't sound like a good idea if these services really are > dynamic... you'd have to do this manually a lot? When the servers are initially started the administrator decides what services will run on each host and the load balancer figures out where those services are running somehow. The administrator runs startup scripts to start one or more [java] services on each machine. I plan to modify the scripts to remotely disable active service checks and send a passive check result. I'll be doing this using ssh. Sound sensible? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Tue May 13 16:15:52 2008 From: john.nagios at gmail.com (Nagios User) Date: Tue, 13 May 2008 10:15:52 -0400 Subject: Nagios 3.1 and RHEL 5.0 Message-ID: All, I am planning to upgrade my Centos 5.0 with nagios3.1 to RHEL5.0. Please let me know whether these two play well. Thanks, -john -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 13 16:16:11 2008 From: marc at ena.com (Marc Powell) Date: Tue, 13 May 2008 09:16:11 -0500 Subject: Custom Service Notification In-Reply-To: <48298861.131e640a.322b.fffff86c@mx.google.com> References: <48298861.131e640a.322b.fffff86c@mx.google.com> Message-ID: On 5/13/08 7:24 AM, "Victor Lanza" wrote: >> From looking around some more, I'm getting mixed information about how these > custom notifications should work. Some say that it is supposed to send the > comments added in the email and some say that it isn't supposed to. Can > anyone clarify this please? I don't use nagios-3 yet but again, my reading of the code is that it uses the normal notification command{} specified for the contacts. If your host/service notification command{} definitions use the $NOTIFICATIONCOMMENT$ macro, then the comment will be included in the e-mail. http://nagios.sourceforge.net/docs/3_0/macrolist.html#notificationcomment $NOTIFICATIONCOMMENT$ A string containing the comment that was entered by the notification author. If the $NOTIFICATIONTYPE$ macro is set to "DOWNTIMESTART" or "DOWNTIMEEND", this will be the comment entered by the user who scheduled downtime for the host or service. If the $NOTIFICATIONTYPE$ macro is "ACKNOWLEDGEMENT", this will be the comment entered by the user who acknowledged the host or service problem. **If the $NOTIFICATIONTYPE$ macro is "CUSTOM", this will be comment entered by the user who initated the custom host or service notification.** (emphasis mine) -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.yeo at utah.edu Tue May 13 16:17:32 2008 From: r.yeo at utah.edu (Robert Yeo) Date: Tue, 13 May 2008 08:17:32 -0600 Subject: Nagios on Mac OSX 10.5 is consuming 100% CPU In-Reply-To: <1AA9E122-0FE7-4A6E-9C71-C967D9F71033@logicunited.com> References: <1AA9E122-0FE7-4A6E-9C71-C967D9F71033@logicunited.com> Message-ID: Just a note that I have the same problem you describe. Nagios 2.10 runs perfectly, Nagios 3.0 or 3.0.1 run with 100% cpu on both both Intel and PPC hardware in either OSX 10.4 or 10.5. Any help with this would be appreciated. Rob Yeo University of Utah College of Fine Arts On 5/13/08 7:21 AM, "Rudolf van der Leeden" wrote: > Hi, > > I just built and installed Nagios 3.0.1 on Mac OSX 10.5 / Intel. > > In order to verify the installation I just put together a set of tiny > configfiles with just 1 node and 1 service. > Nagios works fine so far with one exeception: The nagios process > with 2 threads is busy all the time > (around 100% CPU). > In nagios.cfg: sleep_time=10 (break for 10s if idle). > > Any ideas or explanations? Am I doing something wrong? > > Best regards, > Rudolf van der Leeden > Logic United GmbH, Germany > > PS. I've seen the same behaviour on OSX 10.4 with Nagios 3.0 > Nagios 2.9 is OK and runs as expected. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 13 16:32:43 2008 From: marc at ena.com (Marc Powell) Date: Tue, 13 May 2008 09:32:43 -0500 Subject: Nagios 3.1 and RHEL 5.0 In-Reply-To: References: Message-ID: On 5/13/08 9:15 AM, "Nagios User" wrote: > All, > I am planning to upgrade my Centos 5.0 with nagios3.1 to RHEL5.0. Please let > me know whether these two play well. Why wouldn't they? CentOS and RHEL are 100% binary compatible (or very nearly so). The only thing that's different is the RedHat attributions. That's the significant draw to using it in the first place. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Tue May 13 16:33:38 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Tue, 13 May 2008 10:33:38 -0400 Subject: Custom Service Notification In-Reply-To: References: Message-ID: <4829a6c6.161e640a.1227.3c32@mx.google.com> Great, that's exactly what I was missing; I was unaware that it used the same normal notification commands. I was going nuts trying to figure where it would get such command and how I would even write one if it needed to be written. :) Thanks it worked. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, May 13, 2008 10:16 AM To: Victor Lanza; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Custom Service Notification On 5/13/08 7:24 AM, "Victor Lanza" wrote: >> From looking around some more, I'm getting mixed information about how these > custom notifications should work. Some say that it is supposed to send the > comments added in the email and some say that it isn't supposed to. Can > anyone clarify this please? I don't use nagios-3 yet but again, my reading of the code is that it uses the normal notification command{} specified for the contacts. If your host/service notification command{} definitions use the $NOTIFICATIONCOMMENT$ macro, then the comment will be included in the e-mail. http://nagios.sourceforge.net/docs/3_0/macrolist.html#notificationcomment $NOTIFICATIONCOMMENT$ A string containing the comment that was entered by the notification author. If the $NOTIFICATIONTYPE$ macro is set to "DOWNTIMESTART" or "DOWNTIMEEND", this will be the comment entered by the user who scheduled downtime for the host or service. If the $NOTIFICATIONTYPE$ macro is "ACKNOWLEDGEMENT", this will be the comment entered by the user who acknowledged the host or service problem. **If the $NOTIFICATIONTYPE$ macro is "CUSTOM", this will be comment entered by the user who initated the custom host or service notification.** (emphasis mine) -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Tue May 13 16:24:35 2008 From: jhein at netways.de (Julian Hein) Date: Tue, 13 May 2008 16:24:35 +0200 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: Hi, Ugo Bellavance wrote on 13.05.08 14:19: >> Multitech has Modems with Ethernet Interfaces. You just connect them to the >> Network and send a text oder sms via Telnet commands: >> http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ >> >> If you can get a mobile phone plan with unlimited sms/text in Canada, you >> can send as many txt as you can get through and build your own email2sms >> gateway. > > Wow, thanks. Have you built one? Is there a Linux package that exist > to send the telnet commands? No, we did not build a gateway, but we use smsservertools (http://smstools.meinemullemaus.de/) together with Nagios and Multitech Modems to send urgent notification on weekends. Works pretty good and we wrote a Nagios Plugin to monitor the Modem itself: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2607.html;d=1 Bye, Julian -- Julian Hein Managing Director NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-31 http://www.netways.de | jhein at netways.de ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue May 13 16:44:12 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 13 May 2008 15:44:12 +0100 Subject: Disable checking but keep in OK state In-Reply-To: <62d20c555b91e6ad029d2be9608324c2@smorg.co.uk> References: <327d6591526cd0942a07ea81e2b9aa60@smorg.co.uk> <48299CB5.5070309@googlemail.com> <62d20c555b91e6ad029d2be9608324c2@smorg.co.uk> Message-ID: <4829A93C.20500@googlemail.com> Mark Clarkson wrote: > On Tue, 13 May 2008 14:50:45 +0100, Hari Sekhon > wrote: > >> If these services are dynamic, then how do you know which server to >> connect to, do you have them DNS aliased or something, or perhaps you >> just try all of the servers until you find one running and use that? >> > > Sorry, I didn't mean dynamic ip or dhcp. The ip addresses are fixed. > > >> Just a stab in the dark given the limited info. Disabling service checks >> manually doesn't sound like a good idea if these services really are >> dynamic... you'd have to do this manually a lot? >> > > When the servers are initially started the administrator decides what > services will run on each host and the load balancer figures out > where those services are running somehow. > > The administrator runs startup scripts to start one or more [java] > services on each machine. > > I plan to modify the scripts to remotely disable active service checks > and send a passive check result. I'll be doing this using ssh. > > Sound sensible? > Yes that sounds fine. One question, have you considered testing the services through the load balancer since this is what the users will see? -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.clarkson at smorg.co.uk Tue May 13 16:50:12 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Tue, 13 May 2008 14:50:12 +0000 Subject: Disable checking but keep in OK state In-Reply-To: <4829A93C.20500@googlemail.com> References: <327d6591526cd0942a07ea81e2b9aa60@smorg.co.uk> <48299CB5.5070309@googlemail.com> <62d20c555b91e6ad029d2be9608324c2@smorg.co.uk> <4829A93C.20500@googlemail.com> Message-ID: <05520e42cf7c1f011a0e1b1dcaf9c3d5@smorg.co.uk> On Tue, 13 May 2008 15:44:12 +0100, Hari Sekhon wrote: > One question, have you considered testing the > services through the load balancer since this is what the users will see? No, I didn't (doh!), and it certainly would be a good idea to have the services checked through both routes. Thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Tue May 13 17:02:40 2008 From: john.nagios at gmail.com (Nagios User) Date: Tue, 13 May 2008 11:02:40 -0400 Subject: Nagios 3.1 and RHEL 5.0 In-Reply-To: References: Message-ID: Marc, Thanks for the info. Phil. Yep, I have to deal with some PHBs here. hehehe.... Thanks, -john On Tue, May 13, 2008 at 10:32 AM, Marc Powell wrote: > > > > On 5/13/08 9:15 AM, "Nagios User" wrote: > > > All, > > I am planning to upgrade my Centos 5.0 with nagios3.1 to RHEL5.0. Please > let > > me know whether these two play well. > > Why wouldn't they? CentOS and RHEL are 100% binary compatible (or very > nearly so). The only thing that's different is the RedHat attributions. > That's the significant draw to using it in the first place. > > -- > Marc > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kchr-list-nagios-users at rac.nu Tue May 13 17:37:39 2008 From: kchr-list-nagios-users at rac.nu (Kim Christensen) Date: Tue, 13 May 2008 17:37:39 +0200 Subject: Overriding interval_length for certain hosts/services Message-ID: <4829B5C3.7030505@rac.nu> Hey gang, Is it possible to override the default value of interval_length for certain hosts or services? I have a scenario where I need to check an HTTP service in shorter intervals than the other services, which now defaults to 60. Regards, Kim -- |_|O|_| Kim Christensen |_|_|O| Public key: http://rac.nu/kchr.asc |O|O|O| Web home: http://rac.nu -------------------------------------------------------- () ascii ribbon campain - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue May 13 18:10:55 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 13 May 2008 17:10:55 +0100 Subject: Overriding interval_length for certain hosts/services In-Reply-To: <4829B5C3.7030505@rac.nu> References: <4829B5C3.7030505@rac.nu> Message-ID: <4829BD8F.9040106@googlemail.com> Kim Christensen wrote: > Hey gang, > > Is it possible to override the default value of interval_length for > certain hosts or services? > > I have a scenario where I need to check an HTTP service in shorter > intervals than the other services, which now defaults to 60. > > Regards, > Kim > Of course, normal_check_interval and retry_check_interval check interval in each service definition block. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Tue May 13 19:20:26 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Tue, 13 May 2008 13:20:26 -0400 Subject: Forcing a Service State to Recovery Message-ID: <4829cdda.0735640a.76bb.1c96@mx.google.com> Hi all, Sorry for the lengthy email but is it possible to force a service or a host into an OK state manually? Basically what I have going on is, using the check_logfiles add-on I check several application logs for specific errors, however if an error is detected the service will go into a critical state and then on following check (if no errors are found) will issue an "OK" state. What I want is for Nagios to only issue a critical state and remain in this state. This will force someone to actually look at problem and not wait for it to automatically send a recovery alert. Once the log has been investigated, then the user should force the OK state. I've looked into the "Disable active checks of this service" as well as "Acknowledge this service problem" but I find that these 2 do not satisfy completely what I'm looking for. Disable active checks of this service - This keeps the service in a critical state but the downside is that it can only be done manually (I need the service to remain critical from the initial check). Also, this stops notifications from going out. Acknowledge this service problem - This also has to be done manually. Also, this does not keep the service in a critical state, upon the next service check; it will revert to an OK if no errors are found on the log since the last check). -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue May 13 19:33:56 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 13 May 2008 13:33:56 -0400 Subject: Forcing a Service State to Recovery In-Reply-To: <4829cdda.0735640a.76bb.1c96@mx.google.com> References: <4829cdda.0735640a.76bb.1c96@mx.google.com> Message-ID: <20080513173356.GD16307@cgi.jachomes.com> On Tue, May 13, 2008 at 01:20:26PM -0400, Victor Lanza wrote: > Basically what I have going on is, using the check_logfiles add-on I check > several application logs for specific errors, however if an error is > detected the service will go into a critical state and then on following > check (if no errors are found) will issue an ???OK??? state. What I want is for > Nagios to only issue a critical state and remain in this state. This will > force someone to actually look at problem and not wait for it to > automatically send a recovery alert. Once the log has been investigated, > then the user should force the OK state. I???ve looked into the ???Disable > active checks of this service??? as well as ???Acknowledge this service > problem??? but I find that these 2 do not satisfy completely what I???m looking > for. The problem you're really complaining about, as near as I can rephrase it, is that check_logfiles is level sensitive, and you want it to be edge sensitive -- instead of "logfile contains this string" being an error condition, you want "logfile just got this string added to it" to be a red trap, and for managers to be able to send the green trap manually. I think this is a failing in the design of c_l, or at least it not being designed for what you want -- which seems a reasonable thing to want -- but you could also view it as Nagios being iffy on handling trap type notices, as well, I suspect. Cheers -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From umuta at sabanciuniv.edu Tue May 13 20:33:37 2008 From: umuta at sabanciuniv.edu (Umut Arus) Date: Tue, 13 May 2008 21:33:37 +0300 Subject: How to do download speed control Message-ID: <4829DF01.8070909@sabanciuniv.edu> Hi, We have used nagios for two years. But I haven't found a plug-in to do control the internet download speed. Sometimes, download speed slows but I can not monitor that speed result. I want to download and test by putting a file to far away. Is there anyway to do this? Regards, ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Tue May 13 20:35:41 2008 From: michaele at capitalsafety.com (Michael Egan) Date: Tue, 13 May 2008 12:35:41 -0600 Subject: Changing the view of a screen Message-ID: <4BE6EDFB3C58E24887D56332993B03AF053FDCD2@VS2.EXCHPROD.USA.NET> I would like to change the order in which my host groups appear in the Service Overview for All Host Groups page. It looks like the default is alphabetical order. Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Melin at co.hennepin.mn.us Tue May 13 20:51:24 2008 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Tue, 13 May 2008 13:51:24 -0500 Subject: Forcing a Service State to Recovery In-Reply-To: <20080513173356.GD16307@cgi.jachomes.com> References: <20080513173356.GD16307@cgi.jachomes.com> Message-ID: Here's my 2 cents worth. nagios-users-bounces at lists.sourceforge.net wrote on 05/13/2008 12:33:56 PM: > On Tue, May 13, 2008 at 01:20:26PM -0400, Victor Lanza wrote: > > Basically what I have going on is, using the check_logfiles > add-on I check > > several application logs for specific errors, however if an error is > > detected the service will go into a critical state and then on following > > check (if no errors are found) will issue an ???OK??? state. > What I want is for > > Nagios to only issue a critical state and remain in this state.This will > > force someone to actually look at problem and not wait for it to > > automatically send a recovery alert. Once the log has been investigated, > > then the user should force the OK state. I???ve looked into the???Disable > > active checks of this service??? as well as ???Acknowledge this service > > problem??? but I find that these 2 do not satisfy completely > what I???m looking > > for. > > The problem you're really complaining about, as near as I can rephrase > it, is that check_logfiles is level sensitive, and you want it to be > edge sensitive -- instead of "logfile contains this string" being an > error condition, you want "logfile just got this string added to it" to > be a red trap, and for managers to be able to send the green trap > manually. > > I think this is a failing in the design of c_l, or at least it not > being designed for what you want -- which seems a reasonable thing to > want -- but you could also view it as Nagios being iffy on handling > trap type notices, as well, I suspect. perhaps a modified service check that has a list of error strings in a table (read from a config file) and if you match that, cut a record into an error state file along with an expiration time stamp that is more reasonable. So the service check file would have to look for unexpired error state records, and if it finds any, generate a critical alert until the expiration is there. Still checking the log file for the transient condition but adding a state preservation that meets your needs. (this provided that the source for check log is available) Just an idea.Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 13 21:01:57 2008 From: marc at ena.com (Marc Powell) Date: Tue, 13 May 2008 14:01:57 -0500 Subject: Changing the view of a screen In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF053FDCD2@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF053FDCD2@VS2.EXCHPROD.USA.NET> Message-ID: <9DA1B1E7-2BB6-48D8-93B1-F16A306823F7@ena.com> On May 13, 2008, at 1:35 PM, Michael Egan wrote: > I would like to change the order in which my host groups appear in > the Service Overview for All Host Groups page. It looks like the > default is alphabetical order. Alphabetical is all that's supported. You'd need to write the code for your new sorting algorithm in cgi/status.c and re-compile. Submission as a patch would probably be welcome. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue May 13 21:14:34 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 13 May 2008 15:14:34 -0400 Subject: Monitoring your office's Coffee Machine? In-Reply-To: References: <48289D54.8070804@airbites.ro> <4828A9FA.10307@vanderkooij.org> <4828AEBC.6020206@airbites.ro> Message-ID: <20080513191434.GE16307@cgi.jachomes.com> On Mon, May 12, 2008 at 01:56:00PM -0700, Mirza Dedic wrote: > I know, totally off topic but what if you really wanted to? I want to > monitor our Coffee Machine to warn me when it is running low (so that > I can go there & put a new coffee in for some fresssh coffee). It's not OT, but you shouldn't have piggy backed it. I would use either an optical sensor pointed through the pot position at about the 20% height level, or a strain gage scale under the entire coffeemaker, calibrated for the tare weight of the equipment. Remember that either approach will false-positive when people pick up the pot to pour coffee. Urns work better in this environment. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Tue May 13 21:19:32 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Tue, 13 May 2008 15:19:32 -0400 Subject: Forcing a Service State to Recovery In-Reply-To: References: Message-ID: <4829e9c5.131e640a.7ffd.4132@mx.google.com> Thank you and Jay for your responses. I think that both of you are focusing on the check_logfiles add-on which seems far too complicated for me to try to accomplish. Maybe I can do it with an event-handler? So that it works like this: Nagios finds an error and goes into a critical state and triggers the event handler to disable future checks (as this service is volatile) but still keep notifications enabled. This way the state remains critical and notifications keep going out until a user's action. The user can then acknowledge the error and manually enable active checks on the service (via the web interface) which in turn will go into an OK state (if no further errors are found of course). -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim.Melin at co.hennepin.mn.us Sent: Tuesday, May 13, 2008 2:51 PM To: nagios-users at lists.sourceforge.net; Jay R. Ashworth Subject: Re: [Nagios-users] Forcing a Service State to Recovery Here's my 2 cents worth. nagios-users-bounces at lists.sourceforge.net wrote on 05/13/2008 12:33:56 PM: > On Tue, May 13, 2008 at 01:20:26PM -0400, Victor Lanza wrote: > > Basically what I have going on is, using the check_logfiles > add-on I check > > several application logs for specific errors, however if an error is > > detected the service will go into a critical state and then on following > > check (if no errors are found) will issue an ???OK??? state. > What I want is for > > Nagios to only issue a critical state and remain in this state.This will > > force someone to actually look at problem and not wait for it to > > automatically send a recovery alert. Once the log has been investigated, > > then the user should force the OK state. I???ve looked into the???Disable > > active checks of this service??? as well as ???Acknowledge this service > > problem??? but I find that these 2 do not satisfy completely > what I???m looking > > for. > > The problem you're really complaining about, as near as I can rephrase > it, is that check_logfiles is level sensitive, and you want it to be > edge sensitive -- instead of "logfile contains this string" being an > error condition, you want "logfile just got this string added to it" to > be a red trap, and for managers to be able to send the green trap > manually. > > I think this is a failing in the design of c_l, or at least it not > being designed for what you want -- which seems a reasonable thing to > want -- but you could also view it as Nagios being iffy on handling > trap type notices, as well, I suspect. perhaps a modified service check that has a list of error strings in a table (read from a config file) and if you match that, cut a record into an error state file along with an expiration time stamp that is more reasonable. So the service check file would have to look for unexpired error state records, and if it finds any, generate a critical alert until the expiration is there. Still checking the log file for the transient condition but adding a state preservation that meets your needs. (this provided that the source for check log is available) Just an idea.Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag at u.washington.edu Tue May 13 21:23:49 2008 From: markwag at u.washington.edu (Mark Wagner) Date: Tue, 13 May 2008 12:23:49 -0700 Subject: Way to replicate external commands to failover server? In-Reply-To: References: Message-ID: <20080513192349.GK10480@n-its-markwag2.mcis.washington.edu> On Mon, May 12, 2008 at 12:11:44PM -0700, nagios-users-request at lists.sourceforge.net wrote: > What has me a little concerned is that if someone went into the web > interface on the main server and say scheduled downtime or disabled > notifications, the backup server would never know about it. In the even > to failure people could find themselves getting alerts for a host that > should have been in scheduled downtime (or it was on the main server). > While I realize I would not want to capture and retransmit *all* > external commands to the backup host, if I could somehow get at them I > could filter them over to the backup host (i.e. "ignore most commands, > but pass a few like downtime or host notifications", etc). > Is there any mechanism that allows me to do this? As I understand it > the global host and service events really only capture check results -- > they're not going to fire if someone schedules downtime. I have the same dilemma. I don't think Nagios was designed for multiple web interface servers and anything you do to try to fix it may be too hackish (as you're about to see). I wonder how the Nagios-based commercial apps handle this. I have written a set of scripts that will scour the Nagios log files and relay selected commands to the backup. The set up is complicated and I'm starting to think it is the wrong way to go but I'll present it for you amusement. On the main server there is a cron job that runs every two minutes: */2 * * * * nagios /usr/lib64/nagios/plugins/relay_to_secondary The script basically does this: [ -f "/var/log/nagios/rw/stop_relay" ] && exit 0 /usr/lib64/nagios/plugins/relay_commands \ --start=/var/log/nagios/rw/last_relayed \ --update-start The file /var/log/nagios/rw/last_relayed keeps track of the location in the log file(s) of the last line checked for relaying. The "--update-start" option updates /var/log/nagios/rw/last_relayed with the last line checked this run. The "relay_commands" script is attached at the end of this message. It parses the log files for (a configurable set of) commands to relay to the backup and then ssh's (with passwordless keys) to the backup and cat's these commands to the nagios external command pipe. Under normal operation everything is OK. However, if the main or backup servers go down there is additional work besides enabling/disabling notifications that needs to be done in the event handler. When the backup goes down you don't want to relay commands so the event handler on the main will create the /var/log/nagios/rw/stop_relay file. When the backup comes back you want to start relaying commands so the event handler on the main will delete /var/log/nagios/rw/stop_relay. When the main goes down the event handler on the backup gets the last line in the log file and writes it to a file . When the main comes back the event handler on the backup relays the commands back to the main using the file as the starting point. But wait, there's more! I would like to relay acks/comments and their deletion as well. However, the "delete comment" command takes an ID number. If your comments are not exactly synchronized then the wrong one will be deleted. -- Mark Wagner System Administrator, UW Medicine IT Services 206-616-6119 -------------- next part -------------- #!/usr/bin/perl -w # Relay commands to another nagios host use strict; use POSIX qw(strftime); use Getopt::Long; my $DEBUG = 0; my $COMMAND_FILE = '/var/log/nagios/rw/nagios.cmd'; my @NAGIOS_LOG_FILES = ( strftime('/var/log/nagios/archives/nagios-%m-%d-%Y-00.log', localtime), '/var/log/nagios/nagios.log', ); my %CMD_TYPES_TO_RELAY = ( 'ACKNOWLEDGE_HOST_PROBLEM' => 1, 'ACKNOWLEDGE_SVC_PROBLEM' => 1, 'ADD_HOST_COMMENT' => 1, 'ADD_SVC_COMMENT' => 1, 'DELAY_HOST_NOTIFICATION' => 1, 'DELAY_SVC_NOTIFICATION' => 1, 'DEL_ALL_HOST_COMMENTS' => 1, 'DEL_ALL_SVC_COMMENTS' => 1, 'DEL_HOST_COMMENT' => 1, 'DEL_HOST_DOWNTIME' => 1, 'DEL_SVC_COMMENT' => 1, 'DEL_SVC_DOWNTIME' => 1, 'DISABLE_ALL_NOTIFICATIONS_BEYOND_HOST' => 1, 'DISABLE_CONTACTGROUP_HOST_NOTIFICATIONS' => 1, 'DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS' => 1, 'DISABLE_CONTACT_HOST_NOTIFICATIONS' => 1, 'DISABLE_CONTACT_SVC_NOTIFICATIONS' => 1, 'DISABLE_HOSTGROUP_HOST_CHECKS' => 1, 'DISABLE_HOSTGROUP_HOST_NOTIFICATIONS' => 1, 'DISABLE_HOSTGROUP_PASSIVE_HOST_CHECKS' => 1, 'DISABLE_HOSTGROUP_PASSIVE_SVC_CHECKS' => 1, 'DISABLE_HOSTGROUP_SVC_CHECKS' => 1, 'DISABLE_HOSTGROUP_SVC_NOTIFICATIONS' => 1, 'DISABLE_HOST_AND_CHILD_NOTIFICATIONS' => 1, 'DISABLE_HOST_CHECK' => 1, 'DISABLE_HOST_NOTIFICATIONS' => 1, 'DISABLE_HOST_SVC_CHECKS' => 1, 'DISABLE_HOST_SVC_NOTIFICATIONS' => 1, 'DISABLE_NOTIFICATIONS' => 1, 'DISABLE_PASSIVE_HOST_CHECKS' => 1, 'DISABLE_PASSIVE_SVC_CHECKS' => 1, 'DISABLE_SERVICEGROUP_HOST_CHECKS' => 1, 'DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS' => 1, 'DISABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS' => 1, 'DISABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS' => 1, 'DISABLE_SERVICEGROUP_SVC_CHECKS' => 1, 'DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS' => 1, 'DISABLE_SVC_CHECK' => 1, 'DISABLE_SVC_NOTIFICATIONS' => 1, 'ENABLE_ALL_NOTIFICATIONS_BEYOND_HOST' => 1, 'ENABLE_CONTACTGROUP_HOST_NOTIFICATIONS' => 1, 'ENABLE_CONTACTGROUP_SVC_NOTIFICATIONS' => 1, 'ENABLE_CONTACT_HOST_NOTIFICATIONS' => 1, 'ENABLE_CONTACT_SVC_NOTIFICATIONS' => 1, 'ENABLE_HOSTGROUP_HOST_CHECKS' => 1, 'ENABLE_HOSTGROUP_HOST_NOTIFICATIONS' => 1, 'ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS' => 1, 'ENABLE_HOSTGROUP_PASSIVE_SVC_CHECKS' => 1, 'ENABLE_HOSTGROUP_SVC_CHECKS' => 1, 'ENABLE_HOSTGROUP_SVC_NOTIFICATIONS' => 1, 'ENABLE_HOST_AND_CHILD_NOTIFICATIONS' => 1, 'ENABLE_HOST_CHECK' => 1, 'ENABLE_HOST_NOTIFICATIONS' => 1, 'ENABLE_HOST_SVC_CHECKS' => 1, 'ENABLE_HOST_SVC_NOTIFICATIONS' => 1, 'ENABLE_NOTIFICATIONS' => 1, 'ENABLE_PASSIVE_HOST_CHECKS' => 1, 'ENABLE_PASSIVE_SVC_CHECKS' => 1, 'ENABLE_SERVICEGROUP_HOST_CHECKS' => 1, 'ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS' => 1, 'ENABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS' => 1, 'ENABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS' => 1, 'ENABLE_SERVICEGROUP_SVC_CHECKS' => 1, 'ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS' => 1, 'ENABLE_SVC_CHECK' => 1, 'ENABLE_SVC_NOTIFICATIONS' => 1, 'REMOVE_HOST_ACKNOWLEDGEMENT' => 1, 'REMOVE_SVC_ACKNOWLEDGEMENT' => 1, 'SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME' => 1, 'SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME' => 1, 'SCHEDULE_FORCED_HOST_CHECK' => 1, 'SCHEDULE_FORCED_HOST_SVC_CHECKS' => 1, 'SCHEDULE_FORCED_SVC_CHECK' => 1, 'SCHEDULE_HOSTGROUP_HOST_DOWNTIME' => 1, 'SCHEDULE_HOSTGROUP_SVC_DOWNTIME' => 1, 'SCHEDULE_HOST_CHECK' => 1, 'SCHEDULE_HOST_DOWNTIME' => 1, 'SCHEDULE_HOST_SVC_CHECKS' => 1, 'SCHEDULE_HOST_SVC_DOWNTIME' => 1, 'SCHEDULE_SERVICEGROUP_HOST_DOWNTIME' => 1, 'SCHEDULE_SERVICEGROUP_SVC_DOWNTIME' => 1, 'SCHEDULE_SVC_CHECK' => 1, 'SCHEDULE_SVC_DOWNTIME' => 1, 'SEND_CUSTOM_HOST_NOTIFICATION' => 1, 'SEND_CUSTOM_SVC_NOTIFICATION' => 1, 'SET_HOST_NOTIFICATION_NUMBER' => 1, 'SET_SVC_NOTIFICATION_NUMBER' => 1, 'START_EXECUTING_HOST_CHECKS' => 1, 'START_EXECUTING_SVC_CHECKS' => 1, 'STOP_ACCEPTING_PASSIVE_HOST_CHECKS' => 1, 'STOP_ACCEPTING_PASSIVE_SVC_CHECKS' => 1, 'STOP_EXECUTING_HOST_CHECKS' => 1, 'STOP_EXECUTING_SVC_CHECKS' => 1, ); sub usage; sub main; sub get_range; sub get_cmds; sub send_cmds; sub update_start_file; ### ### Main ### exit main(); sub usage { print < [ --end= ] [ --update-start ] --start= = start getting commands from line listed in --end= = stop getting commands from line listed in (otherwise go to end of log) --update-start = update the start file the last line read = the nagios host to which commands are sent (set up ssh keys first) USAGE } sub main { my $start_file; my $end_file; my $update_start_file = 0; if (!GetOptions( 'start=s' => \$start_file, 'end=s' => \$end_file, 'update-start' => \$update_start_file, )) { usage(); return 1; } if (!defined $start_file) { print "The option --start= is required\n"; usage(); return 1; } if (@ARGV != 1) { print "Exactly one non-option argument required\n"; usage(); return 1; } my $nagios_host = $ARGV[0]; my $range = get_range($start_file, $end_file); defined $range or return 1; my ($cmds, $last_line) = get_cmds($range); defined $cmds or return 1; if (@{$cmds}) { send_cmds($cmds, $nagios_host) or return 1; } if ($update_start_file) { update_start_file($start_file, $last_line) or return 1; } 0; } ## ## Get range lines ## sub get_range { my @range_files = @_; my @range_lines; for (my $i = 0; $i < 2; $i++) { defined $range_files[$i] or next; if (-f $range_files[$i]) { if (!open RANGE_FILE, "< $range_files[$i]") { warn "## !open $range_files[$i]: $!\n"; return; } $range_lines[$i] = ; chomp $range_lines[$i]; close RANGE_FILE; $DEBUG and print "## $range_files[$i] = '$range_lines[$i]'\n"; } } \@range_lines; } ## ## Load lines from nagios log files. ## sub get_cmds { my $range_lines = shift; my $line; my @cmds; my $cmd; my $cmd_type; my $cmd_time; my $last_line; for my $nagios_log_file (@NAGIOS_LOG_FILES) { $DEBUG and print "## processing $nagios_log_file\n"; if (!open LOG, "< $nagios_log_file") { warn "## !open $nagios_log_file: $!\n"; return (undef, undef); } while (defined ($line = )) { chomp $line; $last_line = $line; if (defined $range_lines->[0] && $line eq $range_lines->[0]) { $DEBUG and print "## found start line: $. $line\n"; @cmds = (); } if (defined $range_lines->[1] && $line eq $range_lines->[1]) { $DEBUG and print "## found end line: $. $line\n"; last; } $line =~ /^(\[[0-9]+\]) EXTERNAL COMMAND: (([^;]+);.*)/ or next; ($cmd_time, $cmd, $cmd_type) = ($1, $2, $3); defined $CMD_TYPES_TO_RELAY{$cmd_type} or next; $DEBUG and print "## cmd $cmd\n"; push @cmds, "$cmd_time $cmd"; } close LOG; } if ($DEBUG) { for $cmd (@cmds) { print "## send cmd '$cmd'\n"; } print "## last line '$last_line'\n"; } (\@cmds, $last_line); } ## ## Send to remote nagios host ## sub send_cmds { my ($cmds, $nagios_host) = @_; if (!open REMOTE_NAGIOS_HOST, "| ssh -o BatchMode=yes -x $nagios_host 'cat > $COMMAND_FILE'") { warn "## !ssh $nagios_host: $!\n"; return; } for my $cmd (@{$cmds}) { print REMOTE_NAGIOS_HOST "$cmd\n"; } close REMOTE_NAGIOS_HOST; 1; } ## ## Update start file ## sub update_start_file { my ($start_file, $last_line) = @_; $DEBUG and print "## updating $start_file with '$last_line'\n"; if (!open START_FILE, "> $start_file") { warn "## !open $start_file: $!\n"; return; } print START_FILE "$last_line\n"; close START_FILE; return; } -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue May 13 21:24:16 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 13 May 2008 15:24:16 -0400 Subject: FW: Monitoring your office's Coffee Machine? In-Reply-To: <4828B388.4080300@flambeau.com> References: <4828B388.4080300@flambeau.com> Message-ID: <20080513192416.GF16307@cgi.jachomes.com> On Mon, May 12, 2008 at 04:15:52PM -0500, tblader wrote: > Mirza Dedic wrote: > > > anyone know of a product you can attach to it that has network > > capabilities that Nagios can talk to? Lol > > http://tldp.org/HOWTO/Coffee.html And let's not forget RFCs 2324 and 2325 Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 21:25:32 2008 From: jhorowitz at looksmart.net (Jonah Horowitz) Date: Tue, 13 May 2008 12:25:32 -0700 Subject: Monitoring your office's Coffee Machine? In-Reply-To: <20080513191434.GE16307@cgi.jachomes.com> References: <20080513191434.GE16307@cgi.jachomes.com> Message-ID: On 5/13/08 12:14 PM, "Jay R. Ashworth" wrote: > On Mon, May 12, 2008 at 01:56:00PM -0700, Mirza Dedic wrote: >> I know, totally off topic but what if you really wanted to? I want to >> monitor our Coffee Machine to warn me when it is running low (so that >> I can go there & put a new coffee in for some fresssh coffee). > > It's not OT, but you shouldn't have piggy backed it. > > I would use either an optical sensor pointed through the pot position > at about the 20% height level, or a strain gage scale under the entire > coffeemaker, calibrated for the tare weight of the equipment. > > Remember that either approach will false-positive when people pick up > the pot to pour coffee. > > Urns work better in this environment. > > Cheers, > -- jra These coffee makers (from BUNN) have a built in digital gauge to tell how much coffee is left in the pot. Perhaps you could hack that sensor to send SNMP (or NSCA) Alerts. http://www.bunnomatic.com/pages/commercl/1coffee/apstserv.html#ICB http://www.bunnomatic.com/pages/windows/1_5_TF_Bless_Serv_B_D.html http://www.bunnomatic.com/pdfs/commercial/specsheets/a35.pdf Now, if you get that to work, you should post a how-to. -- 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at lubik.ca Tue May 13 21:31:40 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Tue, 13 May 2008 15:31:40 -0400 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: Julian Hein a ?crit : > Hi, > > Ugo Bellavance wrote on 13.05.08 14:19: > >>> Multitech has Modems with Ethernet Interfaces. You just connect them to the >>> Network and send a text oder sms via Telnet commands: >>> http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ >>> >>> If you can get a mobile phone plan with unlimited sms/text in Canada, you >>> can send as many txt as you can get through and build your own email2sms >>> gateway. >> Wow, thanks. Have you built one? Is there a Linux package that exist >> to send the telnet commands? > > No, we did not build a gateway, but we use smsservertools > (http://smstools.meinemullemaus.de/) together with Nagios and Multitech > Modems to send urgent notification on weekends. Works pretty good and we > wrote a Nagios Plugin to monitor the Modem itself: > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2607.html;d=1 Excellent, I will set this up eventually. Thanks, ugo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue May 13 21:32:19 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 13 May 2008 15:32:19 -0400 Subject: How to do download speed control In-Reply-To: <4829DF01.8070909@sabanciuniv.edu> References: <4829DF01.8070909@sabanciuniv.edu> Message-ID: <20080513193219.GH16307@cgi.jachomes.com> On Tue, May 13, 2008 at 09:33:37PM +0300, Umut Arus wrote: > We have used nagios for two years. But I haven't found a plug-in to do > control the internet download speed. Sometimes, download speed slows but > I can not monitor that speed result. I want to download and test by > putting a file to far away. You don't want to *control* that speed, but to *monitor* it, correct? If you have a specific site you care about the speed to, then that's what you should test. If you just want to know "how fast the internet is today", then you will need to do some more specific scripting, I suspect. I would use wget to transfer some files in to you from remote servers, and pick the transfer speed out of the output it generates. You'll need a reasonably sized file to test with, and a selection of sites that will tell you something useful. The problem is really NP-hard to solve generally. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue May 13 21:36:51 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 13 May 2008 15:36:51 -0400 Subject: Monitoring your office's Coffee Machine? In-Reply-To: References: <20080513191434.GE16307@cgi.jachomes.com> Message-ID: <20080513193651.GI16307@cgi.jachomes.com> On Tue, May 13, 2008 at 12:25:32PM -0700, Jonah Horowitz wrote: > These coffee makers (from BUNN) have a built in digital gauge to tell how > much coffee is left in the pot. Perhaps you could hack that sensor to send > SNMP (or NSCA) Alerts. > > http://www.bunnomatic.com/pages/commercl/1coffee/apstserv.html#ICB > http://www.bunnomatic.com/pages/windows/1_5_TF_Bless_Serv_B_D.html > http://www.bunnomatic.com/pdfs/commercial/specsheets/a35.pdf > > Now, if you get that to work, you should post a how-to. And you *gotta* implement RFC 2325. :-) Cheers -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 13 20:34:23 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 13 May 2008 10:34:23 -0800 Subject: nagios + trap snmptt In-Reply-To: <148031.90771.qm@web26107.mail.ukl.yahoo.com> References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> Message-ID: <1F6B3C66-A67A-4786-ABC9-7A6DA865FDC5@frontierflying.com> On May 13, 2008, at 12:06 AM, Ange AMBEMOU wrote: > hello, > > i wan to know if is possible to have interface web to log a trap of > snmptt. And see this in web interface of nagios. thanks for your help. This might help: http://www.samag.com/documents/s=9559/sam0503g/ ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > __________________________________________________ > Do You Yahoo!? > En finir avec le spam? Yahoo! Mail vous offre la meilleure > protection possible contre les messages non sollicit?s > http://mail.yahoo.fr Yahoo! Mail > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Tue May 13 21:42:35 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Tue, 13 May 2008 16:42:35 -0300 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <48219B93.1090200@googlemail.com> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> <20080429164938.57530@gmx.net> <481761E5.9020309@googlemail.com> <20080430200037.40810@gmx.net> <4819BDDA.5030705@googlemail.com> <20080502170522.269170@gmx.net> <48219B93.1090200@googlemail.com> Message-ID: <20080513194235.GA302@hermes.freesoftware.org> On Wednesday, 07 May 2008 13:07:47 +0100, Hari Sekhon wrote: > Hi Daniel, Hi Hari! > Could you please try version 0.7.2 on nagiosexchange and let me know > how you get on. Sure! ##################### Initial state ####################### xenhost7:~# ./check_md_raid.pl.072 -vvv finding all MD arrays via: /sbin/mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 Now testing raid device "/dev/md0" /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun May 4 01:06:13 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.4 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Now testing raid device "/dev/md1" /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Tue May 13 14:17:18 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9846 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 Now testing raid device "/dev/md2" /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Sun May 4 02:31:57 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.10 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 RAID OK: All arrays OK [3 arrays checked] xenhost7:~# mdadm --detail /dev/md{0..2} /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun May 4 01:06:13 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.4 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Tue May 13 14:21:54 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9846 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Sun May 4 02:31:57 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.10 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 ##################### Removing /dev/sdb2 ####################### xenhost7:~# ./check_md_raid.pl.072 -vvv finding all MD arrays via: /sbin/mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 Now testing raid device "/dev/md0" /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun May 4 01:06:13 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.4 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Now testing raid device "/dev/md1" /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Tue May 13 14:42:58 2008 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9910 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 0 0 1 removed Now testing raid device "/dev/md2" /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Sun May 4 02:31:57 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.10 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 RAID CRITICAL: 1 array not ok - Array MD1 is in state "clean, degraded" (raid1) [3 arrays checked] xenhost7:~# mdadm --detail /dev/md{0..2} /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun May 4 01:06:13 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.4 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Tue May 13 14:41:50 2008 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.9900 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 0 0 1 removed /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Sun May 4 02:31:57 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.10 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 ##################### Adding /dev/sdb2 ####################### xenhost7:~# ./check_md_raid.pl.072 -vvv finding all MD arrays via: /sbin/mdadm --detail --scan found array /dev/md0 found array /dev/md1 found array /dev/md2 Now testing raid device "/dev/md0" /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun May 4 01:06:13 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.4 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 Now testing raid device "/dev/md1" /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Tue May 13 16:09:50 2008 State : clean, degraded, recovering Active Devices : 1 Working Devices : 2 Failed Devices : 0 Spare Devices : 1 Rebuild Status : 6% complete UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.10360 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 2 8 18 1 spare rebuilding /dev/sdb2 Now testing raid device "/dev/md2" /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Sun May 4 02:31:57 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.10 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 RAID WARNING: 1 array not ok - Array "MD1" is in state "clean, degraded, recovering" (raid1) - Rebuild Status : 6% complete [3 arrays checked] xenhost7:~# mdadm --detail /dev/md{0..2} /dev/md0: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:04 2008 Raid Level : raid1 Array Size : 979840 (957.04 MiB 1003.36 MB) Device Size : 979840 (957.04 MiB 1003.36 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun May 4 01:06:13 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 956ff562:7ba15903:6068b800:4a673998 Events : 0.4 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 /dev/md1: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:15 2008 Raid Level : raid1 Array Size : 19534976 (18.63 GiB 20.00 GB) Device Size : 19534976 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Tue May 13 16:11:29 2008 State : clean, degraded, recovering Active Devices : 1 Working Devices : 2 Failed Devices : 0 Spare Devices : 1 Rebuild Status : 43% complete UUID : 119bcdde:0ac351b2:d05e4382:e6def213 Events : 0.10378 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 2 8 18 1 spare rebuilding /dev/sdb2 /dev/md2: Version : 00.90.03 Creation Time : Thu Apr 10 17:46:25 2008 Raid Level : raid1 Array Size : 292053568 (278.52 GiB 299.06 GB) Device Size : 292053568 (278.52 GiB 299.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Sun May 4 02:31:57 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 8d954d13:82dabd5b:096fe691:7819c2d2 Events : 0.10 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 Perfect! Now it seems to works well. Was the problem related to the output of mdadm? Thanks for your reply and the new version of plugin! :-) Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lennt - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Tue May 13 21:51:10 2008 From: palleje at gmail.com (Palle L Jensen) Date: Tue, 13 May 2008 15:51:10 -0400 Subject: nagios reboot XP In-Reply-To: <4822E60D.3050808@googlemail.com> References: <004a01c8b070$95373c70$98ad38a6@na.dsmain.com> <4822E60D.3050808@googlemail.com> Message-ID: Sorry about the late response, been assigned other tasks here. Thanks for the replies. Getting back to Nagios and slowly getting a hang of this, I will try this. Thanks, PJ > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Sent: Thursday, May 08, 2008 7:38 AM > To: Palle L Jensen > Cc: 'Valdinger, Stephen (DOV, MSX)'; 'Anthony Montibello'; 'Jon Terry'; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios reboot XP > > Palle L Jensen wrote: > > > > I guess I should have been more specific, sorry about that. > > > > I am running Nagios 3.0.1 on openSUSE 10.3, and I am only monitoring > > windows hosts. On the windows hosts I am running NSClient++. That > > seems to work good and I would prefer not to change to any other client. > > > > I have read about the event handlers in the Nagios documentation, but > > the samples there only refers to nrpe and scripts on the server. I > > understand how to define the service in Nagios, but I am not sure how > > to create the script that executes the batch file on the windows host? > > Maybe I am not getting the point and understanding on the documentation. > > > > Lets say I created a batch file that will start or restart a service, > > this batch file is located in c:\NSclient++\scripts folder. And then > > defined the service and command in Nagios: > > > > define service{ > > host_name somehost > > service_description sql-service > > max_check_attempts 4 > > event_handler restart-sqlagent > > } > > > > define command{ > > command_name restart-sqlagent > > command_line what do I add here?? It has to be something that > can be sent to the Nsclient++/windows host and execute the batch script in > c:\NSclient++\scripts folder > > } > > > > The command line on the eventhandler documentation shows a path to a > > local script and local command "/etc/rc.d/init.d/httpd restart" > > > > So creating and event handler for services or others on the box where > > Nagios is running, I understand. But not how to do it remotely to a > > windows host. > > > > If you could shed some more light over this I would very much > > appreciate it. > > > > Thanks, > > > > PJ > > > You need a Unix-side script to execute and handle the condition > appropriately, for example to only call the restart when the service is > in hard failure. A sample Bash script is given in the docs to get you > started. > > If using Bash (which I recommend) the Bash script should check the state > and perform the logic control, calling the batch or script on the > windows side though an NRPE call to nsclient++ to execute the script on > the windows host. > > -h > > -- > Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag at u.washington.edu Wed May 14 02:54:17 2008 From: markwag at u.washington.edu (Mark Wagner) Date: Tue, 13 May 2008 17:54:17 -0700 Subject: Way to replicate external commands to failover server? In-Reply-To: <20080513192349.GK10480@n-its-markwag2.mcis.washington.edu> References: <20080513192349.GK10480@n-its-markwag2.mcis.washington.edu> Message-ID: <20080514005417.GO10480@n-its-markwag2.mcis.washington.edu> > On Mon, May 12, 2008 at 12:11:44PM -0700, nagios-users-request at lists.sourceforge.net wrote: > What has me a little concerned is that if someone went into the web > interface on the main server and say scheduled downtime or disabled > notifications, the backup server would never know about it. In the even > to failure people could find themselves getting alerts for a host that > should have been in scheduled downtime (or it was on the main server). > While I realize I would not want to capture and retransmit *all* > external commands to the backup host, if I could somehow get at them I > could filter them over to the backup host (i.e. "ignore most commands, > but pass a few like downtime or host notifications", etc). While I'm at it here are more wrinkles. Suppose your main and backup web servers are truly passive. What happens when somebody runs the SCHEDULE_FORCED_SVC_CHECK command from the web interface? Nothing, unless you relay this command to the Nagios box that actually does the checking (i.e. the collector). Now, you may not care about this. Perhaps you are thinking "I'll just set my retry_interval to 1 minute for everything" but now you have constrained yourself. We use Nagios to check SSL certs with a day-long interval for checking and retrying. In this case setting the retry interval to 1 min doesn't hurt but there will come a day when you have a service that requires a different retry_interval. Alternatively you can educate the ops people that some things in the web interface don't work (SCHEDULE_FORCED_SVC_CHECK). Educating ops is hard, especially when commands are presented that actually do nothing. What happens when Nagios is beating up a box and you want to DISABLE_HOST_SVC_CHECKS? Again, you'll need to relay this to the collector. Possibly you just tell the ops people to do these things through the web interface on the collector. I think that would lead to confusion. Assuming you have top-notch ops and they won't get confused you still have to run Apache on the collector and manage users on it now. In our simple redundant collector config there are at least two collectors checking each service. Now you have to do the above twice, after you have figured out which collectors are checking a service. >From considerations like these I don't think Nagios works well in a distributed config. It works "good enough" and for me the other features far outweigh these issues. I've been talking about 2.x. The 3.0 version may have solved these issues by making a distributed config something more than a hack. I envision adding the following to a host config stanza: web , collector , Then Nagios can figure out the details of synchronizing the information in itself. -- Mark Wagner System Administrator, UW Medicine IT Services 206-616-6119 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 08:01:05 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 14 May 2008 08:01:05 +0200 Subject: Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush In-Reply-To: References: Message-ID: <482A8021.7050208@googlemail.com> Hi Pallav. Pallav.S.Gupta at relianceada.com wrote: > 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may > get lost. 3829 queued items to flush. > > [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 > items lost, 4050 queued items to flush. Well, sure such an error is not nice, but since it reconnects in the same second and flushes the sink successfully, maybe it's not that "critical" after all. I assume, values do get written into the database, don't they? Do you use the 64-Bit version of Ubuntu 7.10? Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Davor.Grgicevic at osce.org Wed May 14 08:58:02 2008 From: Davor.Grgicevic at osce.org (Davor Grgicevic) Date: Wed, 14 May 2008 08:58:02 +0200 Subject: Help:ndomod: Error writing to data sink! Some outputmay get lost. 3829 queued items to flush In-Reply-To: References: Message-ID: <482AA99A.BBC6.00F7.0@osce.org> who is the owner of ndo.sock srwxrwxr-x 1 nagios nagios 0 May 1 16:21 ndo.sock davor >>> 5/13/2008 7:54 AM >>> Dear List I am using nagios 3.0 with ndo utils 1.4b7 . my nagios event log is giving the following messege 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush. [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 items lost, 4050 queued items to flush. I am using same unix domain socket in ndomod.cfg AND ndo2db.cfg files.I am able to connect to the mysql database with the username and password as per mentioned in config file.also the table extension is nagios_ ( default ) Please help to rectify the error log. The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Pallav.S.Gupta at relianceada.com Wed May 14 09:12:11 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 14 May 2008 12:42:11 +0530 Subject: Help:ndomod: Error writing to data sink! Some outputmay get lost. 3829 queued items to flush In-Reply-To: <482AA99A.BBC6.00F7.0@osce.org> References: <482AA99A.BBC6.00F7.0@osce.org> Message-ID: Hi Thanks for your input.its the same you specified ie nagios "Davor Grgicevic" Sent by: nagios-users-bounces at lists.sourceforge.net 05/14/2008 12:28 PM To nagios-users at lists.sourceforge.net, Pallav.S.Gupta at relianceada.com cc Subject Re: [Nagios-users] Help:ndomod: Error writing to data sink! Some outputmay get lost. 3829 queued items to flush who is the owner of ndo.sock srwxrwxr-x 1 nagios nagios 0 May 1 16:21 ndo.sock davor >>> 5/13/2008 7:54 AM >>> Dear List I am using nagios 3.0 with ndo utils 1.4b7 . my nagios event log is giving the following messege 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush. [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 items lost, 4050 queued items to flush. I am using same unix domain socket in ndomod.cfg AND ndo2db.cfg files.I am able to connect to the mysql database with the username and password as per mentioned in config file.also the table extension is nagios_ ( default ) Please help to rectify the error log. The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mikael.Schmidt at ixx.se Wed May 14 09:24:13 2008 From: Mikael.Schmidt at ixx.se (Mikael.Schmidt at ixx.se) Date: Wed, 14 May 2008 09:24:13 +0200 Subject: Flapping start/stop notifications sent out during scheduled downtime Message-ID: <521BF49E4CEA4949BDE74A567AC6E4007D9184EABB@IXXEX1.ixx.local> Hi, During periods of scheduled downtime of a host I am still getting notifications of flapping start/stop of the services of that particular host. Is there a way to make it so these doesn't get sent out? Removing the notification of flapping start/stop is not an alternative as I have to have this during normal operations. Kind regards, Mikael Schmidt IT-consultant, Security Specialist IXX IT-Partner AB Helsingborgsv 60, 262 72 ?ngelholm Tel: 0431 - 44 51 00 Fax: 0431 - 195 80 www.ixx.se -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Voigt at netkom.de Wed May 14 09:35:36 2008 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Wed, 14 May 2008 09:35:36 +0200 Subject: nagios + trap snmptt In-Reply-To: <148031.90771.qm@web26107.mail.ukl.yahoo.com> References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> Message-ID: <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> Hi, Ange AMBEMOU wrote: > i wan to know if is possible to have interface web to log a trap of snmptt. And see this in web interface of nagios. Let snmptt write the received traps into an database and you can use nagtrap (http://sourceforge.net/projects/nagtrap/) to visualize it. -- With kind regards Thomas Voigt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Karl.Yost at iqor.com Wed May 14 16:21:09 2008 From: Karl.Yost at iqor.com (Yost, Karl) Date: Wed, 14 May 2008 10:21:09 -0400 Subject: Monitoring HP EVA 5000 References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> Message-ID: <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> Is anyone monitoring an HP EVA 5000 with Nagios? I would like to be able to check the EVA for failed drives and send alerts if one is in a failed state. So far my only thought is to send snmp traps to Nagios for the event, but thought I would check if anyone was doing it differently first. Thanks, Karl Yost -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cfriesen at telenium.ca Wed May 14 16:27:46 2008 From: cfriesen at telenium.ca (chris friesen) Date: Wed, 14 May 2008 09:27:46 -0500 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> Message-ID: <482AF6E2.3080009@telenium.ca> The short version is that statusmap, history and trends.cgi aren't being installed. Yet, I received no error messages during the install of Nagios. Details: Slackware 9.1.0 is installed apache is installed gd-2.0.35 is installed perl, v5.8.0 I've can log into nagios and I can see everything else except these. I've googled my eyes out and I can't see the resolution... I've tried to re-do the ./configure and makes but too no avail. I also tried to copy these from a working version of Nagios but I got the error "Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi" - This was from a RedHat version... In my apache error_log I see the "script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi" any suggestions and advice please & thank you ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cfriesen at telenium.ca Wed May 14 16:37:17 2008 From: cfriesen at telenium.ca (chris friesen) Date: Wed, 14 May 2008 09:37:17 -0500 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: References: Message-ID: <482AF91D.7030605@telenium.ca> I had tried that. The problem is, during the installation(just a generic install no options) those 3 .cgi files aren't even being installed. Valdinger, Stephen (DOV, MSX) wrote: > Googled helped me first try.... > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > Stephen Valdinger > MIS Helpdesk Coordinator > 330.365.3622 -O > 740.491.0958 - C > svalding at doverchem.com > > > > > -----Original Message----- > From: chris friesen [mailto:cfriesen at telenium.ca] > Sent: Wednesday, May 14, 2008 10:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios 3.0.1 - installation quandry... > > > The short version is that statusmap, history and trends.cgi aren't being > > installed. Yet, I received no error messages during the install of > Nagios. > > Details: > Slackware 9.1.0 is installed > apache is installed > gd-2.0.35 is installed > perl, v5.8.0 > > > I've can log into nagios and I can see everything else except these. > I've googled my eyes out and I can't see the resolution... > > I've tried to re-do the ./configure and makes but too no avail. I also > tried to copy these from a working version of Nagios but I got the error > > "Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi" > - This was from a RedHat version... > > In my apache error_log I see the "script not found or unable to stat: > /usr/local/nagios/sbin/statusmap.cgi" > > > any suggestions and advice > > > please & thank you > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 17:00:57 2008 From: marc at ena.com (Marc Powell) Date: Wed, 14 May 2008 10:00:57 -0500 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: <482AF6E2.3080009@telenium.ca> References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> <482AF6E2.3080009@telenium.ca> Message-ID: On May 14, 2008, at 9:27 AM, chris friesen wrote: > > The short version is that statusmap, history and trends.cgi aren't > being > installed. Yet, I received no error messages during the install of > Nagios. Errors were likely shown during the ./configure phase. They would be helpful. > I've can log into nagios and I can see everything else except these. > I've googled my eyes out and I can't see the resolution... It's in the FAQ. > I've tried to re-do the ./configure and makes but too no avail. I > also > tried to copy these from a working version of Nagios but I got the > error > "Premature end of script headers: /usr/local/nagios/sbin/ > statusmap.cgi" > > - This was from a RedHat version... > > In my apache error_log I see the "script not found or unable to stat: > /usr/local/nagios/sbin/statusmap.cgi" Sounds like permissions on the file may be such that apache can't read/ execute it. If nagios didn't compile it in the first place, chances are high that you're missing required libraries, and their -devel equivalents, anyway. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Wed May 14 17:37:32 2008 From: john.nagios at gmail.com (Nagios User) Date: Wed, 14 May 2008 11:37:32 -0400 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: <482AF6E2.3080009@telenium.ca> References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> <482AF6E2.3080009@telenium.ca> Message-ID: Install gd-devel, libpng, libpng-devel and recompile it. -john On Wed, May 14, 2008 at 10:27 AM, chris friesen wrote: > > The short version is that statusmap, history and trends.cgi aren't being > installed. Yet, I received no error messages during the install of Nagios. > > Details: > Slackware 9.1.0 is installed > apache is installed > gd-2.0.35 is installed > perl, v5.8.0 > > > I've can log into nagios and I can see everything else except these. > I've googled my eyes out and I can't see the resolution... > > I've tried to re-do the ./configure and makes but too no avail. I also > tried to copy these from a working version of Nagios but I got the error > "Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi" > - This was from a RedHat version... > > In my apache error_log I see the "script not found or unable to stat: > /usr/local/nagios/sbin/statusmap.cgi" > > > any suggestions and advice > > > please & thank you > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cfriesen at telenium.ca Wed May 14 17:49:31 2008 From: cfriesen at telenium.ca (chris friesen) Date: Wed, 14 May 2008 10:49:31 -0500 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: References: Message-ID: <482B0A0B.2070702@telenium.ca> I have attached the config.log chris Valdinger, Stephen (DOV, MSX) wrote: > Could you post the output of your ./configure command? Thanks. Seems a > little fishy that it will not compile those in if you are sure > everything in that FAQ is OK. > > Stephen Valdinger > MIS Helpdesk Coordinator > 330.365.3622 -O > 740.491.0958 - C > svalding at doverchem.com > > > > > -----Original Message----- > From: chris friesen [mailto:cfriesen at telenium.ca] > Sent: Wednesday, May 14, 2008 10:37 AM > To: Valdinger, Stephen (DOV, MSX) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios 3.0.1 - installation quandry... > > I had tried that. The problem is, during the installation(just a > generic install no options) those 3 .cgi files aren't even being > installed. > > > Valdinger, Stephen (DOV, MSX) wrote: > >> Googled helped me first try.... >> http://www.nagios.org/faqs/viewfaq.php?faq_id=55 >> >> Stephen Valdinger >> MIS Helpdesk Coordinator >> 330.365.3622 -O >> 740.491.0958 - C >> svalding at doverchem.com >> >> >> >> >> -----Original Message----- >> From: chris friesen [mailto:cfriesen at telenium.ca] >> Sent: Wednesday, May 14, 2008 10:28 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] nagios 3.0.1 - installation quandry... >> >> >> The short version is that statusmap, history and trends.cgi aren't >> > being > >> installed. Yet, I received no error messages during the install of >> Nagios. >> >> Details: >> Slackware 9.1.0 is installed >> apache is installed >> gd-2.0.35 is installed >> perl, v5.8.0 >> >> >> I've can log into nagios and I can see everything else except these. >> I've googled my eyes out and I can't see the resolution... >> >> I've tried to re-do the ./configure and makes but too no avail. I >> > also > >> tried to copy these from a working version of Nagios but I got the >> > error > >> "Premature end of script headers: >> > /usr/local/nagios/sbin/statusmap.cgi" > >> - This was from a RedHat version... >> >> In my apache error_log I see the "script not found or unable to stat: >> /usr/local/nagios/sbin/statusmap.cgi" >> >> >> any suggestions and advice >> >> >> please & thank you >> >> >> >> > ------------------------------------------------------------------------ > >> - >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 embedded and charset-unspecified text was scrubbed... Name: config.log URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 18:10:55 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 14 May 2008 16:10:55 +0000 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: <482B0A0B.2070702@telenium.ca> References: <482B0A0B.2070702@telenium.ca> Message-ID: <93C487A372B3774CAEAA15D524CCF3D1228828F9CD@G1W0485.americas.hpqcorp.net> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of chris friesen > Sent: Wednesday, May 14, 2008 8:50 AM > To: Valdinger, Stephen (DOV, MSX) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios 3.0.1 - installation quandry... > > I have attached the config.log As mentioned in earlier responses, and as shown in the configure log, you do not have all of the correct development libraries installed. Please see the FAQ entry you were provided earlier for which you need to install to get this working: http://www.nagios.org/faqs/viewfaq.php?faq_id=55 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 14 18:18:15 2008 From: palleje at gmail.com (Palle L Jensen) Date: Wed, 14 May 2008 12:18:15 -0400 Subject: Nagiosgrapher showing different values over time Message-ID: <7AD84D6B9B3A4210835F5E7B7D7DA405@na.dsmain.com> I have noticed that in the graphs for ping and also Cpu load that the graphs are changing as you look at the different graphs. For example the ping daily/graph shows at 11:00 14ms, then when you look at the weekly/graph it shows for the same day and time only 10ms, if you look at the monthly it's gone down to 10.5 ms for the same day. Shouldn't it be consistent showing the same value on the daily/weekly, monthly and yearly graph if you are looking at the same day and time on all the different graphs? Does anyone have an explanation on this? The graphs for CPU is doing the same thing. However, it shows the same value on all graphs for the same time period except for the yearly, the yearly shows a much lower value. I have a attached 2 graphs, daily and weekly, on the daily around 11am it shows close to 14ms but on the weekly is shows at the same time only 10ms - shouldn't it be close to 14ms at the weekly as well? Hope I am explaining myself you understand what I mean. Can anyone explain or spread some lights over this? Thanks, Palle Plattform / openSUSE 10.3, Nagios 3.0.1 and Nagiosgrapher 1.6.1-rc5 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: lakdfs01_ping_2daily.png Type: image/png Size: 37456 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: lakdfs01_ping_3weekly.png Type: image/png Size: 43148 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Wed May 14 18:28:04 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Wed, 14 May 2008 12:28:04 -0400 Subject: nagios 3.0.1 - installation quandry... Message-ID: Haha, reading through the log I found this little tidbit to be humorous: configure: failed program was: | #ifndef __cplusplus | choke me | #endif Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, May 14, 2008 12:11 PM To: cfriesen at telenium.ca; Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios 3.0.1 - installation quandry... > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of chris friesen > Sent: Wednesday, May 14, 2008 8:50 AM > To: Valdinger, Stephen (DOV, MSX) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios 3.0.1 - installation quandry... > > I have attached the config.log As mentioned in earlier responses, and as shown in the configure log, you do not have all of the correct development libraries installed. Please see the FAQ entry you were provided earlier for which you need to install to get this working: http://www.nagios.org/faqs/viewfaq.php?faq_id=55 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cfriesen at telenium.ca Wed May 14 18:54:06 2008 From: cfriesen at telenium.ca (chris friesen) Date: Wed, 14 May 2008 11:54:06 -0500 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: <93C487A372B3774CAEAA15D524CCF3D1228828F9CD@G1W0485.americas.hpqcorp.net> References: <482B0A0B.2070702@telenium.ca> <93C487A372B3774CAEAA15D524CCF3D1228828F9CD@G1W0485.americas.hpqcorp.net> Message-ID: <482B192E.6060805@telenium.ca> Pardon, my flogging this dead horse... But I don't understand this very well. How do I tell from the logs which dev libraries aren't installed? Morris, Patrick wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of chris friesen >> Sent: Wednesday, May 14, 2008 8:50 AM >> To: Valdinger, Stephen (DOV, MSX) >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] nagios 3.0.1 - installation quandry... >> >> I have attached the config.log >> > > As mentioned in earlier responses, and as shown in the configure log, you do not have all of the correct development libraries installed. > > Please see the FAQ entry you were provided earlier for which you need to install to get this working: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Wed May 14 19:20:57 2008 From: john.nagios at gmail.com (Nagios User) Date: Wed, 14 May 2008 13:20:57 -0400 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: <482B192E.6060805@telenium.ca> References: <482B0A0B.2070702@telenium.ca> <93C487A372B3774CAEAA15D524CCF3D1228828F9CD@G1W0485.americas.hpqcorp.net> <482B192E.6060805@telenium.ca> Message-ID: If you are not sure install all of the following. - libgd - libgd-devel - libpng - libpng-devel - libjpeg - libjpeg-devel - zlib - zlib-devel Thanks, -john On Wed, May 14, 2008 at 12:54 PM, chris friesen wrote: > Pardon, my flogging this dead horse... But I don't understand this very > well. > > How do I tell from the logs which dev libraries aren't installed? > > Morris, Patrick wrote: > >> -----Original Message----- > >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > >> bounces at lists.sourceforge.net] On Behalf Of chris friesen > >> Sent: Wednesday, May 14, 2008 8:50 AM > >> To: Valdinger, Stephen (DOV, MSX) > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] nagios 3.0.1 - installation quandry... > >> > >> I have attached the config.log > >> > > > > As mentioned in earlier responses, and as shown in the configure log, you > do not have all of the correct development libraries installed. > > > > Please see the FAQ entry you were provided earlier for which you need to > install to get this working: > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 19:30:29 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 14 May 2008 10:30:29 -0700 Subject: Nagiosgrapher showing different values over time In-Reply-To: <7AD84D6B9B3A4210835F5E7B7D7DA405@na.dsmain.com> References: <7AD84D6B9B3A4210835F5E7B7D7DA405@na.dsmain.com> Message-ID: <20080514173029.GD30359@bakgwai.americas.hpqcorp.net> On Wed, 14 May 2008, Palle L Jensen wrote: > > I have noticed that in the graphs for ping and also Cpu load that the graphs are changing as you look at the different graphs. > For example the ping daily/graph shows at 11:00 14ms, then when you look at the weekly/graph it shows for the same day and time only 10ms, if you look at the monthly it?s gone down to 10.5 ms for the same day. Shouldn?t it be consistent showing the same value on the daily/weekly, monthly and yearly graph if you are looking at the same day and time on all the different graphs? Does anyone have an explanation on this? No, they should not be the same. Each graph shows an average over a different time period, depending on the scale of the graph. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 19:31:34 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 14 May 2008 10:31:34 -0700 Subject: nagios 3.0.1 - installation quandry... In-Reply-To: <482B192E.6060805@telenium.ca> References: <482B0A0B.2070702@telenium.ca> <93C487A372B3774CAEAA15D524CCF3D1228828F9CD@G1W0485.americas.hpqcorp.net> <482B192E.6060805@telenium.ca> Message-ID: <20080514173134.GE30359@bakgwai.americas.hpqcorp.net> Hi chris! On Wed, 14 May 2008, chris friesen wrote: > Pardon, my flogging this dead horse... But I don't understand this very > well. > > How do I tell from the logs which dev libraries aren't installed? > > Morris, Patrick wrote: > >> -----Original Message----- > >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > >> bounces at lists.sourceforge.net] On Behalf Of chris friesen > >> Sent: Wednesday, May 14, 2008 8:50 AM > >> To: Valdinger, Stephen (DOV, MSX) > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] nagios 3.0.1 - installation quandry... > >> > >> I have attached the config.log > >> > > > > As mentioned in earlier responses, and as shown in the configure log, you do not have all of the correct development libraries installed. > > > > Please see the FAQ entry you were provided earlier for which you need to install to get this working: > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 Don't depend on the logs. Make sure you have every dependency listed in the FAQ installed. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Wed May 14 20:24:53 2008 From: tom at ng23.net (Tom Brown) Date: Wed, 14 May 2008 19:24:53 +0100 Subject: nagios - mysql - ndoutils Message-ID: <482B2E75.7080202@ng23.net> I am looking at trying to get the nagios config into a mysql db as i am going to be running a cluster setup. I see that ndoutils will enable me to get the logs and events from nagios into a db but is there anything out there that will enable config to also be stored in a db ? thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 20:56:07 2008 From: marc at ena.com (Marc Powell) Date: Wed, 14 May 2008 13:56:07 -0500 Subject: nagios - mysql - ndoutils In-Reply-To: <482B2E75.7080202@ng23.net> References: <482B2E75.7080202@ng23.net> Message-ID: On May 14, 2008, at 1:24 PM, Tom Brown wrote: > I am looking at trying to get the nagios config into a mysql db as i > am > going to be running a cluster setup. > > I see that ndoutils will enable me to get the logs and events from > nagios into a db but is there anything out there that will enable > config > to also be stored in a db ? There are many external applications that allow you to store configurations in a database (Monarch, Fruity, others), but all of them must export the data to flat file for nagios. Nagios does not have any ability to read configuration information from a database. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 14 22:48:03 2008 From: palleje at gmail.com (Palle L Jensen) Date: Wed, 14 May 2008 16:48:03 -0400 Subject: Nagiosgrapher showing different values over time In-Reply-To: <20080514173029.GD30359@bakgwai.americas.hpqcorp.net> References: <7AD84D6B9B3A4210835F5E7B7D7DA405@na.dsmain.com> <20080514173029.GD30359@bakgwai.americas.hpqcorp.net> Message-ID: <9D20FCE292C74B7F9B1A247EAA76EEC5@na.dsmain.com> Thanks for you response. I understand, but The question I had is why are the peaks that are showing on the daily and weekly graphs not appearing on the monthly and yearly graphs? > -----Original Message----- > From: Patrick Morris [mailto:patrick.morris at hp.com] > Sent: Wednesday, May 14, 2008 1:30 PM > To: Palle L Jensen > Cc: Nagios Users > Subject: Re: [Nagios-users] Nagiosgrapher showing different values over > time > > On Wed, 14 May 2008, Palle L Jensen wrote: > > > > > I have noticed that in the graphs for ping and also Cpu load that the > graphs are changing as you look at the different graphs. > > For example the ping daily/graph shows at 11:00 14ms, then when you look > at the weekly/graph it shows for the same day and time only 10ms, if you > look at the monthly it?s gone down to 10.5 ms for the same day. Shouldn?t > it be consistent showing the same value on the daily/weekly, monthly and > yearly graph if you are looking at the same day and time on all the > different graphs? Does anyone have an explanation on this? > > No, they should not be the same. Each graph shows an average over a > different time period, depending on the scale of the graph. -------------- next part -------------- A non-text attachment was scrubbed... Name: lakdfs01_ping_4monthly.png Type: image/png Size: 38521 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: lakdfs01_ping_3weekly.png Type: image/png Size: 44745 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: lakdfs01_ping_2daily.png Type: image/png Size: 36892 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 14 22:54:11 2008 From: palleje at gmail.com (Palle L Jensen) Date: Wed, 14 May 2008 16:54:11 -0400 Subject: Nagiosgrapher showing different values over time References: <7AD84D6B9B3A4210835F5E7B7D7DA405@na.dsmain.com> <20080514173029.GD30359@bakgwai.americas.hpqcorp.net> Message-ID: Duh.. on the graph site if I set the Type to "Max Value" it will show the peaks on all graphs. Thanks for your help anyway. > -----Original Message----- > From: Palle L Jensen [mailto:palleje at gmail.com] > Sent: Wednesday, May 14, 2008 4:48 PM > To: 'Patrick Morris' > Cc: 'Nagios Users' > Subject: RE: [Nagios-users] Nagiosgrapher showing different values over > time > > Thanks for you response. I understand, but The question I had is why are > the peaks that are showing on the daily and weekly graphs not appearing on > the monthly and yearly graphs? > > > -----Original Message----- > > From: Patrick Morris [mailto:patrick.morris at hp.com] > > Sent: Wednesday, May 14, 2008 1:30 PM > > To: Palle L Jensen > > Cc: Nagios Users > > Subject: Re: [Nagios-users] Nagiosgrapher showing different values over > > time > > > > On Wed, 14 May 2008, Palle L Jensen wrote: > > > > > > > > I have noticed that in the graphs for ping and also Cpu load that the > > graphs are changing as you look at the different graphs. > > > For example the ping daily/graph shows at 11:00 14ms, then when you > look > > at the weekly/graph it shows for the same day and time only 10ms, if you > > look at the monthly it?s gone down to 10.5 ms for the same day. > Shouldn?t > > it be consistent showing the same value on the daily/weekly, monthly and > > yearly graph if you are looking at the same day and time on all the > > different graphs? Does anyone have an explanation on this? > > > > No, they should not be the same. Each graph shows an average over a > > different time period, depending on the scale of the graph. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.weaver at thenap.com Wed May 14 23:03:58 2008 From: drew.weaver at thenap.com (Drew Weaver) Date: Wed, 14 May 2008 17:03:58 -0400 Subject: Event handler Message-ID: Hi there, I created a very simple event handler just to 'see how it works' and I am having a slight problem perhaps someone can assist me... define command{ command_name host-status command_line /usr/bin/php /blah/host-status.php $HOSTSTATE$ $HOSTADDRESS$ } define command{ command_name service-status command_line /usr/bin/php /blah/service-status.php $SERVICESTATE$ $HOSTNAME$ $SERVICEDISPLAYNAME$ } If I su nagios and do /usr/bin/php /blah/service-status.php 1 2 3 it does actually work... (I thought maybe it was an ownership/permissions issue?) Host-status.php and service-status.php are simply files which are: (I'm just trying to learn..) define service { host_name blah service_description SMTP on blah display_name smtp check_command check_smtp max_check_attempts 5 check_interval 30 retry_interval 30 check_period 24x7 event_handler service-status event_handler_enabled 1 notification_interval 30 notification_period 24x7 } In the log I see: [1210798037] SERVICE EVENT HANDLER: blah:SMTP on blah;(null);(null);(null);service-status So it appears to be attempting to run the event-handler, although I don't believe it should be saying (null)(null)(null) and nothing is written to the output file which php should be writing to. Has anybody run into this before? Any advice would be tremendously helpful. Thank you, Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Wed May 14 23:06:14 2008 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Wed, 14 May 2008 16:06:14 -0500 Subject: Notifications via CDMA Message-ID: <87ve1g1tq1.wl%rand@meridian-enviro.com> I'm a Verizon customer in North Dakota (United States) and the only cell network available to us is CDMA. (Just in the last 6 months did we get EVDO.) Right now we use a modem and dial in to the IXO/TAP number for Verizon. This works, but I'm concerned about how long Verizon will maintain a IXO/TAP terminal. (And as a minor point, messages sent via the IXO/TAP terminal are counted as out of network messages by Verizon.) I've been looking around for a way of delivering notifications directly via a wireless modem. If we had GSM service it seems that this is a very easy thing: get smstools3 and one of any of a number of GSM modems. I was wondering if anybody had suggestions for accomplishing this with Verizon and their CDMA network. I've found the MultiTech CDMA MultiModem (MTCBA-C-N3-NAM) but no software to drive it. (We run Nagios on FreeBSD.) And from what I can tell you can't send messages on a CDMA network anywhere as easily as you can with GSM. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Wed May 14 23:07:02 2008 From: allanc at chickenandporn.com (Allan Clark) Date: Wed, 14 May 2008 17:07:02 -0400 Subject: nagios - mysql - ndoutils In-Reply-To: References: <482B2E75.7080202@ng23.net> Message-ID: <37c712e0805141407u78ac9b8bi5647ea85a898106a@mail.gmail.com> On Wed, May 14, 2008 at 2:56 PM, Marc Powell wrote: > > On May 14, 2008, at 1:24 PM, Tom Brown wrote: > > > I am looking at trying to get the nagios config into a mysql db as i > > am > > going to be running a cluster setup. > > > > I see that ndoutils will enable me to get the logs and events from > > nagios into a db but is there anything out there that will enable > > config > > to also be stored in a db ? > > There are many external applications that allow you to store > configurations in a database (Monarch, Fruity, others), but all of > them must export the data to flat file for nagios. Nagios does not > have any ability to read configuration information from a database. The ndomod/ndo2db seems to store a config there, but it's read still from flat files. I've previously posted a way to read hosts and services from LDAP in continuing work to allow Nagios to share config data with anything else (DNS, DHCP, etc) -- but I'm still looking for NEB-pertinent feedback. (http://tech.b.chickenandporn.com/2008/04/13/use-ldap-to-configure-nagios/) Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 23:31:02 2008 From: marc at ena.com (Marc Powell) Date: Wed, 14 May 2008 16:31:02 -0500 Subject: Nagiosgrapher showing different values over time In-Reply-To: <9D20FCE292C74B7F9B1A247EAA76EEC5@na.dsmain.com> References: <7AD84D6B9B3A4210835F5E7B7D7DA405@na.dsmain.com> <20080514173029.GD30359@bakgwai.americas.hpqcorp.net> <9D20FCE292C74B7F9B1A247EAA76EEC5@na.dsmain.com> Message-ID: <3340B2E4-57D6-4CDF-8ACC-7EC677A2538A@ena.com> On May 14, 2008, at 3:48 PM, Palle L Jensen wrote: > Thanks for you response. I understand, but The question I had is why > are the > peaks that are showing on the daily and weekly graphs not appearing > on the > monthly and yearly graphs? The RRD stores and graphs 1 point for every 5 minutes for the daily RRA. You see every data point on the graph, including the peaks. 1 10 20 5 6 8 ... Weekly RRA/graph shows 1 data point for every 30 minutes. The data must be normalized based on a Consolidation function. Typically that's Average so the above 5 minute intervals would result in a single data point of 8.33333 graphed and stored in the weekly RRA. 'Monthly' RRA/graph shows 1 data point for every 2 hours. The 30 minute data points above are once again averaged (or whatever the Consolidation function is) over the 2 hour interval and used to generate the monthly RRA and graph. 'Yearly' RRA/graph shows 1 data point for every day. The 2 hour intervals above are consolidated into one data point for the entire day. As you've discovered, there are other consolidation functions which are available but the RRD file must be told which will be used at creation time. Looks like the PNP guys included MAX for at least some of the RRA's. Alex Van Den Bogaerdt has written an excellent RRD Tutorial that covers this and much more at http://oss.oetiker.ch/RRDtool/tut/RRDtutorial.en.html . -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adevey at omniture.com Thu May 15 01:35:43 2008 From: adevey at omniture.com (Aaron Devey) Date: Wed, 14 May 2008 17:35:43 -0600 Subject: Event handler In-Reply-To: References: Message-ID: <482B774F.4080507@omniture.com> Drew Weaver wrote: > $a = $argv[0]; > $b = $argv[1]; > $c = $argv[2]; > $d = $argv[3]; > $handle = fopen(?output?, ?a+?); > $content = ?$a - $b - $c - $d\n?; > $go = fwrite($handle, ?$content?); > ?> You'll want to specify the full path to the 'output' file. Nagios won't necessarily call it from the same working directory that you used from the shell. -Aaron ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgh at tgharold.com Thu May 15 03:17:44 2008 From: tgh at tgharold.com (Thomas Harold) Date: Wed, 14 May 2008 21:17:44 -0400 Subject: FW: Monitoring your office's Coffee Machine? In-Reply-To: References: Message-ID: <482B8F38.6040706@tgharold.com> Mirza Dedic wrote: > Hello, > > I know, totally off topic but what if you really wanted to? I want to > monitor our Coffee Machine to warn me when it is running low (so that > I can go there & put a new coffee in for some fresssh coffee). > > Now I know it has nothing that Nagios can talk to; so my question > does anyone know of a product you can attach to it that has network > capabilities that Nagios can talk to? Lol > Well, there's always things like the WeatherDuck which hook to the serial port and support analog / digital sensors. Or their other products which are IP addressable and connect to analog / digital sensors. (There's 3 or 4 IP-addressable commercially developed monitoring devices out there.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgh at tgharold.com Thu May 15 03:24:18 2008 From: tgh at tgharold.com (Thomas Harold) Date: Wed, 14 May 2008 21:24:18 -0400 Subject: SMS and ATT with Nagios In-Reply-To: <48285C77.6030902@ng23.net> References: <872CB0AEB377C240A112DD7C10B2592904B20D5D@wtps0171.amers.ibechtel.com> <48285C77.6030902@ng23.net> Message-ID: <482B90C2.4050100@tgharold.com> Tom Brown wrote: >> We use SMS for our alerts, it is our primary mechanism. We send them >> out using the same Nagios command as the email alerts. To send alerts >> to ATT SMS addresses you send them as email from Nagios to >> 10-digit_phone_number at txt.att.net. >> > > providing your network is still abot to connect to the outside world Agreed. Our solution was to have a 2nd Nagios server offsite that doesn't do much more then monitor the ability of the main site to talk to the external world. It has a limited list of contacts. Of course, in our situation, if the public network interface is down... my cell phone is probably going to be ringing off the hook already. Getting Nagios alerts would be a bit extraneous in that situation. ... And for Verizon phones, the contact address is: #########@vtext.com Although it may be better to have your Verizon users create a "nickname" and use that instead (I think you then use: nickname at vtext.com). Verizon allows you to disable SMS unless they use your nickname identification. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgh at tgharold.com Thu May 15 03:40:13 2008 From: tgh at tgharold.com (Thomas Harold) Date: Wed, 14 May 2008 21:40:13 -0400 Subject: no max check attempts for host checking? In-Reply-To: <48247FFF.5070407@rooville.com> References: <48247FFF.5070407@rooville.com> Message-ID: <482B947D.8050201@tgharold.com> Mark Frost wrote: > Hello. I have something that's not working the way I'd expect. > > We are monitoring services on windows hosts and as is common practice, > not explicitly checking the host state. Wehn the host gets rebooted, I > expect that a service might fail, then Nagios would attempt a host > check. I would like the host check to not alert on a single ping > failure, but rather hold off for say 5 failures before it sends an > alert. The intent is to not get an alert if the box is just being > rebooted. > > I've set the following for my test host: > > max_check_attempts 10 > check_interval 0 > retry_interval 1 > active_checks_enabled no Do you really need to define check_interval at all? (We're using 2.11 though, and it is an optional parameter in that version and not recommended.) If you look at Host Alert History, you should see that Nagios is checking the host 10 times before it alerts. In our setup, this checking happens every 3 seconds until the 10 tries are up. Because it happens every 3 seconds (and I can't find where to change that at the moment in 2.11), the host only has to be down for 30 seconds before Nagios starts sending notifications. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 04:30:49 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 14 May 2008 22:30:49 -0400 Subject: Notifications via CDMA In-Reply-To: <87ve1g1tq1.wl%rand@meridian-enviro.com> References: <87ve1g1tq1.wl%rand@meridian-enviro.com> Message-ID: <482BA059.9010805@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/05/08 05:06 PM, Douglas K. Rand wrote: > I'm a Verizon customer in North Dakota (United States) and the only > cell network available to us is CDMA. (Just in the last 6 months did > we get EVDO.) > > Right now we use a modem and dial in to the IXO/TAP number for > Verizon. This works, but I'm concerned about how long Verizon will > maintain a IXO/TAP terminal. (And as a minor point, messages sent via > the IXO/TAP terminal are counted as out of network messages by > Verizon.) > > I've been looking around for a way of delivering notifications > directly via a wireless modem. If we had GSM service it seems that > this is a very easy thing: get smstools3 and one of any of a number of > GSM modems. > > I was wondering if anybody had suggestions for accomplishing this with > Verizon and their CDMA network. I've found the MultiTech CDMA > MultiModem (MTCBA-C-N3-NAM) but no software to drive it. (We run > Nagios on FreeBSD.) And from what I can tell you can't send messages > on a CDMA network anywhere as easily as you can with GSM. Can't you just send an email to some "special" address of your provider? Every phone I ever came across were able to receive SMS trough email, both in US and Canada. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIK6BZ6dZ+Kt5BchYRAhUqAJ9YzuHCZQVoVhzYu9WZu+edYZhHgwCgqZKv wLcgTzMkJotwk68/+H2hbgU= =JWLe -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 04:37:03 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 14 May 2008 22:37:03 -0400 Subject: no max check attempts for host checking? In-Reply-To: <48247FFF.5070407@rooville.com> References: <48247FFF.5070407@rooville.com> Message-ID: <482BA1CF.4040502@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/05/08 12:46 PM, Mark Frost wrote: > Hello. I have something that's not working the way I'd expect. > > We are monitoring services on windows hosts and as is common practice, > not explicitly checking the host state. Wehn the host gets rebooted, I > expect that a service might fail, then Nagios would attempt a host > check. I would like the host check to not alert on a single ping > failure, but rather hold off for say 5 failures before it sends an > alert. The intent is to not get an alert if the box is just being > rebooted. > > I've set the following for my test host: > > max_check_attempts 10 > check_interval 0 > retry_interval 1 > active_checks_enabled no > > > Our configuration is a distributed one so the distributed node has > obsession turned on, but the central node does not. > > When testing, we find that no matter what I set the max_check_attempts > to, an alert is sent on the first ping failure. > > Is there something I'm missing? No. Nagios 2.0 always treat passive host checks as HARD. Here's the answer from Ethan about this: http://osdir.com/ml/network.nagios.devel/2006-07/msg00009.html Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIK6HP6dZ+Kt5BchYRAjYXAJ9taoWEpXlRCO0+P/QTWguQNNQj1QCfSuou Za9UNSmJsONr+DcWmp7+Osg= =1SSx -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Thu May 15 05:50:17 2008 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Thu, 15 May 2008 13:50:17 +1000 Subject: Recommend graphing tools please Message-ID: <33ABD80B75296D43A316BFF5B0B52F5F010B00@SRV-QS-MAIL5.lands.nsw> What do people use for graphing? I am running NagVis and would like graphing to work with that as well. I have seen http://www.pnp4nagios.org/pnp/start for example. Any advice would be appreciated. *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Thu May 15 06:27:48 2008 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Wed, 14 May 2008 23:27:48 -0500 Subject: Notifications via CDMA In-Reply-To: <482BA059.9010805@aei.ca> References: <87ve1g1tq1.wl%rand@meridian-enviro.com> <482BA059.9010805@aei.ca> Message-ID: <87abisjinv.wl%rand@meridian-enviro.com> Doug> I've been looking around for a way of delivering notifications Doug> directly via a wireless [CDMA] modem. If we had GSM service it Doug> seems that this is a very easy thing: get smstools3 and one of Doug> any of a number of GSM modems. Thomas> Can't you just send an email to some "special" address of your Thomas> provider? Thomas> Every phone I ever came across were able to receive SMS trough Thomas> email, both in US and Canada. Well, that works great unless the notification I'm trying to send out is that my Internet service is down. Then I need an out of band means of sending the notification. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at willy.hu Thu May 15 08:05:37 2008 From: nagios at willy.hu (Kupor Laszlo) Date: Thu, 15 May 2008 08:05:37 +0200 (CEST) Subject: bug tracker Message-ID: Hello! I search public bug tracker of nagios over the internet, but found nothing. If i have a bug how to submit to developers? The problem: Switch my configuration from nagios 2.6 to 3.0.1. After some configuration changes nagios3 works good, but host dependencies check not work. (i use nagios on relative large tree like network and if host dependencies not works we get notification storm if any root or closer to root host died) If i not use inheritance (inherit_parent) host dependency works good(but the network dependency confuguration terrible), if i set inheritance after 2 or more level of dependency nagios checker get error: "Error: A circular notification dependency (which could result in a deadlock) exists for host XYZ" This configuration works good (and as is expected in nagios 2) How to submit this ?bug? to developers? Thanks! Udv.: Willy -- PGP GNUPG/1.0 ID = 5BFA0D36 Kupor Laszlo Attila Key fingerprint = 3F68 9483 5B65 8E2F CD30 5326 50F9 5A33 5BFA 0D36 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 15 10:39:32 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 15 May 2008 09:39:32 +0100 Subject: Overriding interval_length for certain hosts/services In-Reply-To: <4829B5C3.7030505@rac.nu> References: <4829B5C3.7030505@rac.nu> Message-ID: <482BF6C4.10301@googlemail.com> Kim Christensen wrote: > Hey gang, > > Is it possible to override the default value of interval_length for > certain hosts or services? > > I have a scenario where I need to check an HTTP service in shorter > intervals than the other services, which now defaults to 60. > > You mean you want to have checks run more frequently than every 60 seconds but since this is the interval_length you can only put 1 as the minimum in your service definitions. I changed my interval_length to 1 and then for each service specify it in seconds. This is the only way that I think you can get checks more frequent than once every 60 seconds. In my opinion this should have been 1 by default and all service check intervals should have been specified in seconds since it's not rocket science to use numbers that are like 60, 120 or 3600 for various checks remembering that those are 1min, 2mins and 1 hour respectively. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 15 13:07:40 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 15 May 2008 12:07:40 +0100 Subject: nagios - mysql - ndoutils In-Reply-To: <37c712e0805141407u78ac9b8bi5647ea85a898106a@mail.gmail.com> References: <482B2E75.7080202@ng23.net> <37c712e0805141407u78ac9b8bi5647ea85a898106a@mail.gmail.com> Message-ID: <482C197C.6050103@ng23.net> > > > There are many external applications that allow you to store > configurations in a database (Monarch, Fruity, others), but all of > them must export the data to flat file for nagios. Nagios does not > have any ability to read configuration information from a database. > > > The ndomod/ndo2db seems to store a config there, but it's read still > from flat files. > > I've previously posted a way to read hosts and services from LDAP in > continuing work to allow Nagios to share config data with anything > else (DNS, DHCP, etc) -- but I'm still looking for NEB-pertinent feedback. > (http://tech.b.chickenandporn.com/2008/04/13/use-ldap-to-configure-nagios/) yeap - now i have ndo running i see that the db is populated with the host info etc - what i wonder is how can that info be extracted and the flat files created again? I am trying to cover getting a master/slave setup going and the mysql side of things is covered but i am trying to figure out how to share the configuration without sharing disk. If that were somehow extractable from within the db then this would be ideal. -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 13:55:17 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 15 May 2008 07:55:17 -0400 Subject: Notifications via CDMA In-Reply-To: <87abisjinv.wl%rand@meridian-enviro.com> References: <87ve1g1tq1.wl%rand@meridian-enviro.com> <482BA059.9010805@aei.ca> <87abisjinv.wl%rand@meridian-enviro.com> Message-ID: <482C24A5.1060901@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/05/08 12:27 AM, Douglas K. Rand wrote: > Doug> I've been looking around for a way of delivering notifications > Doug> directly via a wireless [CDMA] modem. If we had GSM service it > Doug> seems that this is a very easy thing: get smstools3 and one of > Doug> any of a number of GSM modems. > > Thomas> Can't you just send an email to some "special" address of your > Thomas> provider? > > Thomas> Every phone I ever came across were able to receive SMS trough > Thomas> email, both in US and Canada. > > Well, that works great unless the notification I'm trying to send out > is that my Internet service is down. Then I need an out of band means > of sending the notification. Sure. If you can afford a second monitoring server in a different location that will do it though... I.e. monitoring your monitoring server. There's also many services that monitor your network from the outside world - they could be useful too. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFILCSl6dZ+Kt5BchYRAtVEAJ9erx2A4WSjBP+A2xcuvfpTCu2O3wCg6+s2 5pEEcD/2KXILgoolVjZH2es= =2sjH -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 14:17:50 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 15 May 2008 08:17:50 -0400 Subject: bug tracker In-Reply-To: References: Message-ID: <482C29EE.9050804@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/05/08 02:05 AM, Kupor Laszlo wrote: > Hello! > > I search public bug tracker of nagios over the internet, but found > nothing. > If i have a bug how to submit to developers? The only way to to send a mail to nagios-devel. Ethan go trough the list from time to time and address any issue reported there. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFILCnu6dZ+Kt5BchYRAut3AJ9QEsK7lelb7ya7+uofhG7ITytfcACfWdtp hcndkmfV9F0tU7VqefsLerc= =b15d -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios_pl at 1984.is Thu May 15 14:34:23 2008 From: nagios_pl at 1984.is (Mordur Ingolfsson) Date: Thu, 15 May 2008 12:34:23 +0000 Subject: check_debian_packages Message-ID: <482C2DCF.8090106@1984.is> Hi List, I have been having difficulty with running a Nagios plugin called check_debian_packages by way of nrpe with sudo. The plugin I'm having difficulties with needs to run "apt-get -s upgrade" on a Debian system, so root privileges are needed. I can run the plugin fine with sudo as user nagios, but nrpe using sudo always fails with permission denied, even if I give the nagios user full permissions for everything in /etc/sudoers. I would be grateful for any hints. Thanks, Mordur Ingolfsson System Administrator 1984 ehf ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 15 14:41:34 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 15 May 2008 13:41:34 +0100 Subject: check_debian_packages In-Reply-To: <482C2DCF.8090106@1984.is> References: <482C2DCF.8090106@1984.is> Message-ID: <482C2F7E.301@googlemail.com> Mordur Ingolfsson wrote: > Hi List, > > I have been having difficulty with running a Nagios plugin called > check_debian_packages by way of nrpe with sudo. > > The plugin I'm having difficulties with needs to run "apt-get -s > upgrade" on a Debian system, so root privileges are needed. I can run > the plugin fine with sudo as user nagios, but nrpe using sudo always > fails with permission denied, even if I give the nagios user full > permissions for everything in /etc/sudoers. > > I would be grateful for any hints Use check_apt instead it doesn't need root privs. Best to avoid using root privs if you don't need to. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Thu May 15 14:51:41 2008 From: palleje at gmail.com (Palle L Jensen) Date: Thu, 15 May 2008 08:51:41 -0400 Subject: Nagiosgrapher showing different values over time In-Reply-To: <3340B2E4-57D6-4CDF-8ACC-7EC677A2538A@ena.com> References: <7AD84D6B9B3A4210835F5E7B7D7DA405@na.dsmain.com><20080514173029.GD30359@bakgwai.americas.hpqcorp.net><9D20FCE292C74B7F9B1A247EAA76EEC5@na.dsmain.com> <3340B2E4-57D6-4CDF-8ACC-7EC677A2538A@ena.com> Message-ID: <48F5DDCB4BF740268D837E2B904845E1@na.dsmain.com> Thanks Marc, very good explanation. The link http://oss.oetiker.ch/rrdtool/tut/index.en.html was good stuff too. Thanks, Palle > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Wednesday, May 14, 2008 5:31 PM > To: Nagios Users > Subject: Re: [Nagios-users] Nagiosgrapher showing different values over > time > > > On May 14, 2008, at 3:48 PM, Palle L Jensen wrote: > > > Thanks for you response. I understand, but The question I had is why > > are the > > peaks that are showing on the daily and weekly graphs not appearing > > on the > > monthly and yearly graphs? > > The RRD stores and graphs 1 point for every 5 minutes for the daily > RRA. You see every data point on the graph, including the peaks. > > 1 10 20 5 6 8 ... > > Weekly RRA/graph shows 1 data point for every 30 minutes. The data > must be normalized based on a Consolidation function. Typically that's > Average so the above 5 minute intervals would result in a single data > point of 8.33333 graphed and stored in the weekly RRA. > > 'Monthly' RRA/graph shows 1 data point for every 2 hours. The 30 > minute data points above are once again averaged (or whatever the > Consolidation function is) over the 2 hour interval and used to > generate the monthly RRA and graph. > > 'Yearly' RRA/graph shows 1 data point for every day. The 2 hour > intervals above are consolidated into one data point for the entire day. > > As you've discovered, there are other consolidation functions which > are available but the RRD file must be told which will be used at > creation time. Looks like the PNP guys included MAX for at least some > of the RRA's. > > Alex Van Den Bogaerdt has written an excellent RRD Tutorial that > covers this and much more at > http://oss.oetiker.ch/RRDtool/tut/RRDtutorial.en.html > . > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Thu May 15 15:08:58 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 15 May 2008 22:08:58 +0900 Subject: Are there any plugins calculate the percentage of the traffic rate? Message-ID: <200805151308.AA02189@S2005110.jp.fujitsu.com> TO : ALL Hello, I'm searching for a nagios plugin that calculates the percentage for the traffic rate of an interface. For example, if the traffic statistic is 1000000 bit and the interface is Gigabyte, I'm searching for a plugin that ouputs like "Traffic usage is 0.01 %" Are there any plugin that can satisfy this? Thanks! Yu Watanabe ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludovic.Cesar at fedasil.be Thu May 15 15:15:25 2008 From: Ludovic.Cesar at fedasil.be (Ludovic Cesar) Date: Thu, 15 May 2008 15:15:25 +0200 Subject: RE Are there any plugins calculate the percentage ofthe traffic rate? In-Reply-To: <200805151308.AA02189@S2005110.jp.fujitsu.com> References: <200805151308.AA02189@S2005110.jp.fujitsu.com> Message-ID: Hi, See here: http://nagios.manubulon.com/snmp_int.html But i down know if it's possible to have a result in percent. Ludo Yu Watanabe Envoy? par : nagios-users-bounces at lists.sourceforge.net 15/05/2008 15:08 A nagios-users at lists.sourceforge.net cc Objet [Nagios-users] Are there any plugins calculate the percentage ofthe traffic rate? TO : ALL Hello, I'm searching for a nagios plugin that calculates the percentage for the traffic rate of an interface. For example, if the traffic statistic is 1000000 bit and the interface is Gigabyte, I'm searching for a plugin that ouputs like "Traffic usage is 0.01 %" Are there any plugin that can satisfy this? Thanks! Yu Watanabe ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu May 15 15:38:08 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 15 May 2008 08:38:08 -0500 Subject: Service Groups In-Reply-To: References: <200805151308.AA02189@S2005110.jp.fujitsu.com> Message-ID: I have been beating my head on this and I have no brain cells left. I am trying to add service groups and I am not having any success. After I edit what I think I need then run the pre-flight check, I always get a error that the "service_groups" are not defined. Can anyone shed some light on this and maybe a example on how it should be. Thanks, Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andyford at agedwards.com Thu May 15 16:12:30 2008 From: andyford at agedwards.com (Ford, Andy) Date: Thu, 15 May 2008 09:12:30 -0500 Subject: Are there any plugins calculate the percentage ofthe traffic rate? In-Reply-To: <200805151308.AA02189@S2005110.jp.fujitsu.com> References: <200805151308.AA02189@S2005110.jp.fujitsu.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F234@hqemhopn1.home.corp.agedwards.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Yu Watanabe > Sent: Thursday, May 15, 2008 8:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Are there any plugins calculate the > percentage ofthe traffic rate? > > I'm searching for a nagios plugin that calculates the percentage > for the traffic rate of an interface. > > For example, if the traffic statistic is 1000000 bit and > the interface is Gigabyte, I'm searching for a plugin > that ouputs like > > "Traffic usage is 0.01 %" > > Are there any plugin that can satisfy this? > The plugin "check_centreon_snmp_traffic" that comes with centreon (http://www.centreon.com/) gives a percentage: A command line invocation reveals: Traffic In : 1.44 kb/s (0.0 %), Out : 939.62 b/s (0.0 %) - Total RX Bits In : 6.54 GB, Out : 4.13 Gb|traffic_in=1442,3Bits/s traffic_out=939,6Bits/s Wachovia Securities, LLC's outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. A.G. Edwards, a division of Wachovia Securities, LLC ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelmukherji at gmail.com Thu May 15 17:11:04 2008 From: michaelmukherji at gmail.com (Michael Mukherji) Date: Thu, 15 May 2008 20:41:04 +0530 Subject: Notification escalation and notification interval Message-ID: <8facdc490805150811t543fff6fr81d62ad460308c90@mail.gmail.com> Hello List I am using nagios 3.0.1 in Ubuntu desktop version 7.10.Luckily i configured my all devices mostly windows based.I am monitoring 75 hosts and 1052 services associated with it. My notification is working fine i am using sendEmail client but i get notification of host and service problem after 3 min of host /service being down. Is there any way to reduce time , i tried to search for commands definition on /usr/local/nagios/objects/commands.cfg file but no lucks.where can i find these definitions made for notification interval? Also i would like to have escalation matrix for the notifications such a way that if hardstate remains for more than an hr, escalations occur.In the below mentioned comand is it possible to specify more than one service ? or all services together ..........since I want the same escalation for each host/sevice down. define serviceescalation{ host_name webserver service_description HTTP first_notification 3 last_notification 5 notification_interval 90 contact_groups nt-admins,managers } and the most important where do in need to define these commands ? in contacts.cfg file as well as commands.cfg file I am new to nagios so list help is surely appreciated also i have tried to dig out this info from documntation & FAQ's but no help. thanks Michael Mukherji AT & T -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at lubik.ca Thu May 15 17:18:09 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Thu, 15 May 2008 11:18:09 -0400 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: Julian Hein a ?crit : > Hi, > > Ugo Bellavance wrote on 09.05.08 16:10: > >> Terry a ?crit : >>> We just utilize sms and have a different ring profile for SMS >>> messages. The ring profile says that it will go nuts if it gets a >>> phone call or SMS message but all other notifications are off. I set >>> this before I go to bed. >> Ok, but we don't have a SMS gateway yet, we use e-mail to txt, so it >> costs money to receive txt messages this way, the blackberry data fees >> are already high, using it would cut the txt msg fees. >> >> I'm thinking about setting up an SMS gateway, though, any idea where to >> ask for info/ideas? > > Multitech has Modems with Ethernet Interfaces. You just connect them to the > Network and send a text oder sms via Telnet commands: > http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ Is there a reason why you don't use a serial or USB modem. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Thu May 15 18:00:43 2008 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Thu, 15 May 2008 11:00:43 -0500 Subject: Notifications via CDMA In-Reply-To: <482C24A5.1060901@aei.ca> References: <87ve1g1tq1.wl%rand@meridian-enviro.com> <482BA059.9010805@aei.ca> <87abisjinv.wl%rand@meridian-enviro.com> <482C24A5.1060901@aei.ca> Message-ID: <87prrn1rro.wl%rand@meridian-enviro.com> Thomas> Sure. If you can afford a second monitoring server in a Thomas> different location that will do it though... I.e. monitoring Thomas> your monitoring server. This is a good idea anyway, and we have a Nagios install at our colocation facility monitoring our main facility, and vice versa. It makes good sense anyway. But I'm still using SMTP to an external service to send notifications. It usually works fine, but not always. (We have a service we sell sending text messages to several different providers for several hundred users for events (unrelated to Nagios) and on the order of 3-5 percent of these are bounced back from the SMTP service of the provider. While our success rate for IXO/TAP delivery is in excess of 99.5%. Thomas> There's also many services that monitor your network from the Thomas> outside world - they could be useful too. Right, but I'd like to keep it in house. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 15 18:56:54 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 15 May 2008 17:56:54 +0100 Subject: nagiosql - nagios 3.x - hosts configuration in directory Message-ID: <482C6B56.2060901@ng23.net> I have setup nagiosql as it fits my needs well as having the config in a db - however the only sticking point i see is that the configuration files for hosts and services are individual files within directory's rather than all in a single config file. I have tried something like cfg_file=/etc/nagios/hosts/*.cfg however this creates an error such as Error: Cannot open config file '/etc/nagios/hosts/*.cfg' for reading: No such file or directory and equally cfg_file=/etc/nagios/hosts/ does not work - anyone got a handy hint for this? thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaimeventura at ipp.pt Thu May 15 18:56:23 2008 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Thu, 15 May 2008 17:56:23 +0100 Subject: nagios results relay Message-ID: <482C6B37.9080904@ipp.pt> Hello I already have a nagios server monitoring several servers, and now I need to monitor a set of servers behind a firewall with the following constrains: I cant install anything on them and I cant connect to them ouside the firewall. This means I cant make the servers passively send data neither use a nrpe server inside the firewall because I cant reach it from the ouside. So, is it possible to configure a nagios server inside the firewall to actively check the servers and send the results(passively) to the main nagios server outside the firewall? Thanks Jaime ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu May 15 19:22:26 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 15 May 2008 18:22:26 +0100 Subject: nagiosql - nagios 3.x - hosts configuration in directory In-Reply-To: <482C6B56.2060901@ng23.net> References: <482C6B56.2060901@ng23.net> Message-ID: <482C7152.5040006@ng23.net> > I have setup nagiosql as it fits my needs well as having the config in > a db - however the only sticking point i see is that the configuration > files for hosts and services are individual files within directory's > rather than all in a single config file. > > I have tried something like > > cfg_file=/etc/nagios/hosts/*.cfg > > however this creates an error such as > > Error: Cannot open config file '/etc/nagios/hosts/*.cfg' for reading: > No such file or directory > > and equally > > cfg_file=/etc/nagios/hosts/ > > does not work - anyone got a handy hint for this? > > sigh - it must be late, although nagiosql rocks! cfg_file != cfg_dir ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 21:11:01 2008 From: marc at ena.com (Marc Powell) Date: Thu, 15 May 2008 14:11:01 -0500 Subject: nagiosql - nagios 3.x - hosts configuration in directory In-Reply-To: <482C6B56.2060901@ng23.net> References: <482C6B56.2060901@ng23.net> Message-ID: On May 15, 2008, at 11:56 AM, Tom Brown wrote: > I have setup nagiosql as it fits my needs well as having the config > in a > db - however the only sticking point i see is that the configuration > files for hosts and services are individual files within directory's > rather than all in a single config file. > > I have tried something like > > cfg_file=/etc/nagios/hosts/*.cfg > > > does not work - anyone got a handy hint for this? http://nagios.sourceforge.net/docs/3_0/configmain.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 21:15:47 2008 From: marc at ena.com (Marc Powell) Date: Thu, 15 May 2008 14:15:47 -0500 Subject: nagios results relay In-Reply-To: <482C6B37.9080904@ipp.pt> References: <482C6B37.9080904@ipp.pt> Message-ID: <9CFECF71-9872-4EAC-B1ED-EB74DCD647DA@ena.com> On May 15, 2008, at 11:56 AM, Jaime Ventura wrote: > Hello > I already have a nagios server monitoring several servers, and > now I > need to monitor a set of servers behind a firewall with the following > constrains: I cant install anything on them and I cant connect to them > ouside the firewall. > This means I cant make the servers passively send data neither > use a > nrpe server inside the firewall because I cant reach it from the > ouside. > So, is it possible to configure a nagios server inside the firewall > to actively check the servers and send the results(passively) to the > main nagios server outside the firewall? Yes. It's well documented under Advanced Topics. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 21:36:17 2008 From: marc at ena.com (Marc Powell) Date: Thu, 15 May 2008 14:36:17 -0500 Subject: Notification escalation and notification interval In-Reply-To: <8facdc490805150811t543fff6fr81d62ad460308c90@mail.gmail.com> References: <8facdc490805150811t543fff6fr81d62ad460308c90@mail.gmail.com> Message-ID: <1933448A-1E60-4647-9D96-93F10812C92E@ena.com> On May 15, 2008, at 10:11 AM, Michael Mukherji wrote: > My notification is working fine i am using sendEmail client but i > get notification of host and service problem after 3 min of host / > service being down. > Is there any way to reduce time , i tried to search for commands > definition on /usr/local/nagios/objects/commands.cfg file but no > lucks.where can i find these definitions made for notification > interval? Nagios sends a notification immediately when the host/service reaches a HARD state (max_check_attempts). Either reduce max_check_attempts, retry_interval or both. > Also i would like to have escalation matrix for the notifications > such a way that if hardstate remains for more than an hr, > escalations occur.In the below mentioned comand is it possible to > specify more than one service ? or all services > together ..........since I want the same escalation for each host/ > sevice down. http://nagios.sourceforge.net/docs/3_0/objecttricks.html > and the most important where do in need to define these commands ? > in contacts.cfg file as well as commands.cfg file Wherever they are logical for you. As long as the file is listed as a cfg_file in nagios.cfg, it doesn't matter. You could include them in an existing file or create a new file entirely. > I am new to nagios so list help is surely appreciated also i have > tried to dig out this info from documntation & FAQ's but no help. http://nagios.sourceforge.net/docs/3_0/notifications.html, http://nagios.sourceforge.net/docs/3_0/statetypes.html and http://nagios.sourceforge.net/docs/3_0/config.html in addition to the objecttricks documentation cover your questions so far. I would encourage you to read through the documentation at least once. It covers about 95% of the questions you'll have. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g-ginsburg at northwestern.edu Thu May 15 22:34:35 2008 From: g-ginsburg at northwestern.edu (Gerald N. Ginsburg) Date: Thu, 15 May 2008 15:34:35 -0500 Subject: Sending repeated notifications from a passive service check Message-ID: <006801c8b6cb$16791730$35d66981@bluejay> To all, Using Nagios 3.0.1, we would like to send repeated notifications out and to escalate after a passive service check goes critical. The passive service checks in question will not normally be triggered (from a job scheduler) more than once a day. An event handler could be written to send additional notifications but the event handler would need to be aware of acknowledgments, scheduled downtime, and other changes. Is there a more straight-forward way to do this? With thanks for any suggestions, Gerald Ginsburg Gerald N. Ginsburg ITCS Northwestern University 2020 Ridge Ave. Evanston IL 60208-4311 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mrinal at netapp.com Fri May 16 01:02:47 2008 From: mrinal at netapp.com (mrinal devadas) Date: Fri, 16 May 2008 00:02:47 +0100 Subject: Newbie question - check_snmp syntax Message-ID: Hi all, Am attempting to setup a Nagios server to accept SNMP traps from a NetApp controller. Need help with the syntax to be used for check_snmp. My commands.cfg file has, define command{ command_name check_snmp command_line $USER1$/check_snmp -H $ARG1$ -P 2c -L noAuthNoPriv -d ! -m $ARG2$ } My netapp.cfg file has, define service{ use generic-service ; Inherit values from a template host_name gx3 service_description Uptime check_command check_snmp!gx3!sysUpTime.0 } I get the following error message on Nagios, Status Information: SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m sysUpTime.0 -v 2c [authpriv] gx2:161 What am I doing wrong? Thanks in advance, Mrinal. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuffnough at gmail.com Fri May 16 01:26:21 2008 From: nuffnough at gmail.com (nuffnough) Date: Fri, 16 May 2008 09:26:21 +1000 Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) Message-ID: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> hi... I have been running nagios for quite a long time now. Never really had any problems with it. But my recent upgrade doesn't seem to be going well. After I figured out the differences between 2.10 and 3.0 I thought it would be smooth sailing. Sadly I was wrong. When I try to run a verification now, I get the following output: MelMon01:nagios:~/bin>nagios -v ../etc/nagios.cfg Nagios 3.0.1 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 04-01-2008 License: GPL Reading configuration data... Segmentation fault (core dumped) I am running this on an OpenBSD 4.3 server. The core dump isn't huge. Is there anyone who would like to take a look at it for me? Where should I send it? TIA Nuffi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 01:31:16 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 15 May 2008 19:31:16 -0400 Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> Message-ID: <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote: > hi... > > I have been running nagios for quite a long time now. Never really > had any problems with it. But my recent upgrade doesn't seem to be > going well. Rebuild it with debugging symbols and run it with ktrace(8) as needed. ~BAS > After I figured out the differences between 2.10 and 3.0 I thought it > would be smooth sailing. Sadly I was wrong. When I try to run a > verification now, I get the following output: > > > > MelMon01:nagios:~/bin>nagios -v ../etc/nagios.cfg > > Nagios 3.0.1 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 04-01-2008 > License: GPL > > Reading configuration data... > > Segmentation fault (core dumped) > > > > I am running this on an OpenBSD 4.3 server. The core dump isn't huge. > Is there anyone who would like to take a look at it for me? Where > should I send it? > > TIA > > Nuffi > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuffnough at gmail.com Fri May 16 01:52:10 2008 From: nuffnough at gmail.com (nuffnough) Date: Fri, 16 May 2008 09:52:10 +1000 Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> 2008/5/16 Brian A. Seklecki : > > On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote: >> hi... >> >> I have been running nagios for quite a long time now. Never really >> had any problems with it. But my recent upgrade doesn't seem to be >> going well. > > > Rebuild it with debugging symbols and run it with ktrace(8) as needed. Thanks for the awesomely quick response, BAS. I checked the archives, the faqs, & yahoo. I even poked around in the configure file. I failed. How do I build nagios with the debugging symbols? Thanks! nuffi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 16 02:44:25 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 15 May 2008 17:44:25 -0700 Subject: Newbie question - check_snmp syntax In-Reply-To: References: Message-ID: <20080516004425.GM30359@bakgwai.americas.hpqcorp.net> On Thu, 15 May 2008, mrinal devadas wrote: > Hi all, > Am attempting to setup a Nagios server to accept SNMP traps from a NetApp > controller. Need help with the syntax to be used for check_snmp. > > My commands.cfg file has, > define command{ > command_name check_snmp > command_line $USER1$/check_snmp -H $ARG1$ -P 2c -L noAuthNoPriv > -d ! -m $ARG2$ > } > > My netapp.cfg file has, > define service{ > use generic-service ; Inherit values from a > template > host_name gx3 > service_description Uptime > check_command check_snmp!gx3!sysUpTime.0 > } > > I get the following error message on Nagios, > Status Information: SNMP problem - No data received from host > CMD: /usr/bin/snmpget -t 1 -r 5 -m sysUpTime.0 -v 2c [authpriv] gx2:161 > > What am I doing wrong? First, a couple points: NMP traps are not something you can get using check_snmp. They are sent from a device to something that listens for SNMP traps, and aren't something you can poll for. In the example you gave, however, it appears you're polling for the sysUpTime.0 OID from SNMP, which is not a trap, so maybe you're just using the wrong terminology. If you are trying to receive traps, though, your current approach will never work. Now, if you're just polling SNMP for values, you've got a workable start. However, The result you say you're receiving in Nagios cannot be the result of the configs you've supplied. You're also mixing commands in a way that doesn't make much sense. For example, you specify to use SNMP version 2, but also include the -L switch, which only applies to SNMP version 3. You're also going to have trouble with the "-d !" part of the command line, probably, and I doubt you even need it. You're also not specifying the OID you want to poll. The "-m" flag specifies a MIB to load -- a MIB is generally a file containing information about the OIDs available on a device, but the "-o" switch is the one to use to specify the data you want returned. It's also unclear what, if anything, you've done on the NetApp as far as SNMP configuration, so that could very well be a problem as well. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 03:21:29 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 15 May 2008 21:21:29 -0400 (EDT) Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> Message-ID: <20080515211520.S45497@arbitor.digitalfreaks.org> On Fri, 16 May 2008, nuffnough wrote: > 2008/5/16 Brian A. Seklecki : >> >> On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote: >>> hi... >>> >>> I have been running nagios for quite a long time now. Never really if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g and export COPTs=-g ~BAS >>> had any problems with it. But my recent upgrade doesn't seem to be >>> going well. >> >> >> Rebuild it with debugging symbols and run it with ktrace(8) as needed. > > > Thanks for the awesomely quick response, BAS. > > I checked the archives, the faqs, & yahoo. I even poked around in the > configure file. I failed. > > How do I build nagios with the debugging symbols? > > Thanks! > > nuffi > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuffnough at gmail.com Fri May 16 05:05:49 2008 From: nuffnough at gmail.com (nuffnough) Date: Fri, 16 May 2008 13:05:49 +1000 Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <20080515211520.S45497@arbitor.digitalfreaks.org> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> <20080515211520.S45497@arbitor.digitalfreaks.org> Message-ID: <159c16bf0805152005u69867209q24ab85c9766b8a43@mail.gmail.com> 2008/5/16 Brian A. Seklecki : > On Fri, 16 May 2008, nuffnough wrote: > >> 2008/5/16 Brian A. Seklecki : >>> >>> On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote: >>>> >>>> hi... >>>> >>>> I have been running nagios for quite a long time now. Never really > > if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g > and export COPTs=-g Thanks for that. Did as you suggest. Tailing kdump shows: 18223 nagios RET sigprocmask 0 18223 nagios CALL mprotect(0x3c022000,0x1000,0x3) 18223 nagios RET mprotect 0 18223 nagios CALL mprotect(0x3c022000,0x1000,0x1) 18223 nagios RET mprotect 0 18223 nagios CALL sigprocmask(0x3,0) 18223 nagios RET sigprocmask -65793/0xfffefeff 18223 nagios CALL sigprocmask(0x1,0xffffffff) 18223 nagios RET sigprocmask 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) 18223 nagios RET mprotect 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) 18223 nagios RET mprotect 0 18223 nagios CALL sigprocmask(0x3,0) 18223 nagios RET sigprocmask -65793/0xfffefeff 18223 nagios CALL sigprocmask(0x1,0xffffffff) 18223 nagios RET sigprocmask 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) 18223 nagios RET mprotect 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) 18223 nagios RET mprotect 0 18223 nagios CALL sigprocmask(0x3,0) 18223 nagios RET sigprocmask -65793/0xfffefeff 18223 nagios CALL sigprocmask(0x1,0xffffffff) 18223 nagios RET sigprocmask 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) 18223 nagios RET mprotect 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) 18223 nagios RET mprotect 0 18223 nagios CALL sigprocmask(0x3,0) 18223 nagios RET sigprocmask -65793/0xfffefeff 18223 nagios CALL sigprocmask(0x1,0xffffffff) 18223 nagios RET sigprocmask 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) 18223 nagios RET mprotect 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) 18223 nagios RET mprotect 0 18223 nagios CALL sigprocmask(0x3,0) 18223 nagios RET sigprocmask -65793/0xfffefeff 18223 nagios CALL sigprocmask(0x1,0xffffffff) 18223 nagios RET sigprocmask 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) 18223 nagios RET mprotect 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) 18223 nagios RET mprotect 0 18223 nagios CALL sigprocmask(0x3,0) 18223 nagios RET sigprocmask -65793/0xfffefeff 18223 nagios CALL sigprocmask(0x1,0xffffffff) 18223 nagios RET sigprocmask 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) 18223 nagios RET mprotect 0 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) 18223 nagios RET mprotect 0 18223 nagios CALL sigprocmask(0x3,0) 18223 nagios RET sigprocmask -65793/0xfffefeff 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap -2129010688/0x8119e000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap -2007908352/0x8851c000 18223 nagios CALL munmap(0x85522000,0x80e) 18223 nagios RET munmap 0 18223 nagios CALL fstat(0x6,0xcfbc9ef0) 18223 nagios RET fstat 0 18223 nagios CALL fcntl(0x6,0x3,0) 18223 nagios RET fcntl 4 18223 nagios CALL fcntl(0x6,0x4,0) 18223 nagios RET fcntl 0 18223 nagios CALL close(0x6) 18223 nagios RET close 0 18223 nagios CALL open(0x893d2e00,0,0) 18223 nagios NAMI "/usr/local/nagios/etc/objects/hostgroups.cfg" 18223 nagios RET open 6 18223 nagios CALL fcntl(0x6,0x3,0) 18223 nagios RET fcntl 0 18223 nagios CALL fcntl(0x6,0x4,0x4) 18223 nagios RET fcntl 0 18223 nagios CALL fstat(0x6,0xcfbc9f60) 18223 nagios RET fstat 0 18223 nagios CALL mmap(0,0x578,0x1,0x2,0x6,0,0,0) 18223 nagios RET mmap -2067492864/0x84c49000 18223 nagios CALL munmap(0x84c49000,0x578) 18223 nagios RET munmap 0 18223 nagios CALL fstat(0x6,0xcfbc9ef0) 18223 nagios RET fstat 0 18223 nagios CALL fcntl(0x6,0x3,0) 18223 nagios RET fcntl 4 18223 nagios CALL fcntl(0x6,0x4,0) 18223 nagios RET fcntl 0 18223 nagios CALL close(0x6) 18223 nagios RET close 0 18223 nagios CALL open(0x893d2f80,0,0) 18223 nagios NAMI "/usr/local/nagios/etc/objects/services.cfg" 18223 nagios RET open 6 18223 nagios CALL fcntl(0x6,0x3,0) 18223 nagios RET fcntl 0 18223 nagios CALL fcntl(0x6,0x4,0x4) 18223 nagios RET fcntl 0 18223 nagios CALL fstat(0x6,0xcfbc9f60) 18223 nagios RET fstat 0 18223 nagios CALL mmap(0,0x13338,0x1,0x2,0x6,0,0,0) 18223 nagios RET mmap -1952940032/0x8b988000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap 2081120256/0x7c0b6000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap -2096656384/0x83079000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap -2045337600/0x8616a000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap -2108530688/0x82526000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap 2094522368/0x7cd7e000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap 2130206720/0x7ef86000 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 18223 nagios RET mmap 2118778880/0x7e4a0000 18223 nagios PSIG SIGSEGV SIG_DFL code 1 addr=0x7ef85fff trapno=1 18223 nagios NAMI "nagios.core" (END) Suggests to me that it is parsing the config files okay, and then crashing out on what happens next. This was done on a nagios -v, rather than nagios -d, btw. I was just running the pre-flight checks. what can I do next to nail this down? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 05:31:33 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 15 May 2008 23:31:33 -0400 (EDT) Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <159c16bf0805152005u69867209q24ab85c9766b8a43@mail.gmail.com> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> <20080515211520.S45497@arbitor.digitalfreaks.org> <159c16bf0805152005u69867209q24ab85c9766b8a43@mail.gmail.com> Message-ID: <20080515233121.E45497@arbitor.digitalfreaks.org> Does it leave a core file? On Fri, 16 May 2008, nuffnough wrote: > 2008/5/16 Brian A. Seklecki : >> On Fri, 16 May 2008, nuffnough wrote: >> >>> 2008/5/16 Brian A. Seklecki : >>>> >>>> On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote: >>>>> >>>>> hi... >>>>> >>>>> I have been running nagios for quite a long time now. Never really >> >> if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g >> and export COPTs=-g > > > Thanks for that. Did as you suggest. Tailing kdump shows: > > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x3c022000,0x1000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x3c022000,0x1000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2129010688/0x8119e000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2007908352/0x8851c000 > 18223 nagios CALL munmap(0x85522000,0x80e) > 18223 nagios RET munmap 0 > 18223 nagios CALL fstat(0x6,0xcfbc9ef0) > 18223 nagios RET fstat 0 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 4 > 18223 nagios CALL fcntl(0x6,0x4,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL close(0x6) > 18223 nagios RET close 0 > 18223 nagios CALL open(0x893d2e00,0,0) > 18223 nagios NAMI "/usr/local/nagios/etc/objects/hostgroups.cfg" > 18223 nagios RET open 6 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fcntl(0x6,0x4,0x4) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fstat(0x6,0xcfbc9f60) > 18223 nagios RET fstat 0 > 18223 nagios CALL mmap(0,0x578,0x1,0x2,0x6,0,0,0) > 18223 nagios RET mmap -2067492864/0x84c49000 > 18223 nagios CALL munmap(0x84c49000,0x578) > 18223 nagios RET munmap 0 > 18223 nagios CALL fstat(0x6,0xcfbc9ef0) > 18223 nagios RET fstat 0 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 4 > 18223 nagios CALL fcntl(0x6,0x4,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL close(0x6) > 18223 nagios RET close 0 > 18223 nagios CALL open(0x893d2f80,0,0) > 18223 nagios NAMI "/usr/local/nagios/etc/objects/services.cfg" > 18223 nagios RET open 6 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fcntl(0x6,0x4,0x4) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fstat(0x6,0xcfbc9f60) > 18223 nagios RET fstat 0 > 18223 nagios CALL mmap(0,0x13338,0x1,0x2,0x6,0,0,0) > 18223 nagios RET mmap -1952940032/0x8b988000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2081120256/0x7c0b6000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2096656384/0x83079000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2045337600/0x8616a000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2108530688/0x82526000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2094522368/0x7cd7e000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2130206720/0x7ef86000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2118778880/0x7e4a0000 > 18223 nagios PSIG SIGSEGV SIG_DFL code 1 addr=0x7ef85fff trapno=1 > 18223 nagios NAMI "nagios.core" > (END) > > > > Suggests to me that it is parsing the config files okay, and then > crashing out on what happens next. This was done on a nagios -v, > rather than nagios -d, btw. I was just running the pre-flight checks. > > what can I do next to nail this down? > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 05:39:05 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 15 May 2008 23:39:05 -0400 (EDT) Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <159c16bf0805152005u69867209q24ab85c9766b8a43@mail.gmail.com> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> <20080515211520.S45497@arbitor.digitalfreaks.org> <159c16bf0805152005u69867209q24ab85c9766b8a43@mail.gmail.com> Message-ID: <20080515233833.J35564@arbitor.digitalfreaks.org> gdb `which nagios` /path/to/core.file gdb> bt Paste results here ~BAS On Fri, 16 May 2008, nuffnough wrote: > 2008/5/16 Brian A. Seklecki : >> On Fri, 16 May 2008, nuffnough wrote: >> >>> 2008/5/16 Brian A. Seklecki : >>>> >>>> On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote: >>>>> >>>>> hi... >>>>> >>>>> I have been running nagios for quite a long time now. Never really >> >> if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g >> and export COPTs=-g > > > Thanks for that. Did as you suggest. Tailing kdump shows: > > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x3c022000,0x1000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x3c022000,0x1000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL sigprocmask(0x1,0xffffffff) > 18223 nagios RET sigprocmask 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x3) > 18223 nagios RET mprotect 0 > 18223 nagios CALL mprotect(0x20e95000,0x2000,0x1) > 18223 nagios RET mprotect 0 > 18223 nagios CALL sigprocmask(0x3,0) > 18223 nagios RET sigprocmask -65793/0xfffefeff > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2129010688/0x8119e000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2007908352/0x8851c000 > 18223 nagios CALL munmap(0x85522000,0x80e) > 18223 nagios RET munmap 0 > 18223 nagios CALL fstat(0x6,0xcfbc9ef0) > 18223 nagios RET fstat 0 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 4 > 18223 nagios CALL fcntl(0x6,0x4,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL close(0x6) > 18223 nagios RET close 0 > 18223 nagios CALL open(0x893d2e00,0,0) > 18223 nagios NAMI "/usr/local/nagios/etc/objects/hostgroups.cfg" > 18223 nagios RET open 6 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fcntl(0x6,0x4,0x4) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fstat(0x6,0xcfbc9f60) > 18223 nagios RET fstat 0 > 18223 nagios CALL mmap(0,0x578,0x1,0x2,0x6,0,0,0) > 18223 nagios RET mmap -2067492864/0x84c49000 > 18223 nagios CALL munmap(0x84c49000,0x578) > 18223 nagios RET munmap 0 > 18223 nagios CALL fstat(0x6,0xcfbc9ef0) > 18223 nagios RET fstat 0 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 4 > 18223 nagios CALL fcntl(0x6,0x4,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL close(0x6) > 18223 nagios RET close 0 > 18223 nagios CALL open(0x893d2f80,0,0) > 18223 nagios NAMI "/usr/local/nagios/etc/objects/services.cfg" > 18223 nagios RET open 6 > 18223 nagios CALL fcntl(0x6,0x3,0) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fcntl(0x6,0x4,0x4) > 18223 nagios RET fcntl 0 > 18223 nagios CALL fstat(0x6,0xcfbc9f60) > 18223 nagios RET fstat 0 > 18223 nagios CALL mmap(0,0x13338,0x1,0x2,0x6,0,0,0) > 18223 nagios RET mmap -1952940032/0x8b988000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2081120256/0x7c0b6000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2096656384/0x83079000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2045337600/0x8616a000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap -2108530688/0x82526000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2094522368/0x7cd7e000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2130206720/0x7ef86000 > 18223 nagios CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) > 18223 nagios RET mmap 2118778880/0x7e4a0000 > 18223 nagios PSIG SIGSEGV SIG_DFL code 1 addr=0x7ef85fff trapno=1 > 18223 nagios NAMI "nagios.core" > (END) > > > > Suggests to me that it is parsing the config files okay, and then > crashing out on what happens next. This was done on a nagios -v, > rather than nagios -d, btw. I was just running the pre-flight checks. > > what can I do next to nail this down? > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuffnough at gmail.com Fri May 16 06:19:33 2008 From: nuffnough at gmail.com (nuffnough) Date: Fri, 16 May 2008 14:19:33 +1000 Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <20080515233833.J35564@arbitor.digitalfreaks.org> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> <20080515211520.S45497@arbitor.digitalfreaks.org> <159c16bf0805152005u69867209q24ab85c9766b8a43@mail.gmail.com> <20080515233833.J35564@arbitor.digitalfreaks.org> Message-ID: <159c16bf0805152119p5d7bcfdfm7676704a3dbc85d4@mail.gmail.com> 2008/5/16 Brian A. Seklecki : > gdb `which nagios` /path/to/core.file > > gdb> bt > > Paste results here > > ~BAS GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-openbsd4.3"...(no debugging symbols found) Core was generated by `nagios'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libpthread.so.9.0...done. Loaded symbols for /usr/lib/libpthread.so.9.0 Reading symbols from /usr/lib/libm.so.2.3...done. Loaded symbols for /usr/lib/libm.so.2.3 Symbols already loaded for /usr/lib/libpthread.so.9.0 Reading symbols from /usr/lib/libc.so.43.0...done. Loaded symbols for /usr/lib/libc.so.43.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x1c030f83 in mmap_fgets_multiline () (gdb) Thanks for your help. B) nuffi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 11:05:48 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 16 May 2008 11:05:48 +0200 Subject: NRPE: Unable to read output Message-ID: <482D4E6C.40307@googlemail.com> Hi Folks, i'm trying to get a plugin for openvpn (http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1315.html) to work with nrpe, but it gives me the dreaded "NRPE: Unable to read output"-error. The server is a sles10sp1-xen-host running openvpn with the management-console which is reachable via telnet on localhost:1195. When i run the check manually, it works, although there is no "Linefeed" at the end.(Wonder if that might be the problem?) The invocation-command basically looks like this: nagios at u-23:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 -p 1195 -P mypwd -n Then the output is (on one line): OpenVPN OK: 0 connected clients.nagios at u-239-s087:/usr/local/nagios/libexec> Perl::Telnet is used to connect to tcp/1195, gives the pwd and checks how many clients are connected. My nrpe.cfg looks like this: command[check_vpn]=/usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 -p 1195 -P mypwd -n When i issue nagios at u-23:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_hd DISK OK - free space: / 9334 MB (86% inode=96%);| /=1424MB;9067;10200;0;11334 it works great, however nagios at u-23:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_vpn results in NRPE: Unable to read output Can anybody please give me a hint whats going wrong here. :-/ Thanks and greetings, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 16 11:17:54 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 16 May 2008 05:17:54 -0400 Subject: NRPE: Unable to read output In-Reply-To: <482D4E6C.40307@googlemail.com> References: <482D4E6C.40307@googlemail.com> Message-ID: <482D5142.2040508@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/05/08 05:05 AM, Marcus wrote: > Hi Folks, > > i'm trying to get a plugin for openvpn > (http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1315.html) to work > with nrpe, but it gives me the dreaded "NRPE: Unable to read output"-error. > > The server is a sles10sp1-xen-host running openvpn with the > management-console which is reachable via telnet on localhost:1195. > > When i run the check manually, it works, although there is no "Linefeed" > at the end.(Wonder if that might be the problem?) > > The invocation-command basically looks like this: > nagios at u-23:/usr/local/nagios/libexec> > /usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 -p 1195 -P mypwd -n > > Then the output is (on one line): > OpenVPN OK: 0 connected > clients.nagios at u-239-s087:/usr/local/nagios/libexec> > > Perl::Telnet is used to connect to tcp/1195, gives the pwd and checks > how many clients are connected. > > My nrpe.cfg looks like this: > > command[check_vpn]=/usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 > -p 1195 -P mypwd -n > > When i issue > > nagios at u-23:/usr/local/nagios/libexec> > /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_hd > DISK OK - free space: / 9334 MB (86% inode=96%);| > /=1424MB;9067;10200;0;11334 > > it works great, however > > nagios at u-23:/usr/local/nagios/libexec> > /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_vpn > > results in > > NRPE: Unable to read output > > Can anybody please give me a hint whats going wrong here. :-/ If you're trying to run the plugin locally as root then try as the nagios user instead (or whichever user nrpe runs as). I.e.: > su nagios -c 'usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 -p 1195 -P mypwd -n' I doubt it would be caused by the missing newline, but if you think so you can certainly add one in the plugin since it's written in perl... Which version of Nrpe are you using? Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFILVFC6dZ+Kt5BchYRAgtGAJkBO/nryUXvcJF/O6CfiCSvn1MqWACgvg+g KwREWdj7hCnQtwCitq2mjD4= =Fmxh -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mrinal at netapp.com Fri May 16 11:24:00 2008 From: mrinal at netapp.com (mrinal devadas) Date: Fri, 16 May 2008 10:24:00 +0100 Subject: Newbie question - check_snmp syntax In-Reply-To: <20080516004425.GM30359@bakgwai.americas.hpqcorp.net> References: <20080516004425.GM30359@bakgwai.americas.hpqcorp.net> Message-ID: Hi Patrick, Thank you for the detailed explanation. Yes, I am just polling SNMP for values. The switches provided in the check_snmp service are values that the plugin seems to require. The SNMP version is always 2c and the community string is public. If I do not specify ?-L noAuthNoPriv? the switch defaults to ?authPriv?. I have now removed this switch. Also the delimiter used by check_snmp is ?=?. If I use this delimiter in the netapp.cfg file, nagios complains about a syntax error in the file. If ?-m? is not specified it defaults to ?ALL?. Is that a bad thing? I have also changed ?-m? to ?-o?. What I found to be odd is that nagios seems to have picked up the value for the OID at some time in the past and then lost it. From the nagios.log file.... ----------------- 05-15-2008 23:18:36] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_CHECK;gx4;1210889913 [05-15-2008 23:18:14] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;gx3;Uptime;1210889891 [05-15-2008 23:17:50] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;gx2;Uptime;1210889868 [05-15-2008 23:16:33] SERVICE FLAPPING ALERT: gx1;Uptime;STARTED; Service appears to have started flapping (22.8% change >= 20.0% threshold) -------------------- On NetApp the only configuration setting is the define the server that is going to receive the SNMP traps. With the configuration updates the results are as below... ### commands.cfg # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $ARG1$ -P 2c -d ! -o $ARG2$ } ### netapp.cfg define service{ use generic-service ; Inherit values from a template host_name gx3 service_description Uptime check_command check_snmp!gx3!sysUpTime.0 } ### command output Status Information: SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] gx3:161 sysUpTime.0 Regards, Mrinal. On 16/05/2008 01:44, "Patrick Morris" wrote: > On Thu, 15 May 2008, mrinal devadas wrote: > >> > Hi all, >> > Am attempting to setup a Nagios server to accept SNMP traps from a NetApp >> > controller. Need help with the syntax to be used for check_snmp. >> > >> > My commands.cfg file has, >> > define command{ >> > command_name check_snmp >> > command_line $USER1$/check_snmp -H $ARG1$ -P 2c -L noAuthNoPriv >> > -d ! -m $ARG2$ >> > } >> > >> > My netapp.cfg file has, >> > define service{ >> > use generic-service ; Inherit values from a >> > template >> > host_name gx3 >> > service_description Uptime >> > check_command check_snmp!gx3!sysUpTime.0 >> > } >> > >> > I get the following error message on Nagios, >> > Status Information: SNMP problem - No data received from host >> > CMD: /usr/bin/snmpget -t 1 -r 5 -m sysUpTime.0 -v 2c [authpriv] gx2:161 >> > >> > What am I doing wrong? > > First, a couple points: > > NMP traps are not something you can get using check_snmp. They are sent > from a device to something that listens for SNMP traps, and aren't > something you can poll for. In the example you gave, however, it > appears you're polling for the sysUpTime.0 OID from SNMP, which is not > a trap, so maybe you're just using the wrong terminology. If you are > trying to receive traps, though, your current approach will never work. > > Now, if you're just polling SNMP for values, you've got a workable > start. However, The result you say you're receiving in Nagios cannot be > the result of the configs you've supplied. You're also mixing commands > in a way that doesn't make much sense. For example, you specify to use > SNMP version 2, but also include the -L switch, which only applies to > SNMP version 3. You're also going to have trouble with the "-d !" part > of the command line, probably, and I doubt you even need it. You're > also not specifying the OID you want to poll. The "-m" flag specifies a > MIB to load -- a MIB is generally a file containing information about > the OIDs available on a device, but the "-o" switch is the one to use to > specify the data you want returned. > > It's also unclear what, if anything, you've done on the NetApp as far as > SNMP configuration, so that could very well be a problem as well. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 11:33:09 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 16 May 2008 11:33:09 +0200 Subject: NRPE: Unable to read output In-Reply-To: <482D5142.2040508@aei.ca> References: <482D4E6C.40307@googlemail.com> <482D5142.2040508@aei.ca> Message-ID: <482D54D5.7060306@googlemail.com> Hi Thomas, Thomas Guyot-Sionnest schrieb: > If you're trying to run the plugin locally as root then try as the > nagios user instead (or whichever user nrpe runs as). I.e.: Actually, it doesn't matter, running the check as root as well as nagios gives the same result. I su'ed to nagios in the previous example, but when using root directly, it doesn't work either. > I doubt it would be caused by the missing newline, but if you think so > you can certainly add one in the plugin since it's written in perl... Certainly ;-) ... But that didn't do the trick, either unfortunately. > Which version of Nrpe are you using? NRPE is v2.12, nagios-plugins are the latest also. Thanks for giving some ideas, alas - the problem persists... Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 14:03:06 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 16 May 2008 14:03:06 +0200 Subject: RESOLVED: NRPE: Unable to read output In-Reply-To: <482D4E6C.40307@googlemail.com> References: <482D4E6C.40307@googlemail.com> Message-ID: <482D77FA.1090907@googlemail.com> Hi folks, I figured it out, via the debug switch. The "mysterious" error demystified: Can't locate utils.pm in @INC ;-) The check-plugin just didn't look for utils.pm in /usr/local/nagios/libexec, but it did look for it in "./". And since I always run it from /usr/local/nagios/libexec as working-dir, it worked manually but not via nrpe. Have a nice weekend, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 16 14:09:07 2008 From: marc at ena.com (Marc Powell) Date: Fri, 16 May 2008 07:09:07 -0500 Subject: NRPE: Unable to read output In-Reply-To: <482D4E6C.40307@googlemail.com> References: <482D4E6C.40307@googlemail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marcus > Sent: Friday, May 16, 2008 4:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE: Unable to read output > > Hi Folks, > > i'm trying to get a plugin for openvpn > (http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1315.html) to work > with nrpe, but it gives me the dreaded "NRPE: Unable to read output"-error. Thanks for including where you got the plugin. > command[check_vpn]=/usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 > -p 1195 -P mypwd -n > > When i issue > nagios at u-23:/usr/local/nagios/libexec> > /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_vpn > > results in > > NRPE: Unable to read output > > Can anybody please give me a hint whats going wrong here. :-/ Try redirecting its output to a file so you can see the error output-- command[check_vpn]=/usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 -p 1195 -P mypwd -n >/tmp/output 2>&1 -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sauloaugustosilva at gmail.com Fri May 16 15:16:53 2008 From: sauloaugustosilva at gmail.com (Saulo Augusto Silva) Date: Fri, 16 May 2008 10:16:53 -0300 Subject: Problems With proc statament at snmpd.conf Message-ID: <1210943813.8562.9.camel@localhost.localdomain> Hi , Did anyone here face the problem to have the proc configured and did not received any change using nagios check_plugin ? Ifact any change in configured proc process is changed . Here my snmpd.conf syslocation Server Room syscontact Sysadmin (root at localhost) rocommunity public 127.0.0.1 rocommunity mycommunit # OID = .1.3.6.1.4.1.2021.9.1.7.1 disk / 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.2 disk /var 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.3 disk /usr 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.4 disk /tmp 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.5 disk /home 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.6 disk /opt 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.7 disk /db/db2data 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.8 disk /dn/db2backup 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.9 disk /db/actlog 10000 # OID = .1.3.6.1.4.1.2021.9.1.7.10 disk /db/tmp 10000 proc db2sysc proc snmpd the snmpwalk : snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.2.1 UCD-SNMP-MIB::prIndex.1 = INTEGER: 1 UCD-SNMP-MIB::prIndex.2 = INTEGER: 2 UCD-SNMP-MIB::prNames.1 = STRING: db2sysc UCD-SNMP-MIB::prNames.2 = STRING: snmpd UCD-SNMP-MIB::prMin.1 = INTEGER: 0 UCD-SNMP-MIB::prMin.2 = INTEGER: 0 UCD-SNMP-MIB::prMax.1 = INTEGER: 0 UCD-SNMP-MIB::prMax.2 = INTEGER: 0 UCD-SNMP-MIB::prCount.1 = INTEGER: 0 UCD-SNMP-MIB::prCount.2 = INTEGER: 0 UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 1 UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: 1 UCD-SNMP-MIB::prErrMessage.1 = STRING: No db2sysc process running. UCD-SNMP-MIB::prErrMessage.2 = STRING: No snmpd process running. UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0 UCD-SNMP-MIB::prErrFix.2 = INTEGER: 0 UCD-SNMP-MIB::prErrFixCmd.1 = STRING: UCD-SNMP-MIB::prErrFixCmd.2 = STRING: The ps -e ps -e |grep db2sysc 9812 pts/0 00:00:00 db2syscr 9814 pts/0 00:00:00 db2sysc 9815 pts/0 00:00:00 db2syscr 9816 pts/0 00:00:00 db2syscr 9817 pts/0 00:00:00 db2syscr So the process is running but SNMP do not send the correct value to Nagios and never get alert . Any help will be appreciated . Saulo Silva ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at gmail.com Fri May 16 16:10:06 2008 From: throck at gmail.com (Tom Throckmorton) Date: Fri, 16 May 2008 10:10:06 -0400 Subject: Problems With proc statament at snmpd.conf In-Reply-To: <1210943813.8562.9.camel@localhost.localdomain> References: <1210943813.8562.9.camel@localhost.localdomain> Message-ID: <482D95BE.6040802@gmail.com> On 5/16/08 9:16 AM, Saulo Augusto Silva wrote: > ... > proc db2sysc > proc snmpd > > the snmpwalk : > snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.2.1 > UCD-SNMP-MIB::prIndex.1 = INTEGER: 1 > UCD-SNMP-MIB::prIndex.2 = INTEGER: 2 > UCD-SNMP-MIB::prNames.1 = STRING: db2sysc > UCD-SNMP-MIB::prNames.2 = STRING: snmpd > UCD-SNMP-MIB::prMin.1 = INTEGER: 0 > UCD-SNMP-MIB::prMin.2 = INTEGER: 0 > UCD-SNMP-MIB::prMax.1 = INTEGER: 0 > UCD-SNMP-MIB::prMax.2 = INTEGER: 0 > UCD-SNMP-MIB::prCount.1 = INTEGER: 0 > UCD-SNMP-MIB::prCount.2 = INTEGER: 0 > UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 1 > UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: 1 > UCD-SNMP-MIB::prErrMessage.1 = STRING: No db2sysc process running. > UCD-SNMP-MIB::prErrMessage.2 = STRING: No snmpd process running. > UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0 > UCD-SNMP-MIB::prErrFix.2 = INTEGER: 0 > UCD-SNMP-MIB::prErrFixCmd.1 = STRING: > UCD-SNMP-MIB::prErrFixCmd.2 = STRING: > > The ps -e > > ps -e |grep db2sysc > 9812 pts/0 00:00:00 db2syscr > 9814 pts/0 00:00:00 db2sysc > 9815 pts/0 00:00:00 db2syscr > 9816 pts/0 00:00:00 db2syscr > 9817 pts/0 00:00:00 db2syscr Greetings Saulo, You didn't mention which OS or net-snmp version you're using.... Regardless, the default for recent vintages of net-snmp is to find process names by looking at the 'Name' line in /proc/$pid/status, so you'll need to make sure the names in there match the entry in your config. From what I'm seeing, though, you should at least be getting a match on the snmpd process - are you by chance running with SELinux enabled? -tt ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Fri May 16 18:11:05 2008 From: jhein at netways.de (Julian Hein) Date: Fri, 16 May 2008 18:11:05 +0200 Subject: Slightly-OT - Notification management In-Reply-To: References: Message-ID: Hi, Ugo Bellavance wrote on 15.05.08 17:18: > Julian Hein a ?crit : >> Hi, >> >> Ugo Bellavance wrote on 09.05.08 16:10: >> >>> Terry a ?crit : >>>> We just utilize sms and have a different ring profile for SMS >>>> messages. The ring profile says that it will go nuts if it gets a >>>> phone call or SMS message but all other notifications are off. I set >>>> this before I go to bed. >>> Ok, but we don't have a SMS gateway yet, we use e-mail to txt, so it >>> costs money to receive txt messages this way, the blackberry data fees >>> are already high, using it would cut the txt msg fees. >>> >>> I'm thinking about setting up an SMS gateway, though, any idea where to >>> ask for info/ideas? >> >> Multitech has Modems with Ethernet Interfaces. You just connect them to the >> Network and send a text oder sms via Telnet commands: >> http://www.multitech.com/PRODUCTS/Categories/Device_Networking/ > > Is there a reason why you don't use a serial or USB modem. It is much more flexible: 1. You can use them from servers without usb or serial ports, e.g. Small appliances or blade servers. 2. You can place them anywhere on the network, e.g. If you don't have GSM connectivity inside your data center 3. More then 1 Nagios server can use the same GSM modem 4. You don't need to install or configure anything hardware related on the server. Bye, Julian -- Julian Hein Managing Director NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-3 http://www.netways.de | jhein at netways.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 19:47:54 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 16 May 2008 13:47:54 -0400 (EDT) Subject: Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped) In-Reply-To: <159c16bf0805152119p5d7bcfdfm7676704a3dbc85d4@mail.gmail.com> References: <159c16bf0805151626s75cfe4dcyfc0c9556367a8379@mail.gmail.com> <1210894276.8910.103.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <159c16bf0805151652j5088fe93q23644913b1c235c3@mail.gmail.com> <20080515211520.S45497@arbitor.digitalfreaks.org> <159c16bf0805152005u69867209q24ab85c9766b8a43@mail.gmail.com> <20080515233833.J35564@arbitor.digitalfreaks.org> <159c16bf0805152119p5d7bcfdfm7676704a3dbc85d4@mail.gmail.com> Message-ID: <20080516134506.Q35564@arbitor.digitalfreaks.org> Looking for BT output like at the bottom of: http://bugs.php.net/bugs-generating-backtrace.php ~BAS On Fri, 16 May 2008, nuffnough wrote: > 2008/5/16 Brian A. Seklecki : >> gdb `which nagios` /path/to/core.file >> >> gdb> bt >> >> Paste results here >> >> ~BAS > > > GNU gdb 6.3 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-unknown-openbsd4.3"...(no debugging > symbols found) > > Core was generated by `nagios'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /usr/lib/libpthread.so.9.0...done. > Loaded symbols for /usr/lib/libpthread.so.9.0 > Reading symbols from /usr/lib/libm.so.2.3...done. > Loaded symbols for /usr/lib/libm.so.2.3 > Symbols already loaded for /usr/lib/libpthread.so.9.0 > Reading symbols from /usr/lib/libc.so.43.0...done. > Loaded symbols for /usr/lib/libc.so.43.0 > Reading symbols from /usr/libexec/ld.so...done. > Loaded symbols for /usr/libexec/ld.so > #0 0x1c030f83 in mmap_fgets_multiline () > (gdb) > > > Thanks for your help. B) > > nuffi > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Fri May 16 20:19:05 2008 From: palleje at gmail.com (Palle L Jensen) Date: Fri, 16 May 2008 14:19:05 -0400 Subject: Url in the notification? Message-ID: I just love Nagios; it does so much great work for you! As you work with it though sometimes thoughts comes up, can it do more? Here is my thought. For example Nagios sends out an alert on high CPU load, would it be possible to add the URL to the graph for the CPU load? So it would look like this: ***** Nagios Monitoring 3.0.1 ***** Notification Type: PROBLEM Service: Cpu Host: Server001 Address: 000.000.000.000 State: WARNING Date/Time: Fri May 16 13:36:06 EDT 2008 Url: http://000.000.000.000/nagios/cgi-bin/graphs.cgi?host=Server01&service=Cpu Additional Info: CPU Load 80% (5 min average) This would be very cool cause then you could click on the link and immediately get to the overview of the graphing of the CPU load. Does anyone know if this would be possible? Thanks, Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sauloaugustosilva at gmail.com Fri May 16 21:16:17 2008 From: sauloaugustosilva at gmail.com (Saulo Augusto Silva) Date: Fri, 16 May 2008 16:16:17 -0300 Subject: Problems With proc statament at snmpd.conf In-Reply-To: <482D95BE.6040802@gmail.com> References: <1210943813.8562.9.camel@localhost.localdomain> <482D95BE.6040802@gmail.com> Message-ID: <1210965377.8562.15.camel@localhost.localdomain> On Fri, 2008-05-16 at 10:10 -0400, Tom Throckmorton wrote: > On 5/16/08 9:16 AM, Saulo Augusto Silva wrote: > > > ... > > proc db2sysc > > proc snmpd > > > > the snmpwalk : > > snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.2.1 > > UCD-SNMP-MIB::prIndex.1 = INTEGER: 1 > > UCD-SNMP-MIB::prIndex.2 = INTEGER: 2 > > UCD-SNMP-MIB::prNames.1 = STRING: db2sysc > > UCD-SNMP-MIB::prNames.2 = STRING: snmpd > > UCD-SNMP-MIB::prMin.1 = INTEGER: 0 > > UCD-SNMP-MIB::prMin.2 = INTEGER: 0 > > UCD-SNMP-MIB::prMax.1 = INTEGER: 0 > > UCD-SNMP-MIB::prMax.2 = INTEGER: 0 > > UCD-SNMP-MIB::prCount.1 = INTEGER: 0 > > UCD-SNMP-MIB::prCount.2 = INTEGER: 0 > > UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 1 > > UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: 1 > > UCD-SNMP-MIB::prErrMessage.1 = STRING: No db2sysc process running. > > UCD-SNMP-MIB::prErrMessage.2 = STRING: No snmpd process running. > > UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0 > > UCD-SNMP-MIB::prErrFix.2 = INTEGER: 0 > > UCD-SNMP-MIB::prErrFixCmd.1 = STRING: > > UCD-SNMP-MIB::prErrFixCmd.2 = STRING: > > > > The ps -e > > > > ps -e |grep db2sysc > > 9812 pts/0 00:00:00 db2syscr > > 9814 pts/0 00:00:00 db2sysc > > 9815 pts/0 00:00:00 db2syscr > > 9816 pts/0 00:00:00 db2syscr > > 9817 pts/0 00:00:00 db2syscr > > Greetings Saulo, > > You didn't mention which OS or net-snmp version you're using.... > > Regardless, the default for recent vintages of net-snmp is to find > process names by looking at the 'Name' line in /proc/$pid/status, so > you'll need to make sure the names in there match the entry in your > config. From what I'm seeing, though, you should at least be getting a > match on the snmpd process - are you by chance running with SELinux enabled? > > -tt Thanks Tom for quickly response . OS : SLES10 S390x ( running a zLinux machine ) net-snmp version : NET-SNMP version: 5.3.0.1 SELinux is not enabled The process name is correct there is another machine that is working . I would like to know with there is any lib that are used that could not be update . Could it be ? Saulo Silva ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cfriesen at telenium.ca Fri May 16 21:18:47 2008 From: cfriesen at telenium.ca (chris friesen) Date: Fri, 16 May 2008 14:18:47 -0500 Subject: nagios plugins install error In-Reply-To: References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> <482AF6E2.3080009@telenium.ca> Message-ID: <482DDE17.1080005@telenium.ca> Slackware 9.1.0 I am tyring to install the Nagios plugins (1.4.11) and receive the error below. I can't tell what it is I need to do. It appears to not like libcrypto.a I have the most current version of openssl. Anybody else have this issue ? /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_ht tp.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcryp to gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/usr/src/nagios-plugins-1.4.11 /plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x51b): In function `dlfcn_unload': : undefined reference to `dlclose' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/usr/src/nagios-plugins-1.4.11/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/nagios-plugins-1.4.11' make: *** [all] Error 2 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 16 22:05:29 2008 From: marc at ena.com (Marc Powell) Date: Fri, 16 May 2008 15:05:29 -0500 Subject: Url in the notification? In-Reply-To: References: Message-ID: On May 16, 2008, at 1:19 PM, Palle L Jensen wrote: > I just love Nagios; it does so much great work for you! > As you work with it though sometimes thoughts comes up, can it do > more? > > Here is my thought. > > For example Nagios sends out an alert on high CPU load, would it be > possible to add the URL to the graph for the CPU load? Yes, if you can programatically create the URL. > > ***** Nagios Monitoring 3.0.1 ***** > > Notification Type: PROBLEM > > Service: Cpu > Host: Server001 > Address: 000.000.000.000 > State: WARNING > Date/Time: Fri May 16 13:36:06 EDT 2008 > Url: http://000.000.000.000/nagios/cgi-bin/graphs.cgi?host=Server01&service=Cpu > > Additional Info: > > CPU Load 80% (5 min average) > > > This would be very cool cause then you could click on the link and > immediately get to the overview of the graphing of the CPU load. > Does anyone know if this would be possible? Very simply. Edit your service notification command to include, in the appropriate place you want it to appear, -- Url: http://000.000.000.000/nagios/cgi-bin/graphs.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ Note that this will only work if your service descriptions do not contain spaces or any other special URL characters (&, ?, etc). If they do, you'll need to make your notiifcation command an actual script that URI Escapes those before sending the e-mail. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 16 22:13:19 2008 From: marc at ena.com (Marc Powell) Date: Fri, 16 May 2008 15:13:19 -0500 Subject: nagios plugins install error In-Reply-To: <482DDE17.1080005@telenium.ca> References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> <482AF6E2.3080009@telenium.ca> <482DDE17.1080005@telenium.ca> Message-ID: On May 16, 2008, at 2:18 PM, chris friesen wrote: > Slackware 9.1.0 I am tyring to install the Nagios plugins (1.4.11) > and > receive the error below. I can't tell what it is I need to do. It > appears to not like libcrypto.a I have the most current version of > openssl. Do you have the openssl development libraries installed? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 16 22:13:23 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 16 May 2008 22:13:23 +0200 Subject: Url in the notification? In-Reply-To: References: Message-ID: <482DEAE3.7000402@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Palle L Jensen wrote: | For example Nagios sends out an alert on high CPU load, would it be | possible to add the URL to the graph for the CPU load? Have you looked at the Macro's? (http://nagios.sourceforge.net/docs/3_0/macrolist.html) $HOSTNOTESURL$ $SERVICENOTESURL$ 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFILerhBvzDRVjxmYERAr+VAJ47eOZknW5COeINiess0wErAfqtLQCeLAB5 MJlxNGwuEijhUii/i1Aj/Zo= =WcvL -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rduqueo at gmail.com Fri May 16 22:42:44 2008 From: rduqueo at gmail.com (Ricardo Duque Olaya) Date: Fri, 16 May 2008 15:42:44 -0500 Subject: EXPORT REPORT TO CSV Message-ID: <20257d820805161342u4ea6af95r8ff51771087e5f1b@mail.gmail.com> Hi People: I have installed Nagios 3.0.1. I want export availability report to CSV, but Nagios only export to CSV when I select ALL HOST. I need export all availability reports to CSV, I tried with nagios-reporter.v131.pl and a patch to avail.c, but none works. Any help?? Regards -- Ricardo Duque Olaya Ing. Electronico - UN -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cfriesen at telenium.ca Fri May 16 23:26:59 2008 From: cfriesen at telenium.ca (chris friesen) Date: Fri, 16 May 2008 16:26:59 -0500 Subject: nagios plugins install error In-Reply-To: References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> <482AF6E2.3080009@telenium.ca> <482DDE17.1080005@telenium.ca> Message-ID: <482DFC23.6080607@telenium.ca> I believe so, I installed the openssl-devel.rpm and converted to .tgz so... but even so I still get the error... Marc Powell wrote: > On May 16, 2008, at 2:18 PM, chris friesen wrote: > > >> Slackware 9.1.0 I am tyring to install the Nagios plugins (1.4.11) >> and >> receive the error below. I can't tell what it is I need to do. It >> appears to not like libcrypto.a I have the most current version of >> openssl. >> > > Do you have the openssl development libraries installed? > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat May 17 07:48:22 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 17 May 2008 07:48:22 +0200 Subject: nagios plugins install error In-Reply-To: <482DFC23.6080607@telenium.ca> References: <148031.90771.qm@web26107.mail.ukl.yahoo.com> <43373B7717A9AE47939A5DF427B9FB7501EAC0CA@SME0019.o.eon-energie.net> <56F8CBCA82D02D4B894B69C804906D1A0111ED79@usnjpar1blex04.us.ad.irmc.com> <482AF6E2.3080009@telenium.ca> <482DDE17.1080005@telenium.ca> <482DFC23.6080607@telenium.ca> Message-ID: <482E71A6.6000300@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 chris friesen wrote: | I believe so, I installed the openssl-devel.rpm and converted to .tgz | so... but even so I still get the error... You are running slackware. So if you start installing rpm stuff you are screwing up a system. If you want to use a system like Slackware then you better learn how to use it first. This is not a nagios problem but a lack of understanding of the operating system you are using. 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFILnGlBvzDRVjxmYERAoy+AKCJuKP6dIz/89SYQ6tagEW0P1+PPgCfchhO 6J92TXVn6rohcHp98VQExpY= =O5cE -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sun May 18 15:56:29 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sun, 18 May 2008 10:56:29 -0300 Subject: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' Message-ID: <20080518135629.GH24087@hermes.freesoftware.org> Hi! I've update the Nagios version from 3.0b5 to 3.0.1 stable. But re-scheduling a new check for a service I get: ------------------------------------------------------------------------- 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. ------------------------------------------------------------------------- sparky:/usr/local/nagios/var/rw# ll total 0 prw-rw---- 1 nagios nagios 0 2008-05-18 10:38 nagios.cmd sparky:/usr/local/nagios/var/rw# id nagios uid=1001(nagios) gid=1001(nagios) groups=1001(nagios),1002(nagcmd) sparky:/usr/local/nagios/var/rw# id www-data uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(nagcmd) The permissions are according to Ubuntu Quickstart. Changing the group of nagios.cmd to nagcmd I get rid of the problem. But restarting Nagios, the nagios.cmd permissions are reset to nagios:nagios. What can be the problem? Tnaks in advance. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lennt - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sun May 18 17:33:44 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sun, 18 May 2008 12:33:44 -0300 Subject: Last check displayed Message-ID: <20080518153344.GI24087@hermes.freesoftware.org> Hi! I've noticed a sensible difference in the hosts displayed in the service detail' Nagios interface for last check. In some host the hour is consistent with the actual one, but in others I observe a differences of one or more hours. This can be due to some Nagios cache? Thanks in advance Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 18 19:34:31 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 18 May 2008 17:34:31 +0000 Subject: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: <20080518135629.GH24087@hermes.freesoftware.org> References: <20080518135629.GH24087@hermes.freesoftware.org> Message-ID: <93C487A372B3774CAEAA15D524CCF3D122883BBC2A@G1W0485.americas.hpqcorp.net> > I've update the Nagios version from 3.0b5 to 3.0.1 stable. But > re-scheduling a new check for a service I get: > > ----------------------------------------------------------------------- > -- > 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. > ----------------------------------------------------------------------- > -- > > sparky:/usr/local/nagios/var/rw# ll > total 0 > prw-rw---- 1 nagios nagios 0 2008-05-18 10:38 nagios.cmd > sparky:/usr/local/nagios/var/rw# id nagios > uid=1001(nagios) gid=1001(nagios) groups=1001(nagios),1002(nagcmd) > sparky:/usr/local/nagios/var/rw# id www-data > uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(nagcmd) > > The permissions are according to Ubuntu Quickstart. Changing the group > of nagios.cmd to nagcmd I get rid of the problem. But restarting > Nagios, > the nagios.cmd permissions are reset to nagios:nagios. What can be the > problem? Sounds like when you updated you compiled with a different user and/or group than your older version. There are at least a couple ways to fix this. One would be to recompile Nagios to use a group your webserver is a member of. Another would be to set the "rw" directory setgid www-data so new files created there have that as their group. For that to work, the nagios user would also need to be a member of www-data. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 18 19:37:51 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 18 May 2008 17:37:51 +0000 Subject: Last check displayed In-Reply-To: <20080518153344.GI24087@hermes.freesoftware.org> References: <20080518153344.GI24087@hermes.freesoftware.org> Message-ID: <93C487A372B3774CAEAA15D524CCF3D122883BBC2B@G1W0485.americas.hpqcorp.net> > I've noticed a sensible difference in the hosts displayed in the > service detail' Nagios interface for last check. In some host the hour > is consistent with the actual one, but in others I observe a > differences of one or more hours. > > This can be due to some Nagios cache? No, it's not due to cache. You probably just have services scheduled in a way that some don't run as often as others. Without more information, it's impossible to say why you're seeing what you're seeing. ---------------------------------------------------------------------