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. ------------------------------------------------------------------------- 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 fagundes.pacheco at gmail.com Sun May 18 21:15:09 2008 From: fagundes.pacheco at gmail.com (Rodrigo Pacheco) Date: Sun, 18 May 2008 16:15:09 -0300 Subject: problemas with check_icmp Message-ID: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@mail.gmail.com> Dear, I'm having some problems with my Nagios 3.0 they are: the plugin check_icmp to use the console in hand does not return the same value when it is executed by Nagios (I am using the same syntax and host). How could solve this? Monitoring the local network realized that the values informed by the front end of Nagios is a big difference. When I check_ping tests with the same values are returned by both. cheers, Rodrigo -------------- 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.novak at eds.com Sun May 18 23:01:37 2008 From: mark.novak at eds.com (Novak, Mark) Date: Sun, 18 May 2008 16:01:37 -0500 Subject: Problem with CHECK_SAP_CONS In-Reply-To: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@mail.gmail.com> References: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@mail.gmail.com> Message-ID: <906530D5DDCFB34DBF9A6697071FDB3402D46866@usplm215.amer.corp.eds.com> Hello Everyone, I am trying to make the SAP CCMS plugins work with my systems. I have successfully installed and configured ./check_sap.sh, and it works fine. When setting up check_sap_cons, I set up an agent.cfg and login.cfg in /etc/sapmon. For the login.cfg, I used my userid and password (SAP_ALL and SAP_NEW). When I execute "./check_sap_cons 00 SM1", I receive the following error: <== RfcLastError FUNCTION: SXMI_LOGON RFC operation/code SYSTEM_FAILURE ERROR/EXCEPTION key : status : message : Name or password is incorrect (repeat logon) internal: <== RfcClose I have googled for this error and checked the newsgroups. I followed Wolfgang Barth's excellent book for the setup. I am not sure why I would get an incorrect username/password error. I can log in fine through SAPGUI with the same username/password combo. Any and all assistance is much appreciated! agent.cfg -> [TEMPLATE_00] DESCRIPTION=Dialog response time MONI_SET_NAME=SAP CCMS Monitor Templates MONI_NAME=DIALOG Overview PATTERN_0=* login.cfg -> [LOGIN_SM1] LOGIN=-d SM1 -u user -p password -c 001 -h myhostname -s 00 Command that I am running -> ./check_sap_cons 00 SM1 Thanks, Mark Novak EDS SAP Practice Office: 972-605-2817 Cell: 214-725-5295 Email: mark.novak at eds.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 daniel-listas at gmx.net Sun May 18 23:26:06 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sun, 18 May 2008 18:26:06 -0300 Subject: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: <93C487A372B3774CAEAA15D524CCF3D122883BBC2A@G1W0485.americas.hpqcorp.net> References: <20080518135629.GH24087@hermes.freesoftware.org> <93C487A372B3774CAEAA15D524CCF3D122883BBC2A@G1W0485.americas.hpqcorp.net> Message-ID: <20080518212606.GJ24087@hermes.freesoftware.org> On Sunday, 18 May 2008 17:34:31 +0000, Morris, Patrick wrote: > > 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. I upgrade follow this [1] guide, using: ./configure --with-command-group=nagcmd make all make install Previously I did not make changes in the users or groups. These are: 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) In case it is of utility, after to run the 'configure', this is the summary that I obtain: *** Configuration summary for nagios 3.0.1 05-16-2008 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagcmd Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Check result directory: ${prefix}/var/spool/checkresults Init directory: /etc/init.d Apache conf.d directory: /etc/apache2/conf.d Mail program: /usr/bin/mail Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Thanks for your reply, Patrick. Regards, Daniel [1] http://nagios.sourceforge.net/docs/3_0/upgrading.html -- 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 finchs at stgeorge.com.au Mon May 19 02:28:06 2008 From: finchs at stgeorge.com.au (Simon Finch) Date: Mon, 19 May 2008 10:28:06 +1000 Subject: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: <20080518212606.GJ24087@hermes.freesoftware.org> References: <20080518135629.GH24087@hermes.freesoftware.org> <93C487A372B3774CAEAA15D524CCF3D122883BBC2A@G1W0485.americas.hpqcorp.net> <20080518212606.GJ24087@hermes.freesoftware.org> Message-ID: <4831563A.B47D.0048.0@stgeorge.com.au> Hi Daniel, I am new to Nagios and I had the same problem with a new install of 3.0.1 on RHES4. The fix for me was to apply the rights to the rw directory instead of the nagios.cmd file as the file gets recreated regularly and will loose any rights you apply to it. HTH, Simon Finch ESM Team Leader St.George Bank Australia >>> Daniel Bareiro 19/05/2008 7:26 am >>> On Sunday, 18 May 2008 17:34:31 +0000, Morris, Patrick wrote: > > 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. I upgrade follow this [1] guide, using: ./configure --with-command-group=nagcmd make all make install Previously I did not make changes in the users or groups. These are: 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) In case it is of utility, after to run the 'configure', this is the summary that I obtain: *** Configuration summary for nagios 3.0.1 05-16-2008 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagcmd Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Check result directory: ${prefix}/var/spool/checkresults Init directory: /etc/init.d Apache conf.d directory: /etc/apache2/conf.d Mail program: /usr/bin/mail Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Thanks for your reply, Patrick. Regards, Daniel [1] http://nagios.sourceforge.net/docs/3_0/upgrading.html -- 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 ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- 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 Mon May 19 05:53:03 2008 From: marc at ena.com (Marc Powell) Date: Sun, 18 May 2008 22:53:03 -0500 Subject: Could not open commandfile '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: <93C487A372B3774CAEAA15D524CCF3D122883BBC2A@G1W0485.americas.hpqcorp.net> References: <93C487A372B3774CAEAA15D524CCF3D122883BBC2A@G1W0485.americas.hpqcorp.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Sunday, May 18, 2008 12:35 PM > To: dbareiro at gmx.net; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Could not open commandfile > '/usr/local/nagios/var/rw/nagios.cmd' > > 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. ... or just set nagios_group in nagios.cfg to be nagcmd... -- 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 Mon May 19 05:56:06 2008 From: marc at ena.com (Marc Powell) Date: Sun, 18 May 2008 22:56:06 -0500 Subject: problemas with check_icmp In-Reply-To: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@mail.gmail.com> References: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@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 Rodrigo Pacheco > Sent: Sunday, May 18, 2008 2:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problemas with check_icmp > > Dear, > > I'm having some problems with my Nagios 3.0 they are: > > > the plugin check_icmp to use the console in hand does not return the same > value when it is executed by Nagios (I am using the same syntax and host). How > could solve this? One returns apples and the other bananas? Please be more specific in what the problem is. Provide examples and explain the discrepancy if it's not clear. -- 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 dani at ai3.itb.ac.id Mon May 19 06:19:42 2008 From: dani at ai3.itb.ac.id (dani) Date: Mon, 19 May 2008 11:19:42 +0700 (WIT) Subject: using check_apc, how to? Message-ID: <20080517180350.U62297@ai3.itb.ac.id> when i enter the command ./check_apc load 60 80 192.168.10.1 the result show; upsmon# ./check_apc load 60 80 192.168.10.1 [: : bad number [: : bad number UPS OK - LOAD: % there is no value of the load, but if i entering command upsmon# apcaccess status 192.168.10.1 APC : [rec] DATE : Sat May 17 17:49:00 WIT 2008 HOSTNAME : 192.168.10.1 RELEASE : 3.14.0 VERSION : 3.14.0 (9 February 2007) freebsd UPSNAME : 2k2-apc CABLE : Custom Cable Smart MODEL : Smart-UPS 2200 UPSMODE : Stand Alone STARTTIME: Fri May 16 18:09:39 WIT 2008 STATUS : BOOST ONLINE LINEV : 211.6 Volts LOADPCT : 31.8 Percent Load Capacity BCHARGE : 100.0 Percent TIMELEFT : 48.0 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds MAXLINEV : 211.6 Volts MINLINEV : 210.2 Volts OUTPUTV : 241.9 Volts SENSE : High DWAKE : 000 Seconds DSHUTD : 180 Seconds DLOWBATT : 02 Minutes LOTRANS : 208.0 Volts HITRANS : 253.0 Volts RETPCT : 000.0 Percent ITEMP : 32.8 C Internal ALARMDEL : 5 seconds BATTV : 54.8 Volts LINEFREQ : 50.0 Hz LASTXFER : Automatic or explicit self test NUMXFERS : 0 TONBATT : 0 seconds CUMONBATT: 0 seconds XOFFBATT : N/A SELFTEST : NO STESTI : 336 STATFLAG : 0x0700000C Status Flag REG1 : 0x00 Register 1 REG2 : 0x00 Register 2 REG3 : 0x00 Register 3 MANDATE : 06/02/05 SERIALNO : JS0523034063 BATTDATE : 06/02/05 NOMOUTV : 230 NOMBATTV : 48.0 EXTBATTS : 0 FIRMWARE : 654.12.I APCMODEL : FWI END APC : Sat May 17 17:49:50 WIT 2008 and nagios got error message,... can anyone help me, please,... ===================================== ^_* Just A Man Behind The Scene *_^ ===================================== ------------------------------------------------------------------------- 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 izz_abdullah at inbox.com Mon May 19 06:30:08 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Sun, 18 May 2008 20:30:08 -0800 Subject: Performance data for service Message-ID: <73D194B43B6.0000037Eizz_abdullah@inbox.com> I have enabled performance data for my monitored Windows 2k3 server. I am receiving performance data, not extremely clear, but receiving, for the defaulted services. What I want is to see performance data on running processes as well (e.g. the Explorer.exe process has nothing in the performance data field). Can someone please assist? Thank you, Izz ____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! ------------------------------------------------------------------------- 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 secrookie at gmail.com Mon May 19 06:53:04 2008 From: secrookie at gmail.com (secrookie at gmail.com) Date: Mon, 19 May 2008 14:53:04 +1000 Subject: logserver plugin has self terminated Message-ID: I have been running the logserver plugin for a few weeks now and its been doing its job well until a few days ago. I get the following error: CRITICAL: logserver plugin has self terminated after exceeding the timeout (30 seconds) I have tried to restart the nagios service but this check appears to keep terminating. Any ideas? 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 michaelmukherji at gmail.com Mon May 19 08:22:08 2008 From: michaelmukherji at gmail.com (Michael Mukherji) Date: Mon, 19 May 2008 11:52:08 +0530 Subject: Problem with PNP4 configurations. Message-ID: <8facdc490805182322w6a679364q9d96801bf74409f4@mail.gmail.com> Hello list I am using nagios 3.0.1 ie the stable version in Ubuntu 7.10. I have installed pnp4 0.4.9 .I I have made changes as per documentation for pnp4 for default mode nagios.cfg file. process_performance_data=1 service_perfdata_command=process-service-perfdata host_perfdata_command=process-host-perfdata commands.cfg file define command { command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } define command { command_name process-host-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA } Added following changes in windows.cfg file define host { name host-pnp -------do i need to change this name ? register 0 action_url /nagios/pnp/index.php?host=$HOSTNAME$ } define service { name srv-pnp register 0 action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } also in each service for which i want data processing the following line define service { ... process_perf_data 1 ... } now when i try to view the pages it says Initalising Using /usr/local/nagios/share/perfdata/ RRDTool /usr/bin/rrdtool found. RRDTool /usr/bin/rrdtool is executable PHP Function proc_open is enabled PHP Function fpassthru is enabled PHP Function xml_parser_create is enabled PHP zlib Support found. PHP GD Support found. RRD Base Directory /usr/local/nagios/share/perfdata/ found. Hostname is not set. appreciate some help on this !! Regards Michael 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 vmanojv at rediffmail.com Mon May 19 09:07:01 2008 From: vmanojv at rediffmail.com (Nair) Date: 19 May 2008 07:07:01 -0000 Subject: Nagios and SOAP Message-ID: <20080519070701.20867.qmail@f5mail-237-241.rediffmail.com> Any one tried SOAP request integration with Nagios? Thank you, Nair. -------------- 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 19 09:29:53 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 19 May 2008 09:29:53 +0200 Subject: logserver plugin has self terminated In-Reply-To: References: Message-ID: <48312C71.9030306@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 secrookie at gmail.com wrote: | I have been running the logserver plugin for a few weeks now and its | been doing its job well until a few days ago. I get the following | error: | | CRITICAL: logserver plugin has self terminated after exceeding the | timeout (30 seconds) | | I have tried to restart the nagios service but this check appears to | keep terminating. The obvious thing is to run the same command by hand and see what happens. Obviously you must run it as the same user as nagios to get usefull details. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIMSxvBvzDRVjxmYERAl9YAJ4nPAlxkkusBUenvOYwaMn3JGH2wQCgtAoo BtHpsyFEGEnbtexUCRXyhYo= =VOj1 -----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 hpsekhon at googlemail.com Mon May 19 10:42:08 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 19 May 2008 09:42:08 +0100 Subject: logserver plugin has self terminated In-Reply-To: References: Message-ID: <48313D60.6040108@googlemail.com> secrookie at gmail.com wrote: > I have been running the logserver plugin for a few weeks now and its > been doing its job well until a few days ago. I get the following > error: > > CRITICAL: logserver plugin has self terminated after exceeding the > timeout (30 seconds) > > I have tried to restart the nagios service but this check appears to > keep terminating. > > Any ideas? > > regards, > secrookie > As your logserver database has grown it takes longer to do a query against it. This means that the query now takes a sufficiently long time for the test to timeout. What you need to do is: 1. Switch the check to being a passive check (as per my recommendation in the documentation on the NagiosExchange page), otherwise you'd have to increase the nagios global check timeout which affects all plugins and is not my preferred solution. 2. Increase the timeout on the plugin if necessary using the -t switch. -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 adesperateuser at googlemail.com Mon May 19 12:24:16 2008 From: adesperateuser at googlemail.com (Marcus) Date: Mon, 19 May 2008 12:24:16 +0200 Subject: [Nagiosplug-help] NRPE and monitoring specify port In-Reply-To: <4625D6B700264D0B@galantos.tiscali.cz> References: <4625D6B700264D0B@galantos.tiscali.cz> Message-ID: <48315550.50302@googlemail.com> jendan at tiscali.cz schrieb: > Yeeeeaaaah, it work, thank you so much..... Welcome. > yet one ask......can i do that definiton for tcp universal and only define > number of port in services.cfg? > Now i have in commands.cfg commands > check_tcp1, check_tcp2, check_tcp3, check_tcp4, check_tcp5 etc....and in > this i have numbers of port, and for each service of host i use that tcp1, > or tcp2,..... > could i define that number of port in definiton of service?? Sure, just use $ARG1$ $ARG2$ etc, in your command definition. (See the fabulous manual on this issue, to clarify if needed.) # 'check_tcp' command definition define command{ command_name check_tcp command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } in your service definition you can then use service 1 check_command check_tcp!123 service 2 check_command check_tcp!456 The "!" is for seperating command-name and parameter. I hope I understood right, what you are trying to do (having a parametrized command-definition, and give the port as a parameter). Greetz, Marcus P.S.: Please don't answer to me directly but to the nagios-list, so everyone can profit from the solution of your problem. ------------------------------------------------------------------------- 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 pradeeppokharkar at yahoo.com Mon May 19 12:44:38 2008 From: pradeeppokharkar at yahoo.com (Pradeep Pokharkar) Date: Mon, 19 May 2008 03:44:38 -0700 (PDT) Subject: Nagios-OS? Message-ID: <193125.30319.qm@web51708.mail.re2.yahoo.com> Hi, Can anybody tell me which opertaing system should I go for?Nagios,?Redhat Enterprise Linux5 server or workstation? Regards, Pradeep ----- Original Message ---- From: "nagios-users-request at lists.sourceforge.net" To: nagios-users at lists.sourceforge.net Sent: Monday, May 19, 2008 12:49:15 AM Subject: Nagios-users Digest, Vol 24, Issue 32 Send Nagios-users mailing list submissions to ??? nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to ??? nagios-users-request at lists.sourceforge.net You can reach the person managing the list at ??? nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: ? 1. Could not open command file ? ? ? '/usr/local/nagios/var/rw/nagios.cmd' (Daniel Bareiro) ? 2. Last check displayed (Daniel Bareiro) ? 3. Re: Could not open command??? file ? ? ? '/usr/local/nagios/var/rw/nagios.cmd' (Morris, Patrick) ? 4. Re: Last check displayed (Morris, Patrick) ? 5. problemas with check_icmp (Rodrigo Pacheco) ---------------------------------------------------------------------- Message: 1 Date: Sun, 18 May 2008 10:56:29 -0300 From: Daniel Bareiro Subject: [Nagios-users] Could not open command file ??? '/usr/local/nagios/var/rw/nagios.cmd' To: nagios-users at lists.sourceforge.net Message-ID: <20080518135629.GH24087 at hermes.freesoftware.org> Content-Type: text/plain; charset="us-ascii" 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: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature ------------------------------ Message: 2 Date: Sun, 18 May 2008 12:33:44 -0300 From: Daniel Bareiro Subject: [Nagios-users] Last check displayed To: nagios-users at lists.sourceforge.net Message-ID: <20080518153344.GI24087 at hermes.freesoftware.org> Content-Type: text/plain; charset="us-ascii" 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: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature ------------------------------ Message: 3 Date: Sun, 18 May 2008 17:34:31 +0000 From: "Morris, Patrick" Subject: Re: [Nagios-users] Could not open command??? file ??? '/usr/local/nagios/var/rw/nagios.cmd' To: "dbareiro at gmx.net" , ??? "nagios-users at lists.sourceforge.net" ??? Message-ID: ??? <93C487A372B3774CAEAA15D524CCF3D122883BBC2A at G1W0485.americas.hpqcorp.net> ??? Content-Type: text/plain; charset="us-ascii" > 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. ------------------------------ Message: 4 Date: Sun, 18 May 2008 17:37:51 +0000 From: "Morris, Patrick" Subject: Re: [Nagios-users] Last check displayed To: "dbareiro at gmx.net" , ??? "nagios-users at lists.sourceforge.net" ??? Message-ID: ??? <93C487A372B3774CAEAA15D524CCF3D122883BBC2B at G1W0485.americas.hpqcorp.net> ??? Content-Type: text/plain; charset="us-ascii" > 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. ------------------------------ Message: 5 Date: Sun, 18 May 2008 16:15:09 -0300 From: "Rodrigo Pacheco" Subject: [Nagios-users] problemas with check_icmp To: nagios-users at lists.sourceforge.net Message-ID: ??? <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Dear, I'm having some problems with my Nagios 3.0 they are: the plugin check_icmp to use the console in hand does not return the same value when it is executed by Nagios (I am using the same syntax and host). How could solve this? Monitoring the local network realized that the values informed by the front end of Nagios is a big difference. When I check_ping tests with the same values are returned by both. cheers, Rodrigo -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------- 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 End of Nagios-users Digest, Vol 24, Issue 32 ******************************************** -------------- 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 hpsekhon at googlemail.com Mon May 19 12:47:34 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 19 May 2008 11:47:34 +0100 Subject: Nagios-OS? In-Reply-To: <193125.30319.qm@web51708.mail.re2.yahoo.com> References: <193125.30319.qm@web51708.mail.re2.yahoo.com> Message-ID: <48315AC6.70506@googlemail.com> Pradeep Pokharkar wrote: > Hi, > > Can anybody tell me which opertaing system should I go > for Nagios, Redhat Enterprise Linux5 server or workstation? > Regards, > Pradeep Out of those 2? RHEL server Or you could get a better distribution... ;-) -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 drew.weaver at thenap.com Mon May 19 13:53:50 2008 From: drew.weaver at thenap.com (Drew Weaver) Date: Mon, 19 May 2008 07:53:50 -0400 Subject: slight conceptual confusion Message-ID: I'm trying to simultaneously graph and monitor with Nagios CPU/RAM/DISK utilization on hosts. If I get the hosts to where they're allowing the Nagios machine to snmpget the cpu/ram/disk OIDs/etc should I be able to get something working to this effect or is there a totally different way as far as the monitoring part that I am completely unaware of that would make my life 99% easier? As far as the graphing I am assuming its fairly standard to just use rrdtool these days? -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 hpsekhon at googlemail.com Mon May 19 14:32:34 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 19 May 2008 13:32:34 +0100 Subject: Nagios-OS? In-Reply-To: <785311.76453.qm@web51709.mail.re2.yahoo.com> References: <785311.76453.qm@web51709.mail.re2.yahoo.com> Message-ID: <48317362.3090106@googlemail.com> Pradeep, Please reply to the mailing-list rather than me personally so that other people can follow the conversation as well as it may benefit them or they may be able to give you further insight/contributions. Now to answer your question: You could probably run Nagios on the workstation edition but the packages on the workstation edition will be more aimed at desktops and workstations whereas Nagios is a server and therefore a server orientated version is preferable to try to keep things a bit tighter as per best practices. For example, on a server, you probably don't want X windows etc as these have no place on an infrastructure server and real sysadmins don't need GUIs. -h Pradeep Pokharkar wrote: > > Dear Hari Sekhon, > > > > Thanks for the quick reply. > > > > Yes, out of the two version you suggested the server version. I would > like to know what are all things not available workstation version > required for nagios. > > > pradeep > > ----- Original Message ---- > From: Hari Sekhon > To: Pradeep Pokharkar > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, May 19, 2008 4:17:34 PM > Subject: Re: [Nagios-users] Nagios-OS? > > Pradeep Pokharkar wrote: > > Hi, > > > > Can anybody tell me which opertaing system should I go > > for Nagios, Redhat Enterprise Linux5 server or workstation? > > Regards, > > Pradeep > Out of those 2? > > RHEL server > > Or you could get a better distribution... ;-) > > -h > > -- > Hari Sekhon > > -- 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 colin.mckinnon at gmail.com Mon May 19 15:52:33 2008 From: colin.mckinnon at gmail.com (Colin McKinnon) Date: Mon, 19 May 2008 14:52:33 +0100 Subject: Last check displayed Message-ID: On 18 May 2008 12:33:44 -0300, Daniel Bareiro wrote: > 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 - host checks only run when the service exhibits a state change. See http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks C. ------------------------------------------------------------------------- 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 fagundes.pacheco at gmail.com Mon May 19 16:32:12 2008 From: fagundes.pacheco at gmail.com (Rodrigo Pacheco) Date: Mon, 19 May 2008 11:32:12 -0300 Subject: problemas with check_icmp In-Reply-To: References: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@mail.gmail.com> Message-ID: <924eed8b0805190732w149ba91maf5c8d011bd04362@mail.gmail.com> Dear, excuse for the lack of details, I have a server nagios 3.0rc Debian operating system version 4.0. When the command check_icmp road in the server console Ex:. / Check_icmp-H 10.109.0.109 OK - 10,109,235,100: rta 0548ms, lost 0% | rta = 0548ms, 200000, 500000; 0; pl = 0%, 40, 80;; When you see the server Nagios see that the value of the RTA and pl are not equal to that the tests performed in console returned. All are host to my local network. I have observed that the check_ping is working perfectly no longer check_icmp. look the image please. http://img397.imageshack.us/my.php?image=nagiosicmppb9.jpg regards, Rodrigo 2008/5/19, Marc Powell : > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Pacheco > > Sent: Sunday, May 18, 2008 2:15 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] problemas with check_icmp > > > > Dear, > > > > I'm having some problems with my Nagios 3.0 they are: > > > > > > the plugin check_icmp to use the console in hand does not return the > same > > value when it is executed by Nagios (I am using the same syntax and > host). How > > could solve this? > > One returns apples and the other bananas? Please be more specific in > what the problem is. Provide examples and explain the discrepancy if > it's not clear. > > -- > 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 > -------------- 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 19 16:33:34 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 19 May 2008 16:33:34 +0200 Subject: Nagios-OS? In-Reply-To: <48317362.3090106@googlemail.com> References: <785311.76453.qm@web51709.mail.re2.yahoo.com> <48317362.3090106@googlemail.com> Message-ID: <48318FBE.7050506@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: | You could probably run Nagios on the workstation edition but the | packages on the workstation edition will be more aimed at desktops and | workstations whereas Nagios is a server and therefore a server | orientated version is preferable to try to keep things a bit tighter as | per best practices. For example, on a server, you probably don't want X | windows etc as these have no place on an infrastructure server and real | sysadmins don't need GUIs. Well. Real sysadmins propably do not need to ask what OS to use. They have allready made the choice. So I would guess the OP is not that familiar with the tasks at hand and may need the extra help a GUI might seem to offer. 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) iD8DBQFIMY+9BvzDRVjxmYERAtTLAJ9s5AT1DGseLlH/eGxeliKkJj+HygCfTLWK iRo4FsTOfhm5CPYgx0m0HI8= =tum/ -----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 marc at ena.com Mon May 19 17:34:25 2008 From: marc at ena.com (Marc Powell) Date: Mon, 19 May 2008 10:34:25 -0500 Subject: problemas with check_icmp In-Reply-To: <924eed8b0805190732w149ba91maf5c8d011bd04362@mail.gmail.com> References: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@mail.gmail.com> <924eed8b0805190732w149ba91maf5c8d011bd04362@mail.gmail.com> Message-ID: <8A7ACF0F-DF11-4346-AF69-547644D20462@ena.com> On May 19, 2008, at 9:32 AM, Rodrigo Pacheco wrote: > Dear, > > excuse for the lack of details, I have a server nagios 3.0rc Debian > operating system version 4.0. > When the command check_icmp road in the server console > > Ex:. / Check_icmp-H 10.109.0.109 > OK - 10,109,235,100: rta 0548ms, lost 0% | rta = 0548ms, 200000, > 500000; 0; pl = 0%, 40, 80; > > http://img397.imageshack.us/my.php?image=nagiosicmppb9.jpg > I've never seen/heard of check_icmp reporting inaccurate data (I use it for ~2700 devices) so my first assumption is that there really is a problem, seemingly intermittent. If it were me, I'd set up a little loop with check_icmp to ping every 30 seconds or so, from the command line, as the nagios user and not root, to see if it were reproducible. bash while true; do /usr/local/nagios/libexec/check_icmp -H 10.109.0.109; sleep 30; done -- 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 Mon May 19 18:29:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 19 May 2008 18:29:15 +0200 Subject: [Fwd: Enquiry [104709] Created - Re: Nagios-OS?] Message-ID: <4831AADB.6090806@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 How much of you have been assigned a ticket (or more) by this autoresponder on the mailinglist? - -------- Original Message -------- Subject: Enquiry [104709] Created - Re: [Nagios-users] Nagios-OS? Date: Tue, 20 May 2008 00:40:06 +1000 From: Sauce Software To: hvdkooij at vanderkooij.org Dear Hugo van der Kooij, Your enquiry has been received and lodged with the helpdesk. For your future reference this enquiry has been assigned a ticket number. Please use this ticket number when referring to this ticket in the future. Ticket No: 104709 If you have any more queries or require further assistance please send an email to the following address: support at saucesoft.com View enquiry: http://sauceopen.com/portal/index.php?option=com_vtportal&task=enquiries&ticketid=104709&action=detail Thank you, Sauce Software - -------------------- This message has been generated automatically, please do not reply. - -- 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) iD8DBQFIMarYBvzDRVjxmYERAjF5AJ9USo5ghNYPDZuqEdsOfuBtxL9c6gCff26D r7Vdt/rNlc7IFHaBIxyT4GQ= =ItBR -----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 hpsekhon at googlemail.com Mon May 19 19:16:07 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 19 May 2008 18:16:07 +0100 Subject: [Fwd: Enquiry [104709] Created - Re: Nagios-OS?] In-Reply-To: <4831AADB.6090806@vanderkooij.org> References: <4831AADB.6090806@vanderkooij.org> Message-ID: <4831B5D7.70008@googlemail.com> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > How much of you have been assigned a ticket (or more) by this > autoresponder on the mailinglist? > > - -------- Original Message -------- > Subject: Enquiry [104709] Created - Re: [Nagios-users] Nagios-OS? > Date: Tue, 20 May 2008 00:40:06 +1000 > From: Sauce Software > To: hvdkooij at vanderkooij.org > > Dear Hugo van der Kooij, > > Your enquiry has been received and lodged with the helpdesk. > > For your future reference this enquiry has been assigned a ticket > number. Please use this ticket number when referring to this ticket in > the future. > > Ticket No: 104709 > > If you have any more queries or require further assistance please send > an email to the following address: support at saucesoft.com > > View enquiry: > http://sauceopen.com/portal/index.php?option=com_vtportal&task=enquiries&ticketid=104709&action=detail > > Thank you, > Sauce Software > > - -------------------- > > This message has been generated automatically, please do not reply. > > > Probably everyone but looks suspect so I'm not touching it, could be anyone signed up to the list with an autoresponder to catch all posters. If it's not official I hope someone bans them. If it is offical then perhaps some explanation is needed. -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 marc at ena.com Mon May 19 19:56:09 2008 From: marc at ena.com (Marc Powell) Date: Mon, 19 May 2008 12:56:09 -0500 Subject: Fwd: Enquiry [104899] Created - Re: problemas with check_icmp References: <8a66687f3c8358fd1945fff9aaa74432@localhost.localdomain> Message-ID: Hello, Please identify and disable the e-mail address that is sending messages from the public nagios-users at lists.sourceforge.net listserv to your ticketing system. These messages are unwelcome to the members of this listserv and reflect poorly on your Company in a public, and indefinitely archived, manner. If these are truly opening tickets, surely you know already that this is an issue. -- Marc Begin forwarded message: > From: Sauce Software > Date: May 19, 2008 12:15:04 PM CDT > To: marc at ena.com > Subject: Enquiry [104899] Created - Re: [Nagios-users] problemas > with check_icmp > > Dear Marc Powell, > > Your enquiry has been received and lodged with the helpdesk. > > For your future reference this enquiry has been assigned a ticket > number. Please use this ticket number when referring to this ticket > in the future. > > Ticket No: 104899 > > If you have any more queries or require further assistance please > send an email to the following address: support at saucesoft.com > > View enquiry: > http://sauceopen.com/portal/index.php?option=com_vtportal&task=enquiries&ticketid=104899&action=detail > > Thank you, > Sauce Software > > -------------------- > > This message has been generated automatically, please do not reply. > > ------------------------------------------------------------------------- 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 Mon May 19 20:22:13 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 19 May 2008 14:22:13 -0400 Subject: nagios plugins install error In-Reply-To: <482E71A6.6000300@vanderkooij.org> 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> <482E71A6.6000300@vanderkooij.org> Message-ID: <4831C555.9030005@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/05/08 01:48 AM, Hugo van der Kooij wrote: > 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. I already responded to this in the nagiosplug-help mailing list... The problem seems that nagiosplug configure detected openaal in /usr/local. While there could be valid reason to have one there he can force the path to /usr to get the right one. BTW I believe there's no openssl devel package on Slackware - openssl installs both libs and headers. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIMcVV6dZ+Kt5BchYRArfvAJ9UVgQYb8jfxIVraH7FjzE87+6kAACfVB9+ yZbu/qqkyJqstdMH5v8VzZk= =gNig -----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 secrookie at gmail.com Tue May 20 06:12:27 2008 From: secrookie at gmail.com (secrookie at gmail.com) Date: Tue, 20 May 2008 14:12:27 +1000 Subject: logserver plugin has self terminated In-Reply-To: <48313D60.6040108@googlemail.com> References: <48313D60.6040108@googlemail.com> Message-ID: Thanks guys. That has done the trick. regards, secrookie 2008/5/19 Hari Sekhon : > secrookie at gmail.com wrote: >> >> I have been running the logserver plugin for a few weeks now and its >> been doing its job well until a few days ago. I get the following >> error: >> >> CRITICAL: logserver plugin has self terminated after exceeding the >> timeout (30 seconds) >> >> I have tried to restart the nagios service but this check appears to >> keep terminating. >> >> Any ideas? >> >> regards, >> secrookie >> > > As your logserver database has grown it takes longer to do a query against > it. > > This means that the query now takes a sufficiently long time for the test to > timeout. What you need to do is: > > 1. Switch the check to being a passive check (as per my recommendation in > the documentation on the NagiosExchange page), otherwise you'd have to > increase the nagios global check timeout which affects all plugins and is > not my preferred solution. > 2. Increase the timeout on the plugin if necessary using the -t switch. > > -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 michaelmukherji at gmail.com Tue May 20 09:23:48 2008 From: michaelmukherji at gmail.com (Michael Mukherji) Date: Tue, 20 May 2008 12:53:48 +0530 Subject: Problem with Router status in notification. Message-ID: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> Hello list I am using nagios 3.0.I am having problem in getting notification for any port down in my router.I am using snmp to collect data. define service{ use generic-service ; Inherit values from a template host_name hongkong-gw1 service_description Port 10 descr adminstatus operstatus check_command check_snmp! -C public -o ifDescr.14,ifAdminStatus.14,ifOperStatus.14 this gives me output SNMP OK - Serial0/0 up(1) up(1) "FTIL1566 Connection to Londonpop-gw1 Ser0/3" now when the port goes down , i recieve messege saying SMNP data not recieved from host , problem unknown.but i want that it should give me messege that the port is down. is there anything i need to change in the above check_snmp command? appreciate your help !! regards Michael -------------- 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 Tue May 20 10:12:09 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 20 May 2008 10:12:09 +0200 Subject: Problem with Router status in notification. In-Reply-To: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> References: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> Message-ID: <483287D9.2040506@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Mukherji wrote: | Hello list | | I am using nagios 3.0.I am having problem in getting notification for | any port down in my router.I am using snmp to collect data. | | define service{ | use generic-service ; Inherit values from a template | host_name hongkong-gw1 | service_description Port 10 descr adminstatus operstatus | check_command check_snmp! -C public -o | ifDescr.14,ifAdminStatus.14,ifOperStatus.14 | | this gives me output | | SNMP OK - Serial0/0 up(1) up(1) "FTIL1566 Connection to Londonpop-gw1 | Ser0/3" | | now when the port goes down , i recieve messege saying SMNP data not | recieved from host , problem unknown.but i want that it should give me | messege that the port is down. | | is there anything i need to change in the above check_snmp command? No. You need to get another router. Cisco in their infinite wisdom will give odd results on some interfaces if they are down. I have seen cases where the interface is there if it's up but when it's down the interface is gone as far as SNMP is concerned. I suggest you open a supprt ticket with Cisco on this odd behaviour. It's their problem and they need to fix it. 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) iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG cZ6DMrhKEhkQOx2lsTJbX7M= =XGIN -----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 hvdkooij at vanderkooij.org Tue May 20 10:20:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 20 May 2008 10:20:15 +0200 Subject: OT: Procmail filter to add Reply-To: to mailinglist Message-ID: <483289BF.2020007@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, A bit off-topic but this list is the only one I have a hard time sending replies back to. So I was thinking of adding a Reply-To: header on my side by adding some code to my procmail filters. Anyone happen to have a working set they would like to share? I allready organize all mailinglists to end up in their respective folders like: :0 * ^X-BeenThere: nagios-users at lists.sourceforge.net.* Maildir/.NAGIOS-USERS/ 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) iD8DBQFIMom+BvzDRVjxmYERAnCzAJ9fw2lDrCLNqhc9aMT3d6N+BStRAQCeI7MN XhwoImtfb0uN7OEW+gyPJ88= =RU6x -----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 PVillanueva at lear.com Tue May 20 10:38:24 2008 From: PVillanueva at lear.com (Villanueva, Pete) Date: Tue, 20 May 2008 16:38:24 +0800 Subject: NRPE In-Reply-To: References: Message-ID: <83ABBB172DC3094AAFD4115A196A85C703969132@PHRIZ-EXM1.corp.lear.com> Hello All, I have a problem regarding the nrpe when I try this command ./check_nrpe -H 10.65.32.98 -c check_disk ...error occurred CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? How do I fix this? Pete Sherwin S. Villanueva Information Technology Department Lear Automotive Services (Netherlands) B.V Philippine Branch MEPZ 1, Lapu-Lapu City 6015 Philippines Phone: (32) 349-9300 loc 4140 Fax : (32) 3400-411 Email: pvillanueva at lear.com ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of #ANG CHIN TECK# Sent: Tuesday, May 06, 2008 12: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? 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. ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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 michaelmukherji at gmail.com Tue May 20 10:46:23 2008 From: michaelmukherji at gmail.com (Michael Mukherji) Date: Tue, 20 May 2008 14:16:23 +0530 Subject: Problem with Router status in notification. In-Reply-To: <483287D9.2040506@vanderkooij.org> References: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> <483287D9.2040506@vanderkooij.org> Message-ID: <8facdc490805200146k343f0f56ob94f584e3640b6ec@mail.gmail.com> Hi thanks for your input.But the port was actually down.Bt i want notification saying that port is down rather than snmp unable to collect data So is any extra parameter such as -s /-r is required in my check_snmp command. On Tue, May 20, 2008 at 1:42 PM, Hugo van der Kooij < hvdkooij at vanderkooij.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Michael Mukherji wrote: > | Hello list > | > | I am using nagios 3.0.I am having problem in getting notification for > | any port down in my router.I am using snmp to collect data. > | > | define service{ > | use generic-service ; Inherit values from a template > | host_name hongkong-gw1 > | service_description Port 10 descr adminstatus operstatus > | check_command check_snmp! -C public -o > | ifDescr.14,ifAdminStatus.14,ifOperStatus.14 > | > | this gives me output > | > | SNMP OK - Serial0/0 up(1) up(1) "FTIL1566 Connection to Londonpop-gw1 > | Ser0/3" > | > | now when the port goes down , i recieve messege saying SMNP data not > | recieved from host , problem unknown.but i want that it should give me > | messege that the port is down. > | > | is there anything i need to change in the above check_snmp command? > > No. You need to get another router. Cisco in their infinite wisdom will > give odd results on some interfaces if they are down. I have seen cases > where the interface is there if it's up but when it's down the interface > is gone as far as SNMP is concerned. > > I suggest you open a supprt ticket with Cisco on this odd behaviour. > It's their problem and they need to fix it. > > 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) > > iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG > cZ6DMrhKEhkQOx2lsTJbX7M= > =XGIN > -----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 > -------------- 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 Tue May 20 10:49:48 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 20 May 2008 10:49:48 +0200 Subject: Performance data for service In-Reply-To: <73D194B43B6.0000037Eizz_abdullah@inbox.com> References: <73D194B43B6.0000037Eizz_abdullah@inbox.com> Message-ID: <483290AC.1030203@googlemail.com> Hi Izz, Izz Abdullah schrieb: > I have enabled performance data for my monitored Windows 2k3 server. I am receiving performance data, not extremely clear, but receiving, for the defaulted services. What I want is to see performance data on running processes as well (e.g. the Explorer.exe process has nothing in the performance data field). Can someone please assist? What kind of performance data would you expect from explorer.exe? With some services, it just doesn't make much sense to have performance analyzed, in my opinion. 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 cschneemann at suse.de Tue May 20 10:54:48 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 20 May 2008 10:54:48 +0200 Subject: NRPE In-Reply-To: <83ABBB172DC3094AAFD4115A196A85C703969132@PHRIZ-EXM1.corp.lear.com> References: <83ABBB172DC3094AAFD4115A196A85C703969132@PHRIZ-EXM1.corp.lear.com> Message-ID: <200805201054.48975.cschneemann@suse.de> On Tuesday May 20 2008 10:38:24 am Villanueva, Pete wrote: > Hello All, > > > > I have a problem regarding the nrpe when I try this command ./check_nrpe > -H 10.65.32.98 -c check_disk ...error occurred CHECK_NRPE: Received 0 > bytes. Are we allowed to connect to the host? > First, try to answer the question, are you allowed to connect to the host? How have you configured the nrpd on the clientside? If you are allowed to connect there by xinitd configuration, is a firewall active? greetings, Christian > > > How do I fix this? > > > > > > > > Pete Sherwin S. Villanueva > Information Technology Department > Lear Automotive Services (Netherlands) B.V Philippine Branch > MEPZ 1, Lapu-Lapu City 6015 Philippines > Phone: (32) 349-9300 loc 4140 > Fax : (32) 3400-411 > Email: pvillanueva at lear.com > > ________________________________ > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of #ANG > CHIN TECK# > Sent: Tuesday, May 06, 2008 12: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? > > 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. > > > > ********************** > ** LEGAL DISCLAIMER ** > ********************** > > This E-mail message and any attachments may contain > legally privileged, confidential or proprietary > information. If you are not the intended recipient(s), > or the employee or agent responsible for delivery of > this message to the intended recipient(s), you are > hereby notified that any dissemination, distribution > or copying of this E-mail message is strictly > prohibited. If you have received this message in > error, please immediately notify the sender and > delete this E-mail message from your computer. -- 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: 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 izz_abdullah at inbox.com Tue May 20 11:05:50 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 20 May 2008 01:05:50 -0800 Subject: Performance data for service In-Reply-To: <483290AC.1030203@googlemail.com> References: <73d194b43b6.0000037eizz_abdullah@inbox.com> Message-ID: <82CC77ABFA8.00000E73izz_abdullah@inbox.com> Not necessarily explorer.exe. I am looking more at some java instances, (java.exe, etc.). I want to know CPU load as well as Memory usage of a process. Thanks, Izz > -----Original Message----- > From: adesperateuser at googlemail.com > Sent: Tue, 20 May 2008 10:49:48 +0200 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Performance data for service > > Hi Izz, > > Izz Abdullah schrieb: >> I have enabled performance data for my monitored Windows 2k3 server. I >> am receiving performance data, not extremely clear, but receiving, for >> the defaulted services. What I want is to see performance data on >> running processes as well (e.g. the Explorer.exe process has nothing in >> the performance data field). Can someone please assist? > > What kind of performance data would you expect from explorer.exe? With > some services, it just doesn't make much sense to have performance > analyzed, in my opinion. > > 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 ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth ------------------------------------------------------------------------- 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 izz_abdullah at inbox.com Tue May 20 11:36:42 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 20 May 2008 01:36:42 -0800 Subject: check_nrpe issues Message-ID: <8311751FC40.00000E9Cizz_abdullah@inbox.com> I have a remote Linux host (ubuntu), and the monitoring server is Redhat Linux Enterprise 4. I have disabled SSL for check_nrpe and when testing the connection to the remote host with the /usr/local/nagios/libexec/check_nrpe -H 192.168.0.1 command, I receive the following error: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. There are no firewalls in-between the monitoring server and the remote host, and the remote host can check itself and get the NRPE version number. Help is greatly appreciated as I am banging my head on this one :) -Izz ------------------------------------------------------------------------- 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 Tue May 20 11:47:09 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 20 May 2008 11:47:09 +0200 Subject: check_nrpe issues In-Reply-To: <8311751FC40.00000E9Cizz_abdullah@inbox.com> References: <8311751FC40.00000E9Cizz_abdullah@inbox.com> Message-ID: <48329E1D.8090609@googlemail.com> Izz Abdullah schrieb: > I have a remote Linux host (ubuntu), and the monitoring server is Redhat Linux Enterprise 4. I have disabled SSL for check_nrpe and when testing the connection to the remote host with the /usr/local/nagios/libexec/check_nrpe -H 192.168.0.1 command, I receive the following error: > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Hm, what helped me recently figuring out a "0 bytes"-issue, was activating the debug in nrpe.cfg on the remote host and looking in the syslog. There I immediately found the error. (Missing utils.pm in perl-path). 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 s.a.johansen at usit.uio.no Tue May 20 11:50:36 2008 From: s.a.johansen at usit.uio.no (=?ISO-8859-1?Q?St=E5le_Asker=F8d_Johansen?=) Date: Tue, 20 May 2008 11:50:36 +0200 Subject: Increasing latency - over the top - a cry for help Message-ID: <48329EEC.6030509@usit.uio.no> Hello, oh thou sweet fountain of problem-solving knowledge :-) Here at the University of Oslo we are running Natios to monitor roughly 10k services out of which ~9500 are active. We also monitor ~700 hosts. We are running nagios 3.0.1 on a Dell 2850 with 4 Gb of RAM. And 4 kernels. We upgraded from 2.9 roughly a month ago. We have the following problem, and are turning here for help after fumbling in darkness for some time: The latency of both host checks and service checks increase over time. After a stop/start of nagios, we see the following pattern: 1) The service latency starts of at ~2.8 seconds, which we are happy with. It increases with about 1 ms per minute, a rough estimate. 2) The nagios process starts off at about 17m resident, shown in "top". 3) The "system" part of cpu usage starts off at ~30% However. 4) The "system" part of cpu usage increases over a period of approx. six hours, till it reaches a threshold of some kind at ~290%. At the same time, the system load increases till four or five. 5) At this point, the latency of both host and service checks will start increasing much faster, until another stop/start of nagios. The service latency will reach 160 seconds (!) after ~9 hours. 6) At The question is what causes this. We started using mrtg for graphing some time after we noticed a problem, so we are not quite sure when this started. Our setup is actually quite simple. o no flap-detection o no environment macros o no dependencies We have tried the following, with no real effect: use_large_installation_tweaks=1 (with various sub-tweaks) playing with the max_concurrent_checks checkresults on a tmpfs filesystem So. We are very grateful for any ideas. I have gathered some useful data on http://folk.uio.no/staalej/nagios/ -- St?le Johansen, soon in despair. ------------------------------------------------------------------------- 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 Tue May 20 12:02:19 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 20 May 2008 11:02:19 +0100 Subject: nagiosql - hosts issue Message-ID: <4832A1AB.2080902@ng23.net> this is a nagiosql question really but i wonder if any users here have encountered this before. using nagiosql i can generate and write configs both into the db and onto the filesystem. Nagios can read them and startup etc. The problem is that for some reason when configs are deleted from the db the host.cfg file for that host still remains on the filesystem, which is odd as if nagiosql is supposed to delete them it should do as it has rights to write and so in effect delete. Does anyone have any clues? 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 Tue May 20 15:49:37 2008 From: marc at ena.com (Marc Powell) Date: Tue, 20 May 2008 08:49:37 -0500 Subject: Increasing latency - over the top - a cry for help In-Reply-To: <48329EEC.6030509@usit.uio.no> References: <48329EEC.6030509@usit.uio.no> Message-ID: <35273C9B-E43E-4C52-9A1A-B021C36E5592@ena.com> On May 20, 2008, at 4:50 AM, St?le Asker?d Johansen wrote: > > > Hello, oh thou sweet fountain of problem-solving knowledge :-) > > Here at the University of Oslo we are running Natios to monitor > roughly 10k services out of which ~9500 are active. We also monitor > ~700 hosts. We are running nagios 3.0.1 on a Dell 2850 with 4 Gb of > RAM. > And 4 kernels. We upgraded from 2.9 roughly a month ago. > > We have the following problem, and are turning here for help after > fumbling in darkness for some time: The latency of both host checks > and service checks increase over time. > > After a stop/start of nagios, we see the following pattern: > > 1) The service latency starts of at ~2.8 seconds, which we are happy > with. It increases with about 1 ms per minute, a rough estimate. > 2) The nagios process starts off at about 17m resident, shown in > "top". > 3) The "system" part of cpu usage starts off at ~30% I seem to recall this being related to using the embedded perl interpreter. Did you compile nagios with ePN? Try without it if you did. -- 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 Tue May 20 16:03:17 2008 From: marc at ena.com (Marc Powell) Date: Tue, 20 May 2008 09:03:17 -0500 Subject: Problem with Router status in notification. In-Reply-To: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> References: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> Message-ID: On May 20, 2008, at 2:23 AM, Michael Mukherji wrote: > Hello list > > I am using nagios 3.0.I am having problem in getting notification > for any port down in my router.I am using snmp to collect data. > > now when the port goes down , i recieve messege saying SMNP data > not recieved from host , problem unknown.but i want that it should > give me messege that the port is down. > is there anything i need to change in the above check_snmp command? There's no command line option to change this behavior. If you wish to exit with a CRITICAL status instead of UNKNOWN you'll need to edit the source for check_snmp.c around line 300 and replace -- if (found == 0) die (STATE_UNKNOWN, _("%s problem - No data received from host \nCMD: %s\n"), label, cl_hidden_auth); with if (found == 0) die (STATE_CRITICAL, _("%s problem - No data received from host \nCMD: %s\n"), label, cl_hidden_auth); -- 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 Tue May 20 16:09:13 2008 From: sauloaugustosilva at gmail.com (Saulo Silva) Date: Tue, 20 May 2008 11:09:13 -0300 Subject: HOST - check is not working Message-ID: <3ddff6900805200709o6bfeb9f7q44395052bf3a9d0d@mail.gmail.com> Hi All , I have a strange situation where my nagios is not recovering after some server goes to UNREACHABLE state unless I force a recheck . That is the state before the Re-schedule the next check of this host Host Status: UNREACHABLE Status Information:CRITICAL - Plugin timed out after 10 seconds Performance Data: Current Attempt:1/4 State Type:HARD Last Check Type:ACTIVE Last Check Time:05-20-2008 10:05:32 Status Data Age: 0d 0h 1m 20s Next Scheduled Active Check: N/A Latency:0.000 seconds Check Duration:10.034 seconds Last State Change:05-17-2008 01:03:56 Current State Duration: 3d 9h 2m 56s So after the Re-check : Host Status: UP Status Information:PING OK - Packet loss = 0%, RTA = 58.26 ms Performance Data: Current Attempt:0/4 State Type:HARD Last Check Type:ACTIVE Last Check Time:05-20-2008 10:08:24 Status Data Age: 0d 0h 0m 13s Next Scheduled Active Check: N/A Latency:5.545 seconds Check Duration:0.077 seconds Last State Change:05-20-2008 10:08:24 Current State Duration: 0d 0h 0m 13s Any clue ? -------------- 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 mpotter at x-iss.com Tue May 20 16:20:39 2008 From: mpotter at x-iss.com (Mark Potter) Date: Tue, 20 May 2008 09:20:39 -0500 Subject: Help with large scale planning References: <48329EEC.6030509@usit.uio.no> <35273C9B-E43E-4C52-9A1A-B021C36E5592@ena.com> Message-ID: <98E55D6E1B3CFD43BDA59EEB56DD7D725DBFE6@sbs01.xiss.private> Hello List, Been a while since I have been able to post on a regular basis due to being given the opportunity to seek other employment! I have landed, gracefully, in a position where I have been tasked with designing a large scale Nagios installation. The requirements are all client requirements and pretty necessary. I need a little advice on where to start. I will describe the environment and then lay out my idea on how I see the design coming together. The environment is an HPCC environment and the requirements are based on that aspect almost exclusively. Initially the monitoring will be for clustering only and then expanding out to other servers outside of the HPCC environment. 1. No client installed on compute nodes (there is an HA head node where a client or a full install could be done). 2. No active checks directly to compute nodes 3. Ganglia is available for node data That is the majority of the requirements. Ganglia makes things a bit easier but I am not sure how much easier. It looks like GroundWork could handle this but I don't see the large scale features available in the open source version. The environment is as follows 1. 80 clusters 2. Each cluster has 70-72 compute nodes The client wants a single point of monitoring for this environment. I am looking at the following for a setup: Using the ganglia plugin from Nagios Exchange to gather and parse the data, on the HA head node, and having this report back to a main Nagios server (HA) for the single point of monitoring. What I don't know is how Nagios 3.x will scale with ~5000-6000 hosts coming into a single point of monitoring. What cannot happen is the checks causing any degradation in the HPCC environment. Ganglia is already in place and accounted for in performance so querying the ganglia process is allowed but they would prefer to pull this data from gmetad and not gmond. Also, from the Nagios management side, I would like to see if there is a way to automatically add hosts if a new host pops up in the ganglia data. This is not a deal breaker but will make life so much easier in the long run. I have likely not given enough information somewhere but I think there is enough here to get a discussion started. It's good to be back! Regards, Mark L. Potter eXcellence in IS Solutions, Inc. (X-ISS) Office: 713-862-9200 x219 Email : mpotter at x-iss.com http://www.x-iss.com Making IT Work for You HPC & Enterprise IT Solutions * HPC Application Acceleration * Cluster Design, Deploy, Manage, Train * Linux/Windows Integration * Remote Management, Backup, Anti-Spam/Virus * Network Assessments, Design * Security Audits, Design * Datacenter Design, Relocation * Messaging and Collaboration NOTICE: This message may contain privileged or otherwise confidential information. If you are not the intended recipient, please immediately advise the sender by reply email and delete the message and any attachments without using, copying or disclosing the contents. ------------------------------------------------------------------------- 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 Tue May 20 16:22:16 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 20 May 2008 16:22:16 +0200 Subject: HOST - check is not working In-Reply-To: <3ddff6900805200709o6bfeb9f7q44395052bf3a9d0d@mail.gmail.com> References: <3ddff6900805200709o6bfeb9f7q44395052bf3a9d0d@mail.gmail.com> Message-ID: <4832DE98.20607@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Saulo Silva wrote: | I have a strange situation where my nagios is not recovering after some | server goes to UNREACHABLE state unless I force a recheck . What service have you assigned to this host? How did you define this host? Did you read the section about host checks? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIMt6TBvzDRVjxmYERAs8iAJkBAlgbOh7Nt5XFxAOip+H6NihoIACfc5QG zaC5IUC32ARg/h/ximdwjBY= =RBP6 -----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 sauloaugustosilva at gmail.com Tue May 20 17:16:26 2008 From: sauloaugustosilva at gmail.com (Saulo Silva) Date: Tue, 20 May 2008 12:16:26 -0300 Subject: HOST - check is not working In-Reply-To: <4832DE98.20607@vanderkooij.org> References: <3ddff6900805200709o6bfeb9f7q44395052bf3a9d0d@mail.gmail.com> <4832DE98.20607@vanderkooij.org> Message-ID: <3ddff6900805200816t110fe296w24ac249a8c631da6@mail.gmail.com> Here some host example define host{ host_name hostname contact_groups 1 alias hostname.fulname address x.xx.xxx.xxx parents route1 use generic-host-active } define host{ host_name route1 contact_groups 1 address x.xx.xxx.xxx use generic-host-active } define host{ name generic-host-active register 0 notification_options d,u,r check_command check-host-alive event_handler_enabled 1 flap_detection_enabled 1 notification_interval 120 notification_period full_week notifications_enabled 1 max_check_attempts 4 } define command{ command_name check-host-alive command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } So that is it . That is a few services associated to the server if necessary I can include that here . Thanks for help Saulo Silva 2008/5/20 Hugo van der Kooij : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Saulo Silva wrote: > > | I have a strange situation where my nagios is not recovering after some > | server goes to UNREACHABLE state unless I force a recheck . > > What service have you assigned to this host? How did you define this host? > > Did you read the section about host checks? > > > Hugo. > > - -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG ? Use: > http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQFIMt6TBvzDRVjxmYERAs8iAJkBAlgbOh7Nt5XFxAOip+H6NihoIACfc5QG > zaC5IUC32ARg/h/ximdwjBY= > =RBP6 > -----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 > -------------- 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 20 18:39:27 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 20 May 2008 12:39:27 -0400 Subject: Problem with Router status in notification. In-Reply-To: <8facdc490805200146k343f0f56ob94f584e3640b6ec@mail.gmail.com> References: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> <483287D9.2040506@vanderkooij.org> <8facdc490805200146k343f0f56ob94f584e3640b6ec@mail.gmail.com> Message-ID: <20080520163927.GC20084@cgi.jachomes.com> On Tue, May 20, 2008 at 02:16:23PM +0530, Michael Mukherji wrote: > thanks for your input.But the port was actually down.Bt i want notification > saying that port is down rather than snmp unable to collect data > > So is any extra parameter such as -s /-r is required in my check_snmp > command. No. As he noted, the problem is that the Cisco doesn't behave properly. If the port is down, the Cisco should *say that it is down*, rather than simply ceasing to respond properly. But that's what it does, and that's what you're seeing. Marc, I gather provided a workaround, but that will likely obscure those circumstances when the entire router drops dead. Well, at least, the historical logs will say the wrong thing. No way to do better. I concur: contact TAC; open a ticket. Cheers, -- jra > <[1]hvdkooij at vanderkooij.org> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Michael Mukherji wrote: > | Hello list > | > | I am using nagios 3.0.I am having problem in getting notification for > | any port down in my router.I am using snmp to collect data. > | > | define service{ > | use generic-service ; Inherit values from a template > | host_name hongkong-gw1 > | service_description Port 10 descr adminstatus operstatus > | check_command check_snmp! -C public -o > | ifDescr.14,ifAdminStatus.14,ifOperStatus.14 > | > | this gives me output > | > | SNMP OK - Serial0/0 up(1) up(1) "FTIL1566 Connection to Londonpop-gw1 > | Ser0/3" > | > | now when the port goes down , i recieve messege saying SMNP data not > | recieved from host , problem unknown.but i want that it should give me > | messege that the port is down. > | > | is there anything i need to change in the above check_snmp command? > > No. You need to get another router. Cisco in their infinite wisdom will > give odd results on some interfaces if they are down. I have seen cases > where the interface is there if it's up but when it's down the interface > is gone as far as SNMP is concerned. > I suggest you open a supprt ticket with Cisco on this odd behaviour. > It's their problem and they need to fix it. > Hugo. > - -- > [2]hvdkooij at vanderkooij.org [3]http://hugo.vanderkooij.org/ > PGP/GPG? Use: [4]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 [5]http://spamornot.org/ and rate those images. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG > cZ6DMrhKEhkQOx2lsTJbX7M= > =XGIN > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > [6]http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > [7]Nagios-users at lists.sourceforge.net > [8]https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > References > > 1. mailto:hvdkooij at vanderkooij.org > 2. mailto:hvdkooij at vanderkooij.org > 3. http://hugo.vanderkooij.org/PGP/GPG > 4. http://hugo.vanderkooij.org/0x58F19981.asc > 5. http://spamornot.org/ > 6. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > 7. mailto:Nagios-users at lists.sourceforge.net > 8. https://lists.sourceforge.net/lists/listinfo/nagios-users > ------------------------------------------------------------------------- > 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 -- 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 marc at ena.com Tue May 20 18:39:38 2008 From: marc at ena.com (Marc Powell) Date: Tue, 20 May 2008 11:39:38 -0500 Subject: OT: Procmail filter to add Reply-To: to mailinglist In-Reply-To: <483289BF.2020007@vanderkooij.org> References: <483289BF.2020007@vanderkooij.org> Message-ID: <80518361-6B76-41C0-88FA-553A65E1AB7F@ena.com> On May 20, 2008, at 3:20 AM, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > A bit off-topic but this list is the only one I have a hard time > sending > replies back to. > > So I was thinking of adding a Reply-To: header on my side by adding > some > code to my procmail filters. Anyone happen to have a working set they > would like to share? The first hit on Google for 'procmail add reply-to header' seems to be what you're looking for. -- 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 20 18:41:28 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 20 May 2008 12:41:28 -0400 Subject: OT: Procmail filter to add Reply-To: to mailinglist In-Reply-To: <483289BF.2020007@vanderkooij.org> References: <483289BF.2020007@vanderkooij.org> Message-ID: <20080520164128.GD20084@cgi.jachomes.com> On Tue, May 20, 2008 at 10:20:15AM +0200, Hugo van der Kooij wrote: > A bit off-topic but this list is the only one I have a hard time sending > replies back to. > > So I was thinking of adding a Reply-To: header on my side by adding some > code to my procmail filters. Anyone happen to have a working set they > would like to share? Hitler. Godwin. You quote the witty top-quoting interchange in your sig, you should realize this is a feature. :-) (More properly: I suspect you *do* realize that; you should say so.) Anyone else wants to chime in on the R-war, remember to either OT the subject line, or, better, take it off-list. 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 marc at ena.com Tue May 20 19:19:22 2008 From: marc at ena.com (Marc Powell) Date: Tue, 20 May 2008 12:19:22 -0500 Subject: Problem with Router status in notification. In-Reply-To: <20080520163927.GC20084@cgi.jachomes.com> References: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> <483287D9.2040506@vanderkooij.org> <8facdc490805200146k343f0f56ob94f584e3640b6ec@mail.gmail.com> <20080520163927.GC20084@cgi.jachomes.com> Message-ID: <6B4BBDDB-C427-470B-B31E-B161A494B483@ena.com> On May 20, 2008, at 11:39 AM, Jay R. Ashworth wrote: > On Tue, May 20, 2008 at 02:16:23PM +0530, Michael Mukherji wrote: >> thanks for your input.But the port was actually down.Bt i want >> notification >> saying that port is down rather than snmp unable to collect data >> >> So is any extra parameter such as -s /-r is required in my >> check_snmp >> command. > > No. > > As he noted, the problem is that the Cisco doesn't behave properly. > If > the port is down, the Cisco should *say that it is down*, rather than > simply ceasing to respond properly. > > But that's what it does, and that's what you're seeing. That's not how I interpreted his issue at all and I'm a bit dubious about it. The problem interface was a Serial interface, possibly the only upstream connection. check_snmp will behave this way if the router is unreachable. I've never personally experienced this 'disappearing' interface problem or non-responsiveness with any kind of physical connection (Serial, (Fast)Ethernet, etc), only virtuals such as ISDN Virtual interfaces, which are expected and even those have never caused SNMP to be non-responsive. I do perform somewhat extensive checking of interfaces via SNMP (several thousand). Michael: Can you clarify? I'm interested in knowing if this is something I need to be concerned about. What IOS version are you running? -- 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 Tue May 20 21:26:18 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 20 May 2008 21:26:18 +0200 Subject: OT: Procmail filter to add Reply-To: to mailinglist In-Reply-To: <80518361-6B76-41C0-88FA-553A65E1AB7F@ena.com> References: <483289BF.2020007@vanderkooij.org> <80518361-6B76-41C0-88FA-553A65E1AB7F@ena.com> Message-ID: <483325DA.2010707@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: | On May 20, 2008, at 3:20 AM, Hugo van der Kooij wrote: | |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA1 |> |> Hi, |> |> A bit off-topic but this list is the only one I have a hard time |> sending |> replies back to. |> |> So I was thinking of adding a Reply-To: header on my side by adding |> some |> code to my procmail filters. Anyone happen to have a working set they |> would like to share? | | The first hit on Google for 'procmail add reply-to header' seems to be | what you're looking for. The first few hits have delivered me codes that resulted in lost messages. So it is a bit more complex then that. 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) iD8DBQFIMyXYBvzDRVjxmYERAiG8AJ9LWdYxYlFZJMnsxAEa8IYStaIyQACghV4D KxGwA7yBvW9c+57K9iqe1JE= =QiDu -----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 israel at frontierflying.com Tue May 20 21:59:46 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 20 May 2008 11:59:46 -0800 Subject: Nagios 3 visual map Message-ID: <5D70B661-694D-4C42-B043-B7992FECD6B9@frontierflying.com> I posted this question about a month and a half ago, but didn't get any replies. I'm hoping that now that Nagios 3 has been out a bit longer, there might be more options. My company has been using nagios 2.x for some time, with the add-on Nexsm for displaying a visual overview of the network "at-a-glance". It was also useful for showing visitors (and management) what our network was like cleanly and easily. Since Nagios 3 was released, and we migrated over to it (for a number of reasons), nexsum no longer works. The author says he'd like to add nagios 3 support, but he doesn't have the time at the moment and may not anytime soon. So I am looking for another option. Any suggestions? I did look at nagvis a while back, but at least at that time it would have required me to go through a very time-consuming process of placing each host and each link on the layout manually, and then adjusting the coordinates of each host and link in a configuration file to make it look good. This process would have been prohibitively time-consuming. I need something that can automatically place the hosts and links on the map, and simply allow me to drag the hosts around to position them. Thanks for any suggestions anyone might have to offer! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- 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 andurin at process-zero.de Tue May 20 22:12:42 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Tue, 20 May 2008 22:12:42 +0200 Subject: Nagios 3 visual map In-Reply-To: <5D70B661-694D-4C42-B043-B7992FECD6B9@frontierflying.com> References: <5D70B661-694D-4C42-B043-B7992FECD6B9@frontierflying.com> Message-ID: <483330BA.9010500@process-zero.de> Hi, Israel Brewster schrieb: > > I did look at nagvis a while back, but at least at that time it would > have required me to go through a very time-consuming process of > placing each host and each link on the layout manually, and then > adjusting the coordinates of each host and link in a configuration > file to make it look good. This process would have been prohibitively > time-consuming. I need something that can automatically place the > hosts and links on the map, and simply allow me to drag the hosts > around to position them. Thanks for any suggestions anyone might have > to offer! > well... give NagVis a second chance - it now has a "Automap" feature. http://www.nagvis.org/_media/nagvis-1.3-automap_undirected-1.png 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: 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 israel at frontierflying.com Wed May 21 00:46:39 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 20 May 2008 14:46:39 -0800 Subject: Nagios 3 visual map In-Reply-To: <483330BA.9010500@process-zero.de> References: <5D70B661-694D-4C42-B043-B7992FECD6B9@frontierflying.com> <483330BA.9010500@process-zero.de> Message-ID: <5D3DDD56-4240-405A-A998-5DD0FF05954A@frontierflying.com> On May 20, 2008, at 12:12 PM, Hendrik B??cker wrote: > Hi, > > Israel Brewster schrieb: >> I did look at nagvis a while back, but at least at that time it >> would have required me to go through a very time-consuming process >> of placing each host and each link on the layout manually, and >> then adjusting the coordinates of each host and link in a >> configuration file to make it look good. This process would have >> been prohibitively time-consuming. I need something that can >> automatically place the hosts and links on the map, and simply >> allow me to drag the hosts around to position them. Thanks for any >> suggestions anyone might have to offer! > > well... give NagVis a second chance - it now has a "Automap" feature. > > http://www.nagvis.org/_media/nagvis-1.3-automap_undirected-1.png That sounds promising. I'll give it a shot ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > Regards, > Hendrik ------------------------------------------------------------------------- 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 ray.keaveney at gmail.com Wed May 21 01:14:42 2008 From: ray.keaveney at gmail.com (Ray Keaveney) Date: Tue, 20 May 2008 16:14:42 -0700 Subject: Basic Distributed setup question - Central server passive service only reads "PENDING" Message-ID: <77EEA12D-B198-480A-8D7A-F7DD7DEC8862@gmail.com> I have followed the documentation on the centralized/distributed model. I believe I have everything setup properly: My central server has active checks disabled, it has the same services and host configuration data as the distributed server. I have NSCA functioning, and I can see that the central server is receiving NSCA data from the distributed server by looking at the syslog output: May 20 16:14:18 dnag5 nsca[32101]: Connection from 172.27.20.202 port 58500 May 20 16:14:18 dnag5 nsca[32101]: Handling the connection... May 20 16:14:19 dnag5 nsca[32101]: End of connection... However the passive service check's status on the central server reads as: PENDING. Any ideas on what could be causing this? Thanks, -Ray ------------------------------------------------------------------------- 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 Wed May 21 03:09:36 2008 From: mirde at oppy.com (Mirza Dedic) Date: Tue, 20 May 2008 18:09:36 -0700 Subject: Monitoring for Stale AIX Processes with Nagios ? Message-ID: Hello, We have AIX 5.3 running on our production servers and the way things are setup we need to make sure there are no STALE processes on the box, by STALE I mean any idle process that has been running for more than 5 hours. Sure we can monitor this with topas -P and have a terminal session open at all times but this is not ideal. Does anyone know of a script or a way to accomplish this? Even if we would need to write a script/cron job to get the job done? Any help is appreciated and thank you. -------------- 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 amontibello at gmail.com Wed May 21 04:00:12 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 20 May 2008 22:00:12 -0400 Subject: Performance data for service In-Reply-To: <82CC77ABFA8.00000E73izz_abdullah@inbox.com> References: <73d194b43b6.0000037eizz_abdullah@inbox.com> <483290AC.1030203@googlemail.com> <82CC77ABFA8.00000E73izz_abdullah@inbox.com> Message-ID: You should be able to get this data through the Process performance counter object with the instance set to the process name (as long as you can map the process name to an actual counter instance) or you should be able to get this data through a WMI querry Or you can write a script or program and get the data through NC_NEt or a NRPE plugin TOny (author of NC_Net) On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah wrote: > Not necessarily explorer.exe. > > I am looking more at some java instances, (java.exe, etc.). I want to know > CPU load as well as Memory usage of a process. > > Thanks, > Izz > > > -----Original Message----- > > From: adesperateuser at googlemail.com > > Sent: Tue, 20 May 2008 10:49:48 +0200 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Performance data for service > > > > Hi Izz, > > > > Izz Abdullah schrieb: > >> I have enabled performance data for my monitored Windows 2k3 server. I > >> am receiving performance data, not extremely clear, but receiving, for > >> the defaulted services. What I want is to see performance data on > >> running processes as well (e.g. the Explorer.exe process has nothing in > >> the performance data field). Can someone please assist? > > > > What kind of performance data would you expect from explorer.exe? With > > some services, it just doesn't make much sense to have performance > > analyzed, in my opinion. > > > > 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 > > ____________________________________________________________ > FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! > Check it out at http://www.inbox.com/earth > > ------------------------------------------------------------------------- > 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 tinzauro at ha-solutions.net Wed May 21 06:12:41 2008 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 20 May 2008 23:12:41 -0500 Subject: nagios-plugins fail to compile solaris 10 x86/x64 Message-ID: <4833A139.2070302@ha-solutions.net> list, im getting the following when attempting to compile nagios-plugins on a solaris 10 x86 (x4500) box. # begin background system info -bash-3.00$ uname -a SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc -bash-3.00$ gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) -bash-3.00$ which ar /usr/local/bin/ar -bash-3.00$ which make /usr/local/bin/make -bash-3.00$ make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-solaris2.10 # end background system # begin make errors (output truncated) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT -I/usr/local/ssl/include -g -O2 -MT vasnprintf.o -MD -MP -MF ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm -f ".deps/vasnprintf.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT -I/usr/local/ssl/include -g -O2 -MT vasprintf.o -MD -MP -MF ".deps/vasprintf.Tpo" -c -o vasprintf.o vasprintf.c; \ then mv -f ".deps/vasprintf.Tpo" ".deps/vasprintf.Po"; else rm -f ".deps/vasprintf.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT -I/usr/local/ssl/include -g -O2 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi rm -f libgnu.a ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o vasprintf.o xmalloc.o /bin/bash: /usr/local/bin/ar: Invalid argument make[3]: *** [libgnu.a] Error 126 make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11' any ideas? regards, _Terry ------------------------------------------------------------------------- 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 satishkumarp2k1 at gmail.com Wed May 21 07:07:27 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Wed, 21 May 2008 10:37:27 +0530 Subject: Query regarding negate wrapper Message-ID: Hi, I have been trying to test and implement the negate wrapper in our Nagios environment. It has worked successfully with all (except one) of the plugins. 'negate' is not working as expected when I try to use with check_http (with -u argument especially). When I actually run the negate wrapper with check_http plugin against a web server (enabled with SSL), it doesn't negate the state returned (only when the web server is down). When the web server is down (connect to socket times out) and check_http plugin actually returns STATE_CRITICAL with time out error. But when negate wrapper is used, surprisingly it doesn't negate the output, but instead returns STATE_CRITICAL. I have included the commands and the output of the commands as below: prod-unix-mon04:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/check_http -S -p 443 -u '/EdgeAuth/login.jsp' -H CRITICAL - Socket timeout after 10 seconds prod-unix-mon04:/usr/lib/nagios/plugins# echo $? 2 prod-unix-mon04:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/negate /usr/lib/nagios/plugins/check_http -S -p 443 -u '/EdgeAuth/login.jsp' -H CRITICAL - Plugin timed out after 10 seconds prod-unix-mon04:/usr/lib/nagios/plugins# echo $? 2 Our Nagios environment details are as follows: Nagios Version : 3.0 Nagios Plugins Version : 1.4.11 Appreciate any quick help / suggestions to get around this problem. Thanks in advance. Thanks & Regards, Satish Kumar P -------------- 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 RLAdams at AdamsInfoServ.Com Wed May 21 07:41:49 2008 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 21 May 2008 00:41:49 -0500 Subject: Monitoring for Stale AIX Processes with Nagios ? In-Reply-To: References: Message-ID: <20080521054149.GA24923@odin.demosthenes.org> You could write a simple cron job and use NCSA to push the results to Nagios. I suggest send_ncsa.pl so you don't have to compile any software. On Tue, May 20, 2008 at 06:09:36PM -0700, Mirza Dedic wrote: > Hello, > > We have AIX 5.3 running on our production servers and the way things are setup we need to make sure there are no STALE processes on the box, by STALE I mean any idle process that has been running for more than 5 hours. Sure we can monitor this with topas -P and have a terminal session open at all times but this is not ideal. > > Does anyone know of a script or a way to accomplish this? Even if we would need to write a script/cron job to get the job done? > > Any help is appreciated and 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 ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- 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 ray.keaveney at gmail.com Wed May 21 07:59:06 2008 From: ray.keaveney at gmail.com (Ray Keaveney) Date: Tue, 20 May 2008 22:59:06 -0700 Subject: Basic Distributed setup question - Central server passive service only reads "PENDING" Message-ID: <8091E6DC-278D-435D-A9C2-84D82881B807@gmail.com> I have followed the documentation on the centralized/distributed model. I believe I have everything setup properly: My central server has active checks disabled, it has the same services and host configuration data as the distributed server. I have NSCA functioning, and I can see that the central server is receiving NSCA data from the distributed server by looking at the syslog output: May 20 16:14:18 dnag5 nsca[32101]: Connection from 172.27.20.202 port 58500 May 20 16:14:18 dnag5 nsca[32101]: Handling the connection... May 20 16:14:19 dnag5 nsca[32101]: End of connection... However the passive service check's status on the central server reads as: PENDING. Any ideas on what could be causing this? Thanks, -Ray ------------------------------------------------------------------------- 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 Thomas.Borger at esg.de Wed May 21 08:48:10 2008 From: Thomas.Borger at esg.de (Thomas Borger) Date: Wed, 21 May 2008 08:48:10 +0200 Subject: nagios 3.x - special tiem definitions with exclude Message-ID: Hi, I'm using nagios 3.0.1 in productive and evaluation environment and have some trouble with time definitions. Is there someone here with an working setup time definitions with using "exclude"? (new feature in nagios 3.x) I have asked this question in german mailing list also, but there is no one who can help and some other admins which have the traceable problem. The target is a timeperiod which perform something 24x7 but on special day like 2008-05-22 between 13:00-14:00 pause all actions. For example: - checks on any day in the year should be performed in 00:00-24:00 - checks on 2008-05-22 should be performed on 00:00-13:00,14:00-24:00 (time to administrate something on the monitored servers) Some administrators in the german mailing list have tested several combinations of timeperiod definitions, but the error ist always the same. The checks on the specific day are stopped at 13:00. The parmeter "next sheduled check in the WebGUI are recalculated and show 2008-05-23 00:00, isntead of 2008-05-22 14:00 The normal_check_interval is 2 minutes, so this can not be the problem. example time definition define timeperiod{ timeperiod_name service-2008 alias service-2008 2008-01-26 12:00-24:00 2008-04-26 15:15-15:20 2008-07-26 12:00-18:00 2008-10-25 12:00-24:00 } define timeperiod{ timeperiod_name svc-check-test alias svc-check-test sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 exclude wartung-2008 } If there someone of you which have a working setup like this, please let me know what we do wrong here! threat in german Nagios forum: http://www.nagios-portal.de/wbb/index.php?page=Thread&threadID=10064 thx in advance Thomas ------------------------------------------------------------------------- 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 Thomas.Borger at esg.de Wed May 21 08:57:45 2008 From: Thomas.Borger at esg.de (Thomas Borger) Date: Wed, 21 May 2008 08:57:45 +0200 Subject: nagios 3.x - special tiem definitions with exclude Message-ID: Hi, In the config example was a error see line "Sorry" > example time definition > > define timeperiod{ > timeperiod_name service-2008 > alias service-2008 > 2008-01-26 12:00-24:00 > 2008-04-26 15:15-15:20 > 2008-07-26 12:00-18:00 > 2008-10-25 12:00-24:00 > } > > define timeperiod{ > timeperiod_name svc-check-test > alias svc-check-test > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > exclude wartung-2008 Sorry, it must be exclude service-2008 ;-) > } ------------------------------------------------------------------------- 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 Wed May 21 09:59:25 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 21 May 2008 13:29:25 +0530 Subject: Strange problem with nagios 3.0 for network device monitoring Message-ID: Dear List I am using nagios 3.0 in Ubuntu 7.10 .To monitor a router with snmp command i am using the following command define service{ use generic-service ; Inherit values from a template host_name mumbai-gw1 service_description Port 1 Link Status check_command check_snmp!-C public -o ifOperStatus.1,ifAdminStatus.1 -r 1 -m RFC1213-MIB } The port is up but still it returns Critical state rather than showing OK state .If i eliminate the -r 1 then it only gives me the info about port status. But i need to get notified when port admin status is not equal to operational status. So is there any way out for this problem. 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 satishkumarp2k1 at gmail.com Wed May 21 11:19:03 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Wed, 21 May 2008 14:49:03 +0530 Subject: Query regarding negate wrapper In-Reply-To: References: Message-ID: Hi, I have been trying to test and implement the negate wrapper in our Nagios environment. It has worked successfully with all (except one) of the plugins. 'negate' is not working as expected when I try to use with check_http (with -u argument especially). When I actually run the negate wrapper with check_http plugin against a web server (enabled with SSL), it doesn't negate the state returned (only when the web server is down). When the web server is down (connect to socket times out) and check_http plugin actually returns STATE_CRITICAL with time out error. But when negate wrapper is used, surprisingly it doesn't negate the output, but instead returns STATE_CRITICAL. I have included the commands and the output of the commands as below: prod-unix-mon04:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/check_http -S -p 443 -u '/EdgeAuth/login.jsp' -H CRITICAL - Socket timeout after 10 seconds prod-unix-mon04:/usr/lib/nagios/plugins# echo $? 2 prod-unix-mon04:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/negate /usr/lib/nagios/plugins/check_http -S -p 443 -u '/EdgeAuth/login.jsp' -H CRITICAL - Plugin timed out after 10 seconds prod-unix-mon04:/usr/lib/nagios/plugins# echo $? 2 Our Nagios environment details are as follows: Nagios Version : 3.0 Nagios Plugins Version : 1.4.11 Appreciate any quick help / suggestions to get around this problem. Thanks in advance. Thanks & Regards, Satish Kumar P -------------- 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 dermoth at aei.ca Wed May 21 11:38:07 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 21 May 2008 05:38:07 -0400 Subject: Query regarding negate wrapper In-Reply-To: References: Message-ID: <4833ED7F.5020603@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/05/08 05:19 AM, Satish Kumar P wrote: > Hi, > > I have been trying to test and implement the negate wrapper in our > Nagios environment. It has worked successfully with all (except one) of > the plugins. 'negate' is not working as expected when I try to use with > check_http (with -u argument especially). When I actually run the > negate wrapper with check_http plugin against a web server (enabled with > SSL), it doesn't negate the state returned (only when the web server is > down). > > When the web server is down (connect to socket times out) and check_http > plugin actually returns STATE_CRITICAL with time out error. But when > negate wrapper is used, surprisingly it doesn't negate the output, but > instead returns STATE_CRITICAL. I have included the commands and the > output of the commands as below: Negate has a timeout option. Make sure it's higher that the plugin's timeout to catch plugin timeouts. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIM+1/6dZ+Kt5BchYRAmiJAJ9kOT681r9/VUod/4goIpVKvR1PsgCgxCBZ AznjgVhc8C9XiT9fpQ6wmvo= =ZDOE -----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 Wed May 21 11:48:53 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 21 May 2008 05:48:53 -0400 Subject: Strange problem with nagios 3.0 for network device monitoring In-Reply-To: References: Message-ID: <4833F005.2010107@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/05/08 03:59 AM, Pallav.S.Gupta at relianceada.com wrote: > > Dear List > > I am using nagios 3.0 in Ubuntu 7.10 .To monitor a router with snmp > command i am using the following command > > define service{ > use > generic-service ; Inherit values from a template > host_name > mumbai-gw1 > service_description Port 1 Link Status > check_command > check_snmp!-C public -o ifOperStatus.1,ifAdminStatus.1 -r 1 -m RFC1213-MIB > } > > The port is up but still it returns Critical state rather than showing > OK state .If i eliminate the -r 1 then it only gives me the info about > port status. But i need to get notified when port admin status is not > equal to operational status. > > So is there any way out for this problem. You probably want to use -w and/or -c for the thresholds. i,e, - -c 1,1 Will return critical is any of the polled values isn't equal to 1 However if you want to alert only if they aren't equal then you'll need something else... You can write your own plugin, but you could probably achieve what you want with service dependencies. I.e. set a service for one OID (AdminStatus I think) that doesn't sent notifications (notification_interval none) and make a 2nd service for the other OID that is dependent on the first one. Whenever you put an interface down it will cause the 1st service to go down (without notification) and the dependency will prevent alerts from the 2nd service. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIM/AF6dZ+Kt5BchYRAiWXAKDpIJvND/VyvGZNGLeCTx64I7uGQwCfdImt gyMv8OInSg8SQZ5NTYo3Uxg= =ROmr -----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 satishkumarp2k1 at gmail.com Wed May 21 11:47:54 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Wed, 21 May 2008 15:17:54 +0530 Subject: Query regarding negate wrapper In-Reply-To: <4833ED7F.5020603@aei.ca> References: <4833ED7F.5020603@aei.ca> Message-ID: Hi Thomas, Thanks for the quick response. Your solution has helped me. Timeout was the real issue. After increasing the negate plugin's timeout, it is working properly. Thanks & Regards, Satish Kumar P On Wed, May 21, 2008 at 3:08 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 21/05/08 05:19 AM, Satish Kumar P wrote: > > Hi, > > > > I have been trying to test and implement the negate wrapper in our > > Nagios environment. It has worked successfully with all (except one) of > > the plugins. 'negate' is not working as expected when I try to use with > > check_http (with -u argument especially). When I actually run the > > negate wrapper with check_http plugin against a web server (enabled with > > SSL), it doesn't negate the state returned (only when the web server is > > down). > > > > When the web server is down (connect to socket times out) and check_http > > plugin actually returns STATE_CRITICAL with time out error. But when > > negate wrapper is used, surprisingly it doesn't negate the output, but > > instead returns STATE_CRITICAL. I have included the commands and the > > output of the commands as below: > > Negate has a timeout option. Make sure it's higher that the plugin's > timeout to catch plugin timeouts. > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIM+1/6dZ+Kt5BchYRAmiJAJ9kOT681r9/VUod/4goIpVKvR1PsgCgxCBZ > AznjgVhc8C9XiT9fpQ6wmvo= > =ZDOE > -----END PGP SIGNATURE----- > -------------- 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 Wed May 21 12:36:39 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 21 May 2008 16:06:39 +0530 Subject: Strange problem with nagios 3.0 for network device monitoring In-Reply-To: <4833F005.2010107@aei.ca> References: <4833F005.2010107@aei.ca> Message-ID: thanks a ton thomas !!! Thomas Guyot-Sionnest 05/21/2008 03:18 PM To Pallav.S.Gupta at relianceada.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Strange problem with nagios 3.0 for network device monitoring -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/05/08 03:59 AM, Pallav.S.Gupta at relianceada.com wrote: > > Dear List > > I am using nagios 3.0 in Ubuntu 7.10 .To monitor a router with snmp > command i am using the following command > > define service{ > use > generic-service ; Inherit values from a template > host_name > mumbai-gw1 > service_description Port 1 Link Status > check_command > check_snmp!-C public -o ifOperStatus.1,ifAdminStatus.1 -r 1 -m RFC1213-MIB > } > > The port is up but still it returns Critical state rather than showing > OK state .If i eliminate the -r 1 then it only gives me the info about > port status. But i need to get notified when port admin status is not > equal to operational status. > > So is there any way out for this problem. You probably want to use -w and/or -c for the thresholds. i,e, - -c 1,1 Will return critical is any of the polled values isn't equal to 1 However if you want to alert only if they aren't equal then you'll need something else... You can write your own plugin, but you could probably achieve what you want with service dependencies. I.e. set a service for one OID (AdminStatus I think) that doesn't sent notifications (notification_interval none) and make a 2nd service for the other OID that is dependent on the first one. Whenever you put an interface down it will cause the 1st service to go down (without notification) and the dependency will prevent alerts from the 2nd service. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIM/AF6dZ+Kt5BchYRAiWXAKDpIJvND/VyvGZNGLeCTx64I7uGQwCfdImt gyMv8OInSg8SQZ5NTYo3Uxg= =ROmr -----END PGP SIGNATURE----- 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 jfonfon at gmail.com Wed May 21 12:49:34 2008 From: jfonfon at gmail.com (jfonfon) Date: Wed, 21 May 2008 12:49:34 +0200 Subject: Nagios 3.x - service hard state problem In-Reply-To: <5b9ad03b0805210252s5a2e32d3s87d301a9b040f521@mail.gmail.com> References: <5b9ad03b0805210252s5a2e32d3s87d301a9b040f521@mail.gmail.com> Message-ID: <5b9ad03b0805210349l645665b4pea6b5fc6f28bfa2e@mail.gmail.com> > Hi, > > Since I'm running Nagios 3.x (now 3.0.2) I've problem with some service > state. > Without the foreseen retry the state of a service become HARD. > > As example an output of the logs: > > [2008-05-21 08:36:30] SERVICE ALERT: host_x;service_y;OK;HARD;1;interface > UP > [2008-05-21 08:35:00] HOST ALERT: host_x;UP;SOFT;5;OK - 10.x.x.x: rta > 132.186ms, lost 0% > [2008-05-21 08:29:55] HOST ALERT: host_x;DOWN;SOFT;4;CRITICAL - 10.x.x.x: > rta nan, lost 100% > [2008-05-21 08:24:45] HOST ALERT: host_x;DOWN;SOFT;3;CRITICAL - 10.x.x.x: > rta nan, lost 100% > [2008-05-21 08:21:35] SERVICE ALERT: host_x;service_y;UNKNOWN;HARD;1;SNMP > read error > [2008-05-21 08:19:31] HOST ALERT: host_x;DOWN;SOFT;2;CRITICAL - 10.x.x.x: > rta nan, lost 100% > [2008-05-21 08:16:45] HOST ALERT: host_x;DOWN;SOFT;1;CRITICAL - 10.x.x.x: > rta nan, lost 100% > [2008-05-21 08:16:35] SERVICE ALERT: host_x;service_y;UNKNOWN;SOFT;1;SNMP > read error > > > The configuration for the service is: > Max. Check Attempts Normal Check Interval Retry Check Interal > 5 0h 5m 0s 0h 5m 0s > > Do you have any idea ? Is this a bug ? > > Thanks in advance, > > Jaco > -------------- 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 thanhvovinam at gmail.com Wed May 21 12:54:23 2008 From: thanhvovinam at gmail.com (Thanh vovinam) Date: Wed, 21 May 2008 12:54:23 +0200 Subject: The timer of "Last State Change" wrong Message-ID: Hello Nagios users, We are using Nagios 3.0rc2 to monitor many machines (passiv, activ, -cheks). We have one Nagios server (master) and 5 Nagios server (slaver). Nagios Slaver monitors many machines (hosts) and forwards events to Nagios Master (about 8.000 passiv checks). Last few days ago occured some "strange" on some hosts on Nagios server Master (other hosts work OK). Look "Service State Information" from one of "stranged" hosts following: You can see: Last State Change from host was changed "suddenly" 2 months early. What happens? Can you help us? How can we change the timer of "Last State Change" bak to current timer? .................. *Service State Information* Current Status: OK (for ???) Status Information:DISK OK - free space: /data 61546 MB (32% inode=97%): Performance Data:/data=125239MB;157424;177102;0;196781 Current Attempt:1/4 (HARD state) Last Check Time:2008-05-21 11:54:10 Check Type:PASSIVE Check Latency / Duration:N/A / 0.000 seconds Next Scheduled Check: N/A Last State Change:2008-07-22 02:56:38 Last Notification:N/A (notification 0) Is This Service Flapping?N/A In Scheduled Downtime? NO Last Update:2008-05-21 11:54:52 ( 0d 0h 0m 4s ago) Thanks, Best Regards, Thanh Ngoc Tran -------------- 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 tinzauro at ha-solutions.net Wed May 21 14:20:06 2008 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Wed, 21 May 2008 07:20:06 -0500 Subject: nagios-plugins fail to compile solaris 10 x86/x64 Message-ID: <48341376.6070109@ha-solutions.net> hey list, im getting the following when attempting to compile nagios-plugins on a solaris 10 x86 (x4500) box. # begin background system info -bash-3.00$ uname -a SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc -bash-3.00$ gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) -bash-3.00$ which ar /usr/local/bin/ar -bash-3.00$ which make /usr/local/bin/make -bash-3.00$ make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-solaris2.10 # end background system # begin make errors (output truncated) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT -I/usr/local/ssl/include -g -O2 -MT vasnprintf.o -MD -MP -MF ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm -f ".deps/vasnprintf.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT -I/usr/local/ssl/include -g -O2 -MT vasprintf.o -MD -MP -MF ".deps/vasprintf.Tpo" -c -o vasprintf.o vasprintf.c; \ then mv -f ".deps/vasprintf.Tpo" ".deps/vasprintf.Po"; else rm -f ".deps/vasprintf.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT -I/usr/local/ssl/include -g -O2 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi rm -f libgnu.a ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o vasprintf.o xmalloc.o /bin/bash: /usr/local/bin/ar: Invalid argument make[3]: *** [libgnu.a] Error 126 make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11' any ideas? regards, _Terry ------------------------------------------------------------------------- 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 Wed May 21 14:54:10 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Wed, 21 May 2008 08:54:10 -0400 Subject: Tests not restarting after timeouts Message-ID: Hi, Sometimes on my nagios servers, I find tests that are hung somewhere in the past. Right now, I have some tests that are "Last Check" 05-06-2008 13:52:19 (or around that time). When I check in my logs, I can see that around 13:50 on this date, there is a lot of nagios tests that ended up "Timeout while attempting connection". Most of the tests are ok, but 3 of them got stuck in this state. This is on the page of the web interface. I just found out that if I click on the test's link (somethime it needs a few tries), the test kind of refreshed and shows OK. Using nagios 2.11. Regards, 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 Wed May 21 15:49:52 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 21 May 2008 09:49:52 -0400 Subject: Problem with Router status in notification. In-Reply-To: <6B4BBDDB-C427-470B-B31E-B161A494B483@ena.com> References: <8facdc490805200023q7cfd3b75g1032d1bb8d0abecd@mail.gmail.com> <483287D9.2040506@vanderkooij.org> <8facdc490805200146k343f0f56ob94f584e3640b6ec@mail.gmail.com> <20080520163927.GC20084@cgi.jachomes.com> <6B4BBDDB-C427-470B-B31E-B161A494B483@ena.com> Message-ID: <20080521134952.GA25683@cgi.jachomes.com> On Tue, May 20, 2008 at 12:19:22PM -0500, Marc Powell wrote: > On May 20, 2008, at 11:39 AM, Jay R. Ashworth wrote: > > On Tue, May 20, 2008 at 02:16:23PM +0530, Michael Mukherji wrote: > >> thanks for your input.But the port was actually down.Bt i want > >> notification > >> saying that port is down rather than snmp unable to collect data > >> > >> So is any extra parameter such as -s /-r is required in my > >> check_snmp > >> command. > > > > No. > > > > As he noted, the problem is that the Cisco doesn't behave properly. > > If > > the port is down, the Cisco should *say that it is down*, rather than > > simply ceasing to respond properly. > > > > But that's what it does, and that's what you're seeing. > > That's not how I interpreted his issue at all and I'm a bit dubious > about it. Perhaps I misunderstood Hugo; he seemed pretty clear about what he was saying, but admittedly, I haven't tripped over the problem myself. > The problem interface was a Serial interface, possibly the > only upstream connection. check_snmp will behave this way if the > router is unreachable. I've never personally experienced this > 'disappearing' interface problem or non-responsiveness with any kind > of physical connection (Serial, (Fast)Ethernet, etc), only virtuals > such as ISDN Virtual interfaces, which are expected and even those > have never caused SNMP to be non-responsive. I do perform somewhat > extensive checking of interfaces via SNMP (several thousand). Well, that sounds pretty authoritative. Hugo? 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 marc at ena.com Wed May 21 16:08:45 2008 From: marc at ena.com (Marc Powell) Date: Wed, 21 May 2008 09:08:45 -0500 Subject: Tests not restarting after timeouts In-Reply-To: References: Message-ID: On May 21, 2008, at 7:54 AM, Ugo Bellavance wrote: > This is on the page of the web interface. I just found out that if I > click on the test's link (somethime it needs a few tries), the test > kind > of refreshed and shows OK. Sounds like classic behavior for having two nagios daemons running at the same time. -- 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 kyle.odonnell at gmail.com Wed May 21 16:19:09 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 21 May 2008 10:19:09 -0400 Subject: nagios-plugins fail to compile solaris 10 x86/x64 In-Reply-To: <4833A139.2070302@ha-solutions.net> References: <4833A139.2070302@ha-solutions.net> Message-ID: <2274b9c30805210719w7568f566l3629066bd21321f3@mail.gmail.com> I used the following: ./configure --prefix=/opt/nagios --enable-perl-modules --with-perl=/usr/bin/perl --without-ipv6 --without-openssl --without-ssl --disable-ssl --disable-openssl --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args' --with-ps-format=%s %d %d %d %d %d %f %s %s %n --with-ps-cols=10 -with-ps-varlist=procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos I also used the sunfreeware gcc compiler instead. binaries are available on the nagiosexchange: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2564.html;d=1 On 5/21/08, Terry L. Inzauro wrote: > list, > > im getting the following when attempting to compile nagios-plugins on a > solaris 10 x86 (x4500) box. > > > # begin background system info > > > -bash-3.00$ uname -a > SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc > > -bash-3.00$ gcc -v > Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs > Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure > --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as > --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ > --enable-shared > Thread model: posix > gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) > > -bash-3.00$ which ar > /usr/local/bin/ar > > -bash-3.00$ which make > /usr/local/bin/make > > -bash-3.00$ make -v > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i386-pc-solaris2.10 > > # end background system > > > # begin make errors (output truncated) > > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT > -I/usr/local/ssl/include -g -O2 -MT vasnprintf.o -MD -MP -MF > ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ > then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm > -f ".deps/vasnprintf.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT > -I/usr/local/ssl/include -g -O2 -MT vasprintf.o -MD -MP -MF > ".deps/vasprintf.Tpo" -c -o vasprintf.o vasprintf.c; \ > then mv -f ".deps/vasprintf.Tpo" ".deps/vasprintf.Po"; else rm > -f ".deps/vasprintf.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT > -I/usr/local/ssl/include -g -O2 -MT xmalloc.o -MD -MP -MF > ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ > then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f > ".deps/xmalloc.Tpo"; exit 1; fi > rm -f libgnu.a > ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o > xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o > creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o > fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o > pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o > safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o > vasprintf.o xmalloc.o > /bin/bash: /usr/local/bin/ar: Invalid argument > make[3]: *** [libgnu.a] Error 126 > make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11' > > > any ideas? > > > > regards, > > > _Terry > > > > ------------------------------------------------------------------------- > 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 aschmalowsky at df.eu Wed May 21 17:19:10 2008 From: aschmalowsky at df.eu (Axel Schmalowsky) Date: Wed, 21 May 2008 17:19:10 +0200 Subject: Service Checks while Host down Message-ID: <48343D6E.9090908@df.eu> Hi list, is there a way to temporarily disable service checks on hosts while they're down? That's is, how can I configure nagios to not conducting service checks for any hosts it recognizes in a DOWN-state? I'm running nagios in a distributed environment with 15 distributed servers and one central server. Now, I got the problem that if one monitored host is down, the distributed server monitoring that particular host recognizes it's state to be DOWN (within 30s), but the central server does not. It seems that the central server does just one host check. nagios does not conduct a second host check (but it's configured to do so) and neither sends out any host notification(s) ... [central server] active host checks enabled retry interval 1 max check attempts 2 check interval 60 As far as I understand it, nagios should check any hosts in a not-UP state (at least) 2x within ~60sec and should send out a notifications if the host is still DOWN.. What am I missing? Any help would be appreciated. ~axel ------------------------------------------------------------------------- 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 tinzauro at ha-solutions.net Wed May 21 17:50:11 2008 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Wed, 21 May 2008 10:50:11 -0500 Subject: nagios-plugins fail to compile solaris 10 x86/x64 In-Reply-To: <2274b9c30805210719w7568f566l3629066bd21321f3@mail.gmail.com> References: <4833A139.2070302@ha-solutions.net> <2274b9c30805210719w7568f566l3629066bd21321f3@mail.gmail.com> Message-ID: <483444B3.4000909@ha-solutions.net> kyle.odonnell at gmail.com wrote: > I used the following: > > ./configure --prefix=/opt/nagios --enable-perl-modules > --with-perl=/usr/bin/perl --without-ipv6 --without-openssl > --without-ssl --disable-ssl --disable-openssl > --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime > comm args' --with-ps-format=%s %d %d %d %d %d %f %s %s %n > --with-ps-cols=10 > -with-ps-varlist=procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos > > I also used the sunfreeware gcc compiler instead. > > binaries are available on the nagiosexchange: > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2564.html;d=1 > > > On 5/21/08, Terry L. Inzauro wrote: >> list, >> >> im getting the following when attempting to compile nagios-plugins on a >> solaris 10 x86 (x4500) box. >> >> >> # begin background system info >> >> >> -bash-3.00$ uname -a >> SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc >> >> -bash-3.00$ gcc -v >> Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs >> Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure >> --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as >> --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ >> --enable-shared >> Thread model: posix >> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) >> >> -bash-3.00$ which ar >> /usr/local/bin/ar >> >> -bash-3.00$ which make >> /usr/local/bin/make >> >> -bash-3.00$ make -v >> GNU Make 3.81 >> Copyright (C) 2006 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. >> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A >> PARTICULAR PURPOSE. >> >> This program built for i386-pc-solaris2.10 >> >> # end background system >> >> >> # begin make errors (output truncated) >> >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >> -I/usr/local/ssl/include -g -O2 -MT vasnprintf.o -MD -MP -MF >> ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ >> then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm >> -f ".deps/vasnprintf.Tpo"; exit 1; fi >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >> -I/usr/local/ssl/include -g -O2 -MT vasprintf.o -MD -MP -MF >> ".deps/vasprintf.Tpo" -c -o vasprintf.o vasprintf.c; \ >> then mv -f ".deps/vasprintf.Tpo" ".deps/vasprintf.Po"; else rm >> -f ".deps/vasprintf.Tpo"; exit 1; fi >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >> -I/usr/local/ssl/include -g -O2 -MT xmalloc.o -MD -MP -MF >> ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ >> then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f >> ".deps/xmalloc.Tpo"; exit 1; fi >> rm -f libgnu.a >> ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o >> xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o >> creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o >> fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o >> pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o >> safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o >> vasprintf.o xmalloc.o >> /bin/bash: /usr/local/bin/ar: Invalid argument >> make[3]: *** [libgnu.a] Error 126 >> make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11' >> >> >> any ideas? >> >> >> >> regards, >> >> >> _Terry >> >> >> >> ------------------------------------------------------------------------- >> 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 >> yeah, i have the sunfreeware compiler installed as well in /usr/local. the results are the same. i don't have an issues with using someone elses binaries, i just dislike not knowing why something is not working. my build environment is 'all' sunfreeware software of the latest available version (gcc,binutils,automake,autoconf) anyone have hints as to how to proceed? perhaps a bug in the configure script? regards, _Terry ------------------------------------------------------------------------- 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 tinzauro at ha-solutions.net Wed May 21 18:30:02 2008 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Wed, 21 May 2008 11:30:02 -0500 Subject: nagios-plugins fail to compile solaris 10 x86/x64 In-Reply-To: <2274b9c30805210719w7568f566l3629066bd21321f3@mail.gmail.com> References: <4833A139.2070302@ha-solutions.net> <2274b9c30805210719w7568f566l3629066bd21321f3@mail.gmail.com> Message-ID: <48344E0A.1060404@ha-solutions.net> kyle.odonnell at gmail.com wrote: > I used the following: > > ./configure --prefix=/opt/nagios --enable-perl-modules > --with-perl=/usr/bin/perl --without-ipv6 --without-openssl > --without-ssl --disable-ssl --disable-openssl > --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime > comm args' --with-ps-format=%s %d %d %d %d %d %f %s %s %n > --with-ps-cols=10 > -with-ps-varlist=procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos > > I also used the sunfreeware gcc compiler instead. > > binaries are available on the nagiosexchange: > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2564.html;d=1 > > > On 5/21/08, Terry L. Inzauro wrote: >> list, >> >> im getting the following when attempting to compile nagios-plugins on a >> solaris 10 x86 (x4500) box. >> >> >> # begin background system info >> >> >> -bash-3.00$ uname -a >> SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc >> >> -bash-3.00$ gcc -v >> Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs >> Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure >> --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as >> --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ >> --enable-shared >> Thread model: posix >> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) >> >> -bash-3.00$ which ar >> /usr/local/bin/ar >> >> -bash-3.00$ which make >> /usr/local/bin/make >> >> -bash-3.00$ make -v >> GNU Make 3.81 >> Copyright (C) 2006 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. >> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A >> PARTICULAR PURPOSE. >> >> This program built for i386-pc-solaris2.10 >> >> # end background system >> >> >> # begin make errors (output truncated) >> >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >> -I/usr/local/ssl/include -g -O2 -MT vasnprintf.o -MD -MP -MF >> ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ >> then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm >> -f ".deps/vasnprintf.Tpo"; exit 1; fi >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >> -I/usr/local/ssl/include -g -O2 -MT vasprintf.o -MD -MP -MF >> ".deps/vasprintf.Tpo" -c -o vasprintf.o vasprintf.c; \ >> then mv -f ".deps/vasprintf.Tpo" ".deps/vasprintf.Po"; else rm >> -f ".deps/vasprintf.Tpo"; exit 1; fi >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >> -I/usr/local/ssl/include -g -O2 -MT xmalloc.o -MD -MP -MF >> ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ >> then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f >> ".deps/xmalloc.Tpo"; exit 1; fi >> rm -f libgnu.a >> ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o >> xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o >> creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o >> fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o >> pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o >> safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o >> vasprintf.o xmalloc.o >> /bin/bash: /usr/local/bin/ar: Invalid argument >> make[3]: *** [libgnu.a] Error 126 >> make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11' >> >> >> any ideas? >> >> >> >> regards, >> >> >> _Terry >> >> >> >> ------------------------------------------------------------------------- >> 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 it almost looks as if 'ar' isn't being passed the correct arguments. could it be that the configure script is not discovering which version/platform of 'ar' is installed and thus not passing the arguments (if any) properly? it appears that there is no arguments being passed. ------------------------------------------------------------------------- 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 vmanojv at rediffmail.com Wed May 21 18:33:04 2008 From: vmanojv at rediffmail.com (Nair) Date: 21 May 2008 16:33:04 -0000 Subject: SOAP - Nagios intergration Message-ID: <20080521163304.11728.qmail@f5mail-236-225.rediffmail.com> Pls share ur thots on SOAP - Nagios intergration. Thank you, Nair -------------- 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 a.zatti at communicationvalley.it Wed May 21 18:40:01 2008 From: a.zatti at communicationvalley.it (Alessandro Zatti) Date: Wed, 21 May 2008 18:40:01 +0200 Subject: Check_host_alive over NRPE Message-ID: <20080521184001.3dc1fb07@soc-azatti.communicationvalley.it> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello to all, do you have any experience of check host alive via NRPE? I need to check about ten host behind two firewall and i can't use the check_host_alive directly from my central nagios with NRPE?. How can i configure the nrpe to execute Check host alive via NRPE? My idea it's: - - Create a chek_host_alive_remote with the follow command ./check_nrpe -H -c check_host_alive -a $HOSTADDRESS$ - - Define a host wit the follow check command: define host{ use generic-host host_name REMOTEHOST alias REMOTEHOST address aaa.bbb.ccc.ddd check_command chek_host_alive_remote } It's correct? - -- Zatti Alessandro UO Tecnologie Sistemi e Servizi Communication Valley S.p.A. Security Service Provider Strada Quarta 6/1D 43100 Parma Tel: +39 0521 4980 Fax: +39 0521 498080 Mobile: +39 3468737605 a.zatti at communicationvalley.it http://www.communicationvalley.it/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFINFBkQYB0t54NQ+cRAsEFAJ9ihAhhU3KHHI6185HUDKVAVQx2oQCaAgqj 2bhoTS8In3fUfqaVjmGQj3s= =pHBh -----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 marc at ena.com Wed May 21 19:01:38 2008 From: marc at ena.com (Marc Powell) Date: Wed, 21 May 2008 12:01:38 -0500 Subject: Check_host_alive over NRPE In-Reply-To: <20080521184001.3dc1fb07@soc-azatti.communicationvalley.it> References: <20080521184001.3dc1fb07@soc-azatti.communicationvalley.it> Message-ID: <927BD8BE-30BB-4A5F-907A-C6214BFA5961@ena.com> On May 21, 2008, at 11:40 AM, Alessandro Zatti wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello to all, > do you have any experience of check host alive via NRPE? > > I need to check about ten host behind two firewall and i can't use the > check_host_alive directly from my central nagios with NRPE?. > > How can i configure the nrpe to execute Check host alive via NRPE? > My idea it's: > > > > It's correct? > Looks workable to me as long as you've defined the command check_host_alive for NRPE on the remote box and use the argument correctly. -- 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 kyle.odonnell at gmail.com Wed May 21 19:29:35 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 21 May 2008 13:29:35 -0400 Subject: nagios-plugins fail to compile solaris 10 x86/x64 In-Reply-To: <48344E0A.1060404@ha-solutions.net> References: <4833A139.2070302@ha-solutions.net> <2274b9c30805210719w7568f566l3629066bd21321f3@mail.gmail.com> <48344E0A.1060404@ha-solutions.net> Message-ID: <2274b9c30805211029y5f309c93ye0a688cd8a9651a2@mail.gmail.com> -bash-3.00$ gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) according to your above output you are using the /usr/sfw compiler, doesn't sunfreeware put the pkgs into /usr/local? On 5/21/08, Terry L. Inzauro wrote: > kyle.odonnell at gmail.com wrote: >> I used the following: >> >> ./configure --prefix=/opt/nagios --enable-perl-modules >> --with-perl=/usr/bin/perl --without-ipv6 --without-openssl >> --without-ssl --disable-ssl --disable-openssl >> --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime >> comm args' --with-ps-format=%s %d %d %d %d %d %f %s %s %n >> --with-ps-cols=10 >> -with-ps-varlist=procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos >> >> I also used the sunfreeware gcc compiler instead. >> >> binaries are available on the nagiosexchange: >> >> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2564.html;d=1 >> >> >> On 5/21/08, Terry L. Inzauro wrote: >>> list, >>> >>> im getting the following when attempting to compile nagios-plugins on a >>> solaris 10 x86 (x4500) box. >>> >>> >>> # begin background system info >>> >>> >>> -bash-3.00$ uname -a >>> SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc >>> >>> -bash-3.00$ gcc -v >>> Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs >>> Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure >>> --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as >>> --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ >>> --enable-shared >>> Thread model: posix >>> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) >>> >>> -bash-3.00$ which ar >>> /usr/local/bin/ar >>> >>> -bash-3.00$ which make >>> /usr/local/bin/make >>> >>> -bash-3.00$ make -v >>> GNU Make 3.81 >>> Copyright (C) 2006 Free Software Foundation, Inc. >>> This is free software; see the source for copying conditions. >>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A >>> PARTICULAR PURPOSE. >>> >>> This program built for i386-pc-solaris2.10 >>> >>> # end background system >>> >>> >>> # begin make errors (output truncated) >>> >>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >>> -I/usr/local/ssl/include -g -O2 -MT vasnprintf.o -MD -MP -MF >>> ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ >>> then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm >>> -f ".deps/vasnprintf.Tpo"; exit 1; fi >>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >>> -I/usr/local/ssl/include -g -O2 -MT vasprintf.o -MD -MP -MF >>> ".deps/vasprintf.Tpo" -c -o vasprintf.o vasprintf.c; \ >>> then mv -f ".deps/vasprintf.Tpo" ".deps/vasprintf.Po"; else rm >>> -f ".deps/vasprintf.Tpo"; exit 1; fi >>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_REENTRANT >>> -I/usr/local/ssl/include -g -O2 -MT xmalloc.o -MD -MP -MF >>> ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ >>> then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f >>> ".deps/xmalloc.Tpo"; exit 1; fi >>> rm -f libgnu.a >>> ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o >>> xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o >>> creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o >>> fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o >>> pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o >>> safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o >>> vasprintf.o xmalloc.o >>> /bin/bash: /usr/local/bin/ar: Invalid argument >>> make[3]: *** [libgnu.a] Error 126 >>> make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' >>> make[2]: *** [all] Error 2 >>> make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11' >>> >>> >>> any ideas? >>> >>> >>> >>> regards, >>> >>> >>> _Terry >>> >>> >>> >>> ------------------------------------------------------------------------- >>> 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 > > > > it almost looks as if 'ar' isn't being passed the correct arguments. > could it be that the configure script is not discovering which > version/platform of 'ar' is installed and thus not passing the arguments > (if any) properly? > > it appears that there is no arguments being passed. > > > > > > > > ------------------------------------------------------------------------- > 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 ugob at lubik.ca Wed May 21 19:55:22 2008 From: ugob at lubik.ca (Ugo Bellavance) Date: Wed, 21 May 2008 13:55:22 -0400 Subject: Tests not restarting after timeouts In-Reply-To: References: Message-ID: Marc Powell a ?crit : > On May 21, 2008, at 7:54 AM, Ugo Bellavance wrote: > >> This is on the page of the web interface. I just found out that if I >> click on the test's link (somethime it needs a few tries), the test >> kind >> of refreshed and shows OK. > > Sounds like classic behavior for having two nagios daemons running at > the same time. I'm only running one. [ugob at nagios ~]$ ps aux | grep nagios ugob 13462 0.0 0.0 1664 476 pts/0 S+ 13:54 0:00 grep nagios nagios 24456 0.0 0.1 3660 980 ? Ss Apr28 0:03 nrpe -c /etc/nagios/nrpe.cfg -d nagios 25961 0.0 0.8 29756 6540 ? Ssl Apr28 20:51 /usr/bin/nagios -d /etc/nagios/nagios.cfg 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 kmanuel at unb.ca Wed May 21 21:15:38 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Wed, 21 May 2008 16:15:38 -0300 Subject: re-notify on OK state In-Reply-To: References: Message-ID: <004401c8bb77$0de876a0$29b963e0$@ca> Hi, Is it possible to configure Nagios to send a notification for each of several received "OK" service alerts? i.e. 3 "OK" alerts for a specific service will send out 3 corresponding notifications. You are probably wondering why I would want this ... I am using Nagios to send notifications of received snmp traps and the problem is this: for example, if I receive two or more "power-down chassis" traps (status=critical), I will receive notifications for all of them. However, I will only receive one notification for the first "power-up chassis" trap (status=OK) that Nagios receives. Stalking will log all of them, but I also want to be notified. 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 daniel-listas at gmx.net Thu May 22 03:15:34 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Wed, 21 May 2008 22:15:34 -0300 Subject: Could not open commandfile '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: References: <93C487A372B3774CAEAA15D524CCF3D122883BBC2A@G1W0485.americas.hpqcorp.net> Message-ID: <20080522011534.GC3526@hermes.freesoftware.org> On Sunday, 18 May 2008 22:53:03 -0500, Marc Powell wrote: > > 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. > ... or just set nagios_group in nagios.cfg to be nagcmd... I liked this simpleness. But after restarting the Nagios server, this doesn't work :-( Thanks for your reply. 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 alexdehaini at gmail.com Thu May 22 11:16:27 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 22 May 2008 09:16:27 +0000 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: <480D9462000506B7@nzoth.tiscali.cz> References: <480D9462000506B7@nzoth.tiscali.cz> Message-ID: <4b008f7d0805220216n6b730108p1b567282007b317d@mail.gmail.com> There has to be a corresponding MAC to IP match. What environment allows you use only MAC without IPs? Alex On Thu, May 22, 2008 at 9:12 AM, wrote: > Hello, I want to monitor AP but i don?t know IP adress, only MAC. > Can I monit if it is alive only with MAC?? some ping or snmp or some > check?? > > How will be the command looks like?? > > many thanks > > Jan > jendan at tiscali.cz > > ______________________________________ > Levn?j?? povinn? ru?en?? Ano, nyn? s velkou slevou! Pohodln? on-line > sjedn?n?. > > http://ad-sc.tiscali.com/adclick/CID=0003036c0000000000000000/SITE=CZ.TISCALI/AREA=NEWSLETTER.HOME/POS=L > > > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 hpsekhon at googlemail.com Thu May 22 11:21:06 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 22 May 2008 10:21:06 +0100 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: <4b008f7d0805220216n6b730108p1b567282007b317d@mail.gmail.com> References: <480D9462000506B7@nzoth.tiscali.cz> <4b008f7d0805220216n6b730108p1b567282007b317d@mail.gmail.com> Message-ID: <48353B02.30408@googlemail.com> Alex Dehaini wrote: > There has to be a corresponding MAC to IP match. What environment > allows you use only MAC without IPs? > > Alex > > On Thu, May 22, 2008 at 9:12 AM, > wrote: > > Hello, I want to monitor AP but i don?t know IP adress, only MAC. > Can I monit if it is alive only with MAC?? some ping or snmp or > some check?? > > How will be the command looks like?? > > many thanks > > Jan > jendan at tiscali.cz > Technically not really you could just ping it knowing only it's arp address using arping2. I'd suggest writing a plugin around this. I can't see the wider benefit though unless it is common to have devices that you want to check that don't have an ip address... it almost doesn't make sense in most normal usage since you usually need an IP on a host to get service from it. This AP seems to be a special case. Alternatively perhaps you could just plug in a wifi interface and then have a test that pings a host on the wired network to check the wifi? -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 alexdehaini at gmail.com Thu May 22 11:31:05 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 22 May 2008 09:31:05 +0000 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: <48353B02.30408@googlemail.com> References: <480D9462000506B7@nzoth.tiscali.cz> <4b008f7d0805220216n6b730108p1b567282007b317d@mail.gmail.com> <48353B02.30408@googlemail.com> Message-ID: <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> Nagios uses an IP address to communicate with the device. I will still like to know the environment where you can't use IP but MAC On Thu, May 22, 2008 at 9:21 AM, Hari Sekhon wrote: > Alex Dehaini wrote: > >> There has to be a corresponding MAC to IP match. What environment allows >> you use only MAC without IPs? >> >> Alex >> >> On Thu, May 22, 2008 at 9:12 AM, > jendan at tiscali.cz>> wrote: >> >> Hello, I want to monitor AP but i don?t know IP adress, only MAC. >> Can I monit if it is alive only with MAC?? some ping or snmp or >> some check?? >> >> How will be the command looks like?? >> >> many thanks >> >> Jan >> jendan at tiscali.cz >> >> Technically not really you could just ping it knowing only it's arp > address using arping2. > > I'd suggest writing a plugin around this. I can't see the wider benefit > though unless it is common to > have devices that you want to check that don't have an ip address... it > almost doesn't make sense > in most normal usage since you usually need an IP on a host to get service > from it. > > This AP seems to be a special case. Alternatively perhaps you could just > plug in a wifi interface and then have a test that pings a host on the wired > network to check the wifi? > > -h > > -- > Hari Sekhon > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 izz_abdullah at inbox.com Thu May 22 11:49:21 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Thu, 22 May 2008 01:49:21 -0800 Subject: Performance data for service In-Reply-To: References: <82cc77abfa8.00000e73izz_abdullah@inbox.com> <73d194b43b6.0000037eizz_abdullah@inbox.com> <483290ac.1030203@googlemail.com> Message-ID: <9C5306A50D4.00000109izz_abdullah@inbox.com> 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 hpsekhon at googlemail.com Thu May 22 12:56:23 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 22 May 2008 11:56:23 +0100 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> References: <480D9462000506B7@nzoth.tiscali.cz> <4b008f7d0805220216n6b730108p1b567282007b317d@mail.gmail.com> <48353B02.30408@googlemail.com> <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> Message-ID: <48355157.6020401@googlemail.com> Alex Dehaini wrote: > Nagios uses an IP address to communicate with the device. I will still > like to know the environment where you can't use IP but MAC > > On Thu, May 22, 2008 at 9:21 AM, Hari Sekhon > wrote: > > Alex Dehaini wrote: > > There has to be a corresponding MAC to IP match. What > environment allows you use only MAC without IPs? > > Alex > > On Thu, May 22, 2008 at 9:12 AM, >> wrote: > > Hello, I want to monitor AP but i don?t know IP adress, only MAC. > > Can I monit if it is alive only with MAC?? some ping or snmp or > some check?? > > How will be the command looks like?? > > many thanks > > Jan > jendan at tiscali.cz > > > > Technically not really you could just ping it knowing only it's > arp address using arping2. > > I'd suggest writing a plugin around this. I can't see the wider > benefit though unless it is common to > have devices that you want to check that don't have an ip > address... it almost doesn't make sense > in most normal usage since you usually need an IP on a host to get > service from it. > > This AP seems to be a special case. Alternatively perhaps you > could just plug in a wifi interface and then have a test that > pings a host on the wired network to check the wifi? > > -h > > -- > Hari Sekhon > > Yes of course we know this is the standard way but if you define a checkcommand to use a mac instead then you can get around this. Nagios is flexible enough to accomodate. You just need to write a check that doesn't require an ip, arping2 or something similar may be a good starting point. Note: Top-posting doesn't really help to make this thread readable for others.... -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 satishkumarp2k1 at gmail.com Thu May 22 13:28:25 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Thu, 22 May 2008 16:58:25 +0530 Subject: Default value for retry_check_interval Message-ID: Hi, I am actually wondering, for Nagios 1 and 2, what would be the default value for retry_check_interval for Hosts when a Host is down. This is because I think we cannot define the retry_check_interval for Hosts in Nagios versions 1 and 2. Thanks in advance. Thanks & Regards, Satish Kumar P -------------- 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 mangesh.dhamale at sumasoft.net Thu May 22 14:03:20 2008 From: mangesh.dhamale at sumasoft.net (Mangesh Dhamale) Date: Thu, 22 May 2008 17:33:20 +0530 Subject: Status Map ? Message-ID: Hello Everyone, I have one query about status map. I have attached status map screen of my nagios. I want to implement ICON instead of question mark (?). Please help on the same. thanks Regards, Mangesh Dhamale ----------------------------------------------------------------- System Administrator Suma Soft Pvt. Ltd. Suma Center, IInd Floor, Opp. Himali Society, Near Mangeshkar Hospital, Erandwane, Pune - 411004 Ph : +91-20-40130400 Extn : 327 Cell : +91-98508 87775 www.sumasoft.com ------------------------------------------------------------------ ---------------------------------------------- Confidentiality Note: This e -mail message and any attachments to it are intended only for the named reci pients and may contain legally privileged and/or confidential information. I f you are not one of the intended recipients, please forward this mail to ab use at sumasoft.net and do not duplicate or forward this e-mail message and imm ediately delete it from your computer. ------------------------------------- --------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: status_map.JPG Type: image/jpeg Size: 167819 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 marc at ena.com Thu May 22 14:06:12 2008 From: marc at ena.com (Marc Powell) Date: Thu, 22 May 2008 07:06:12 -0500 Subject: Default value for retry_check_interval 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 Satish Kumar P > Sent: Thursday, May 22, 2008 6:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Default value for retry_check_interval > > Hi, > > I am actually wondering, for Nagios 1 and 2, what would be the default value > for retry_check_interval for Hosts when a Host is down. There is no interval. Retries happen immediately after the previous check. > This is because I think we cannot define the retry_check_interval for Hosts in > Nagios versions 1 and 2. Correct. -- 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 alexdehaini at gmail.com Thu May 22 14:16:54 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 22 May 2008 12:16:54 +0000 Subject: Status Map ? In-Reply-To: References: Message-ID: <4b008f7d0805220516p3fa3df33s9e98a42074cf41be@mail.gmail.com> Use the hostextinfo.cfg file On Thu, May 22, 2008 at 12:03 PM, Mangesh Dhamale < mangesh.dhamale at sumasoft.net> wrote: > > Hello Everyone, > > I have one query about status map. I have attached status map screen of my > nagios. I want to implement ICON instead of question mark (?). > Please help on the same. thanks > > > > > Regards, > > Mangesh Dhamale > ----------------------------------------------------------------- > System Administrator > Suma Soft Pvt. Ltd. > Suma Center, IInd Floor, Opp. Himali Society, > Near Mangeshkar Hospital, Erandwane, Pune - 411004 > Ph : +91-20-40130400 Extn : 327 > Cell : +91-98508 87775 > www.sumasoft.com > ------------------------------------------------------------------ > > ---------------------------------------------- > Confidentiality No te: This e-mail message and any attachments to it are > intended only for the named recipients and may contain legally privileged > and/or confide ntial information. If you are not one of the intended > recipients, plea se forward this mail to abuse at sumasoft.net and do not > duplicate or forward t his > e-mail message and immediately delete it from your computer. > ---------------------------------------------- > > ------------------------------------------------------------------------- > 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: status_map.JPG Type: image/jpeg Size: 167819 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 satishkumarp2k1 at gmail.com Thu May 22 14:37:01 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Thu, 22 May 2008 18:07:01 +0530 Subject: Default value for retry_check_interval In-Reply-To: References: Message-ID: Marc, Thanks for the update. On Thu, May 22, 2008 at 5:36 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 Satish Kumar P > > Sent: Thursday, May 22, 2008 6:28 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Default value for retry_check_interval > > > > Hi, > > > > I am actually wondering, for Nagios 1 and 2, what would be the default > value > > for retry_check_interval for Hosts when a Host is down. > > There is no interval. Retries happen immediately after the previous > check. > > > This is because I think we cannot define the retry_check_interval for > Hosts in > > Nagios versions 1 and 2. > > Correct. > > -- > 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 > -------------- 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 Thu May 22 14:47:46 2008 From: marc at ena.com (Marc Powell) Date: Thu, 22 May 2008 07:47:46 -0500 Subject: Could not opencommandfile '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: <20080522011534.GC3526@hermes.freesoftware.org> References: <20080522011534.GC3526@hermes.freesoftware.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Daniel Bareiro > Sent: Wednesday, May 21, 2008 8:16 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Could not opencommandfile > '/usr/local/nagios/var/rw/nagios.cmd' > > On Sunday, 18 May 2008 22:53:03 -0500, > Marc Powell wrote: > > ... or just set nagios_group in nagios.cfg to be nagcmd... > > I liked this simpleness. But after restarting the Nagios server, this > doesn't work :-( Interesting... smells buglish. # grep nagios_group nagios.cfg nagios_group=nagios # ps -eo pid,user,rgroup,command | grep nagios 27347 nagios nagios /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg # vi nagios.cfg # grep nagios_group nagios.cfg nagios_group=nagcmd # /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios Waiting for nagios to exit . . done. Starting network monitor: nagios # ps -eo pid,user,rgroup,command | grep nagios 32016 nagios nagcmd /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg I see the change here - -rw-rw-r-- 1 nagios nagcmd 829161 May 22 07:25 status.dat But not here - prw-rw---- 1 nagios nagios 0 May 22 07:26 nagios.cmd I also see that in base/nagios.c that nagios drops privs to nagios_user and nagios_group before calling open_command_file (which doesn't seem to specify a specific group) so I would expect it to be group nagcmd. Clearly I'm missing something. It's unintuitive behavior at the least but it seems more than that IMHO. Can anyone test with a 3.x install? -- 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 22 14:55:33 2008 From: marc at ena.com (Marc Powell) Date: Thu, 22 May 2008 07:55:33 -0500 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> References: <4b008f7d0805220231s346df61yf4a1972ea475259f@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 Alex Dehaini > Sent: Thursday, May 22, 2008 4:31 AM > To: Hari Sekhon; Nagios Users Mailinglist > Subject: Re: [Nagios-users] [Nagiosplug-help] check via MAC adress > > Nagios uses an IP address to communicate with the device. I will still like to > know the environment where you can't use IP but MAC As Hari pointed it, it doesn't _have_ to, it's just the most common protocol and the one that the standard plugins are designed for. I could use PigeonProtocol if I could just teach the pigeon how to peck in the check results. If the process can be scripted, it can be used as a check plugin. It's that scripting part that can be challenging... -- 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 alexdehaini at gmail.com Thu May 22 14:57:49 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 22 May 2008 12:57:49 +0000 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: References: <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> Message-ID: <4b008f7d0805220557n3cd15aa7q4b1952ecd2245dd8@mail.gmail.com> PigeonProtocol - I like that, lol. On Thu, May 22, 2008 at 12:55 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 Alex Dehaini > > Sent: Thursday, May 22, 2008 4:31 AM > > To: Hari Sekhon; Nagios Users Mailinglist > > Subject: Re: [Nagios-users] [Nagiosplug-help] check via MAC adress > > > > Nagios uses an IP address to communicate with the device. I will still > like to > > know the environment where you can't use IP but MAC > > As Hari pointed it, it doesn't _have_ to, it's just the most common > protocol and the one that the standard plugins are designed for. I could > use PigeonProtocol if I could just teach the pigeon how to peck in the > check results. If the process can be scripted, it can be used as a check > plugin. It's that scripting part that can be challenging... > > -- > 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 satishkumarp2k1 at gmail.com Thu May 22 15:01:57 2008 From: satishkumarp2k1 at gmail.com (Satish Kumar P) Date: Thu, 22 May 2008 18:31:57 +0530 Subject: Default value for retry_check_interval In-Reply-To: References: Message-ID: Marc, Just one more query. What would be this value in Nagios 3 (default value)? Thanks & Regards, Satish Kumar P On Thu, May 22, 2008 at 5:36 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 Satish Kumar P > > Sent: Thursday, May 22, 2008 6:28 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Default value for retry_check_interval > > > > Hi, > > > > I am actually wondering, for Nagios 1 and 2, what would be the default > value > > for retry_check_interval for Hosts when a Host is down. > > There is no interval. Retries happen immediately after the previous > check. > > > This is because I think we cannot define the retry_check_interval for > Hosts in > > Nagios versions 1 and 2. > > Correct. > > -- > 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 > -------------- 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 Giovanni.Ciampi at enterpriseda.com Thu May 22 15:23:55 2008 From: Giovanni.Ciampi at enterpriseda.com (Giovanni Ciampi) Date: Thu, 22 May 2008 15:23:55 +0200 Subject: Nagios - Scheduled Active Check Message-ID: <6B7571242ECF5440833F4A674AC8AD29A1C0@it3s01040.d.grp> Hi folks, I have Nagios with perfparse and Mysql, but there are problems with scheduled active check. Although normal check interval is 3 minutes (I try with 10 minutes too), Nagios plugins doesn't work. If I select re-schedule the next check of this service on Nagios Interface, the check works good. I see that Next Scheduled Active Check move your clock every minute without to execute Nagios check. Can Nagios support 37 hosts and 173 services? What's wrong? This is the section of my nagios.cfg ------------------------------------------------------------------------ ---- log_file=/usr/local/nagios/var/nagios.log object_cache_file=/usr/local/nagios/var/objects.cache temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives/ check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comments.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=0 use_retained_scheduling_info=1 use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 sleep_time=0.25 service_inter_check_delay_method=s host_inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 max_service_check_spread=10 max_host_check_spread=30 service_reaper_frequency=10 interval_length=60 auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=180 use_agressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 soft_state_dependencies=0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/usr/local/nagios/var/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICESPERDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata check_for_orphaned_services=0 check_service_freshness=1 check_host_freshness=1 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()'= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg event_broker_options=-1 ------------------------------------------------------------------------ ---- My service template is ------------------------------------------------------------------------ ---- is_volatile 0 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 0 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 ------------------------------------------------------------------------ ---- Any ideas? Thanks a lot. Giovanni -------------- 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 markwag at u.washington.edu Thu May 22 18:52:27 2008 From: markwag at u.washington.edu (Mark Wagner) Date: Thu, 22 May 2008 09:52:27 -0700 Subject: check_hpasm and proliant support pack v8.00 Message-ID: <20080522165227.GL5883@n-its-markwag2.mcis.washington.edu> After upgrading to v8.00 of the proliant support pack check_hpasm now reports: WARNING - fan #1 (processor_zone) is not redundant, fan #2 (system) is not redundant when in fact they are. The problem seems to be that the "Partner" field is now 0: Fan Location Present Speed of max Redundant Partner Hot-pluggable --- -------- ------- ----- ------ --------- ------- ------------- #1 PROCESSOR_ZONE Yes NORMAL 49% Yes 0 No #2 SYSTEM Yes NORMAL 49% Yes 0 No The hardware is a ProLiant DL360 G4p. Gerhard do you have thoughts on the matter? -- 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 mckinnon at caltech.edu Thu May 22 18:19:52 2008 From: mckinnon at caltech.edu (Aaron McKinnon) Date: Thu, 22 May 2008 09:19:52 -0700 Subject: Nagios 3.02 Spec file/RPM Message-ID: <48359D28.6010900@caltech.edu> I've update the spec file that comes with Nagios 3.0.2 and successfully built an rpm that actually matches the shipping nagios.cfg (the original spec file does *not* match the shipping nagios.cfg). Is there a place to submit the spec file and/or rpm for further evaluation? The buid was on a xen machine running RHEL 5.1 Server. Thanks. -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 vmanojv at rediffmail.com Thu May 22 19:19:15 2008 From: vmanojv at rediffmail.com (Nair) Date: 22 May 2008 17:19:15 -0000 Subject: send_nsca Message-ID: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> Can some one please help me in integrating send_nsca command with my Perl script for passive monitoring system. Say how can we integrate plugin output without writing to any file and then piping thru send_nsca. Thank you, Nair -------------- 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 Thu May 22 19:34:05 2008 From: marc at ena.com (Marc Powell) Date: Thu, 22 May 2008 12:34:05 -0500 Subject: Nagios 3.02 Spec file/RPM In-Reply-To: <48359D28.6010900@caltech.edu> References: <48359D28.6010900@caltech.edu> Message-ID: <922DF274-1220-4A9E-A849-3CA953020753@ena.com> On May 22, 2008, at 11:19 AM, Aaron McKinnon wrote: > I've update the spec file that comes with Nagios 3.0.2 and > successfully > built an rpm that actually matches the shipping nagios.cfg (the > original > spec file does *not* match the shipping nagios.cfg). Is there a > place to > submit the spec file and/or rpm for further evaluation? The buid was > on nagios-devel at lists.sourceforge.net -- 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 Thu May 22 19:42:59 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 22 May 2008 19:42:59 +0200 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> References: <480D9462000506B7@nzoth.tiscali.cz> <4b008f7d0805220216n6b730108p1b567282007b317d@mail.gmail.com> <48353B02.30408@googlemail.com> <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> Message-ID: <4835B0A3.2090205@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alex Dehaini wrote: | Nagios uses an IP address to communicate with the device. I will still | like to know the environment where you can't use IP but MAC IPX? There is more to networking then IP. 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) iD8DBQFINbCiBvzDRVjxmYERAgvSAJ4xrFvAAvhjyYn8+n9ocxAVSgpcOACeILjz Iuw6DR67uigxK69z6KNVugM= =J6Fl -----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 marc at ena.com Thu May 22 19:56:11 2008 From: marc at ena.com (Marc Powell) Date: Thu, 22 May 2008 12:56:11 -0500 Subject: send_nsca In-Reply-To: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> References: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> Message-ID: On May 22, 2008, at 12:19 PM, Nair wrote: > Can some one please help me in integrating send_nsca command with my > Perl script for passive monitoring system. > > Say how can we integrate plugin output without writing to any file > and then piping thru send_nsca. > In it's simplest form it's hardly different than the example shell script in the Distributed Monitoring Documentation. Your perl script will need to know the shortname and service description in nagios that it's submitting a result for as well as the return code and text to display. When all that is known a system call is all that's needed -- system("/bin/echo -e '$host_name\t$service_description\t$return_code\t $outputtext\n' | /usr/local/nagios/bin/send_nsca -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg"); If you wanted to get more sophisticated you could open a pipe directly from perl to send_nsca and send to it's STDIN which would eliminate the slight overhead of the shell initiation. http://www.unix.com.ua/orelly/perl/cookbook/ch19_07.htm has some safer options than a straight system call for this purpose. -- 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 israel at frontierflying.com Thu May 22 20:38:17 2008 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 22 May 2008 10:38:17 -0800 Subject: Nagios 3 visual map In-Reply-To: <483330BA.9010500@process-zero.de> References: <5D70B661-694D-4C42-B043-B7992FECD6B9@frontierflying.com> <483330BA.9010500@process-zero.de> Message-ID: On May 20, 2008, at 12:12 PM, Hendrik B??cker wrote: > Hi, > > Israel Brewster schrieb: >> I did look at nagvis a while back, but at least at that time it >> would have required me to go through a very time-consuming process >> of placing each host and each link on the layout manually, and >> then adjusting the coordinates of each host and link in a >> configuration file to make it look good. This process would have >> been prohibitively time-consuming. I need something that can >> automatically place the hosts and links on the map, and simply >> allow me to drag the hosts around to position them. Thanks for any >> suggestions anyone might have to offer! > > well... give NagVis a second chance - it now has a "Automap" feature. Ok, tried that, and it is certainly closer to what I am looking for than it was. Still not quite there though. Actually, the first thing that happened is that it completely hosed my OpenBSD install- I couldn't run nano or the Nagios CGI's. I think, however, that was actually the fault of the graphviz install rather than nagvis itself. As far as Nagvis goes, the automap feature looks good, with a couple of exceptions. First (and most importantly) it doesn't show all my hosts. It behaves as though there is a maximum parent depth it will display or something. I'm not really sure what's going on, but significant portions of my network are not displayed. Secondly, it does not appear to be editable. As I mentioned, I am looking for something where I can simply drag and drop hosts to position them. As far as I can tell, this is still not an option in nagvis, even with the standard maps. So, anyway to solve these issues with nagvis? Or perhaps some other front-end that hasn't been mentioned yet? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > http://www.nagvis.org/_media/nagvis-1.3-automap_undirected-1.png > > Regards, > Hendrik ------------------------------------------------------------------------- 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 Thu May 22 22:05:24 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 22 May 2008 16:05:24 -0400 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: References: <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> Message-ID: <20080522200524.GH436@cgi.jachomes.com> On Thu, May 22, 2008 at 07:55:33AM -0500, Marc Powell wrote: > As Hari pointed it, it doesn't _have_ to, it's just the most common > protocol and the one that the standard plugins are designed for. I could > use PigeonProtocol if I could just teach the pigeon how to peck in the > check results. If the process can be scripted, it can be used as a check > plugin. It's that scripting part that can be challenging... Naw; just use an RFC1149 interface driver; it'll take care of all that for you. http://linux.omnipotent.net/article.php?article_id=12239 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 amontibello at gmail.com Fri May 23 00:18:32 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 22 May 2008 18:18:32 -0400 Subject: Performance data for service In-Reply-To: <9C5306A50D4.00000109izz_abdullah@inbox.com> References: <82cc77abfa8.00000e73izz_abdullah@inbox.com> <73d194b43b6.0000037eizz_abdullah@inbox.com> <483290ac.1030203@googlemail.com> <9C5306A50D4.00000109izz_abdullah@inbox.com> Message-ID: You could try testing with NC_NEt(http://sourceforge.net/projects/nc-net) or NSCLinet (http://nsclient.ready2run.nl/) They are both copatible with Check_nt so there will be minimal to no reconfiguration needed on Nagios side, However the default listen port is 1248 so you would need to at least configure that on the client side. check_nt does not have a showall for COunters , so that should not havee helped anything. Run the command help and check the documentation for your windows plugin. Also check the service description I prefer to use the following definition: define command{ command_name check_nt_with_L command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ -l "$ARG2$" $ARG3$ } then the check command: check_nt!COUNTER!Process\(Outlook)\Working Set since the passing to the Command definision may be losing your "" NC_Net would return a -1 when your Counter fails to actually connect but I do not know what nsclient++ returns on a bad counter. You may need to test from the command line what nsclient++ returns when the COunter is incorrect syntex. Tony (Author of NC_NEt) On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah wrote: > Ok, so I found an example using the COUNTER object. From the Nagios > server I can run the following and get correct data back: > > check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working > Set" > this returns memory for me... > > but when i put this into the windows.cfg file as: > check_nt!COUNTER!-l "Process\(Outlook)\Working Set" > > it verifies as no errors, but the GUI is showing 0, which is not the same > as from the command-line. I also tried the -d SHOWALL option and that > didn't work. Any ideas? > > Thanks in advance, > Izz > > -----Original Message----- > *From:* amontibello at gmail.com > *Sent:* Tue, 20 May 2008 22:00:12 -0400 > *To:* izz_abdullah at inbox.com > *Subject:* Re: [Nagios-users] Performance data for service > > You should be able to get this data through the Process performance > counter object with the instance set to the process name (as long as you can > map the process name to an actual counter instance) > > or you should be able to get this data through a WMI querry > > Or you can write a script or program and get the data through NC_NEt or > a NRPE plugin > > TOny (author of NC_Net) > On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah > wrote: > > Not necessarily explorer.exe. > > I am looking more at some java instances, (java.exe, etc.). I want to know > CPU load as well as Memory usage of a process. > > Thanks, > Izz > > > -----Original Message----- > > From: adesperateuser at googlemail.com > > Sent: Tue, 20 May 2008 10:49:48 +0200 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Performance data for service > > > > Hi Izz, > > > > Izz Abdullah schrieb: > >> I have enabled performance data for my monitored Windows 2k3 server. I > >> am receiving performance data, not extremely clear, but receiving, for > >> the defaulted services. What I want is to see performance data on > >> running processes as well (e.g. the Explorer.exe process has nothing in > >> the performance data field). Can someone please assist? > > > > What kind of performance data would you expect from explorer.exe? With > > some services, it just doesn't make much sense to have performance > > analyzed, in my opinion. > > > > 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 > > ____________________________________________________________ > FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! > Check it out at http://www.inbox.com/earth > > ------------------------------------------------------------------------- > 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 > -------------- 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 amontibello at gmail.com Fri May 23 00:26:16 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 22 May 2008 18:26:16 -0400 Subject: [Nagiosplug-help] check via MAC adress In-Reply-To: <4835B0A3.2090205@vanderkooij.org> References: <480D9462000506B7@nzoth.tiscali.cz> <4b008f7d0805220216n6b730108p1b567282007b317d@mail.gmail.com> <48353B02.30408@googlemail.com> <4b008f7d0805220231s346df61yf4a1972ea475259f@mail.gmail.com> <4835B0A3.2090205@vanderkooij.org> Message-ID: Isn't NetBios also MAC dependent protocal? tony On Thu, May 22, 2008 at 1:42 PM, Hugo van der Kooij < hvdkooij at vanderkooij.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Alex Dehaini wrote: > | Nagios uses an IP address to communicate with the device. I will still > | like to know the environment where you can't use IP but MAC > > IPX? There is more to networking then IP. > > 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) > > iD8DBQFINbCiBvzDRVjxmYERAgvSAJ4xrFvAAvhjyYn8+n9ocxAVSgpcOACeILjz > Iuw6DR67uigxK69z6KNVugM= > =J6Fl > -----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 > -------------- 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 s.shipway at auckland.ac.nz Fri May 23 01:22:35 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 23 May 2008 11:22:35 +1200 Subject: send_nsca In-Reply-To: References: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> Message-ID: <6B587E8C999646469B54486AF21958460180DADEEA@UXCHANGE7-1.UoA.auckland.ac.nz> > On May 22, 2008, at 12:19 PM, Nair wrote: > > > Can some one please help me in integrating send_nsca command with my > > Perl script for passive monitoring system. > > > > Say how can we integrate plugin output without writing to any file > > and then piping thru send_nsca. > > > You can also take a look at http://search.cpan.org/dist/Nagios-NSCA/ which is the Nagios::NSCA perl module interface. It's a bit ropey though (only v0.1) and the install script appears to be broken but it s a good place to start. Steve ------------------------------------------------------------------------- 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 james.ochs at greennote.com Fri May 23 04:12:35 2008 From: james.ochs at greennote.com (James Ochs) Date: Thu, 22 May 2008 19:12:35 -0700 Subject: Determining outage duration for service /host Message-ID: <94856EC2-0F25-4BCF-B1D9-425DE7276A4D@greennote.com> Hi all, I'm trying to programmatically determine how long a host was in a problem state for our ticketing system by calculating the value when the recovery notice was sent. It seems like this should be pretty straight forward, but it isn't ;) I've got the ticket system opening a ticket, storing the $SERVICEPROBLEMID$ and the start time. I don't really see an efficient way to get the ticket number back to nagios (I am using RT if any has any suggestions), so the recovery notice is opening a second ticket which we then have to merge manually (recovery stores $LASTSERVICEPROBLEMID$ and thats how we x-ref the ticket.) I thought I could just subtract $LASTSERVICEOK$ from $LASTSERVICESTATECHANGE$ to get the value, however BOTH macros get reset when the state changes to ok, and it would also have the problem of not counting the time a service was in warning and then transitioned to critical. The docs seem to indicate $LASTSERVICECRITICAL$ is only since the last time the host was checked and ins't the total duration of the service being in a critical state, and it doesn't cover the other types of problems (namely warning and critical) I see the macros for $LASTSERVICEPROBLEMID$ is there a way to get a timestamp for that event? The only other thing I can think of is to use a database and write scripts to get the responses from RT that stores the problem id, time, and ticket # in a table and then do lookups on that on a recovery event... it just seems a bit rube-goldberg and I feel like I'm missing something here ;) Thanks, James ------------------------------------------------------------------------- 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 asam30 at gmail.com Fri May 23 08:44:50 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Fri, 23 May 2008 12:14:50 +0530 Subject: check_oracle does not work In-Reply-To: <25251aec0805210623q47d2712dsee14b4e20d202632@mail.gmail.com> References: <25251aec0805210623q47d2712dsee14b4e20d202632@mail.gmail.com> Message-ID: <25251aec0805222344h12cae579k8b20bf1116d0860e@mail.gmail.com> Hello, I was trying t monitor check_oracle plug in via nrpe daemon and unsuccessful. I had a problem of "No TNS listener message" on my nagios console. Now I am trying to monitor without the nrpe deamon. just simply using nagios plug in check_oracle commands.cfg has, define command{ command_name check_oracle command_line $USER1$/check_oracle $ARG1$ $ARG2$ } services.cfg has, define service{ host_name !somemachine1,!sommachine2,somemachine3 hostgroup_name pay-db,mspl-db service_description ORACLE SID is_volatile 0 check_period 24x7 check_interval 3 retry_interval 3 max_check_attempts 3 notification_interval 4 notification_period 24x7 notification_options w,u,c,r check_command check_oracle!--db playdb1 contact_groups admins } oracle server is runnng on somemachine3 with the SID playdb1. If I log into remote machine and execute, [nagios at rsomemachine3 libexec]$ ./check_oracle --db playdb1 playdb1 OK - 1 PMON process(es) running but from nagios machine, [nagios at lnxtestsrv1 libexec]$ ./check_oracle --db playdb1 playdb1 Database is DOWN [nagios at lnxtestsrv1 libexec]$ ./check_oracle --tns playdb1 Cannot determine ORACLE_HOME for sid playdb1 I have set the proper ORACLE_HOME, ORACLE_SID , PATH variable both on nagios and remote machine well. I aslo enter paramters into tnsnames.ora on remote machine (where oracle is running) for nagios user. But the problem still persists, can you someone please help in this? Thanks - shankar -------------- 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 hpsekhon at googlemail.com Fri May 23 10:45:39 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 23 May 2008 09:45:39 +0100 Subject: send_nsca In-Reply-To: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> References: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> Message-ID: <48368433.5050901@googlemail.com> Nair wrote: > > Can some one please help me in integrating send_nsca command with my > Perl script for passive monitoring system. > > Say how can we integrate plugin output without writing to any file and > then piping thru send_nsca. > > Thank you, > Nair > Don't waste your time Nair, I've written a generic nsca_wrapper which will turn any plugin into a passive service check by just putting nsca_wrapper in front of the plugin. You still need to have set up nsca of course, but this means that you do not have to write any scripts for passive service checks, just run it straight after nsca_wrapper with a couple of switches. By the time you do your second passive service check, you start thinking, "Hang on, this is a waste of time, I don't want to have to put in any effort to just set up another passive check". Enter NSCA_Wrapper: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2529.html;d=1 -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 bas at ichthusict.org Fri May 23 12:35:20 2008 From: bas at ichthusict.org (Bas van Oosterum) Date: Fri, 23 May 2008 12:35:20 +0200 Subject: error while loading ndomod.cfg Message-ID: <1211538920.7356.3.camel@bas-laptop.corp.ebay.com> Hi all, just trying to install the combination nagios 3.0.2 / centreon2 / ndo 1.4b7 After restarting nagios I get the next error in the nagios.log: Error: Could not safely copy module 'config_file=/usr/local/nagios/etc/ndomod.cfg'. The module will not be loaded: No such file or directory the file /usr/local/nagios/etc/ndomod.cfg is in place and it is owned by the nagios user ;) anybody? regards, Bas ------------------------------------------------------------------------- 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 23 12:46:28 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 23 May 2008 10:46:28 +0000 Subject: error while loading ndomod.cfg In-Reply-To: <1211538920.7356.3.camel@bas-laptop.corp.ebay.com> References: <1211538920.7356.3.camel@bas-laptop.corp.ebay.com> Message-ID: <93C487A372B3774CAEAA15D524CCF3D122885537EB@G1W0485.americas.hpqcorp.net> > Hi all, > > just trying to install the combination nagios 3.0.2 / centreon2 / ndo > 1.4b7 > > After restarting nagios I get the next error in the nagios.log: > > Error: Could not safely copy module > 'config_file=/usr/local/nagios/etc/ndomod.cfg'. The module will not be > loaded: No such file or directory > > the file /usr/local/nagios/etc/ndomod.cfg is in place and it is owned > by > the nagios user ;) What does the ndo section of your Nagios config look like? It looks like you've specified the broker_module incorrectly. ------------------------------------------------------------------------- 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 bas at ichthusict.org Fri May 23 13:06:05 2008 From: bas at ichthusict.org (Bas van Oosterum) Date: Fri, 23 May 2008 13:06:05 +0200 Subject: error while loading ndomod.cfg In-Reply-To: <93C487A372B3774CAEAA15D524CCF3D122885537EB@G1W0485.americas.hpqcorp.net> References: <1211538920.7356.3.camel@bas-laptop.corp.ebay.com> <93C487A372B3774CAEAA15D524CCF3D122885537EB@G1W0485.americas.hpqcorp.net> Message-ID: <1211540765.7356.9.camel@bas-laptop.corp.ebay.com> Hi Patrick, you where right! Centreon did not generate the nagios.cfg right: broker_module= config_file=/usr/local/nagios/etc/ndomod.cfg I just manually changed it in: broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg and the problem is fixed! tnx! Regards, Bas On Fri, 2008-05-23 at 10:46 +0000, Morris, Patrick wrote: > > Hi all, > > > > just trying to install the combination nagios 3.0.2 / centreon2 / ndo > > 1.4b7 > > > > After restarting nagios I get the next error in the nagios.log: > > > > Error: Could not safely copy module > > 'config_file=/usr/local/nagios/etc/ndomod.cfg'. The module will not be > > loaded: No such file or directory > > > > the file /usr/local/nagios/etc/ndomod.cfg is in place and it is owned > > by > > the nagios user ;) > > What does the ndo section of your Nagios config look like? It looks like you've specified the broker_module incorrectly. ------------------------------------------------------------------------- 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 23 15:08:17 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 23 May 2008 15:08:17 +0200 Subject: [Nagiosplug-help] check_netscreen_vpn In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A64@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A56@SV0099.cernum.com> <4836BC88.4050908@googlemail.com> <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A64@SV0099.cernum.com> Message-ID: <4836C1C1.3060101@googlemail.com> Tim Van Caeyzeele schrieb: > Marcus thanks for your support ;) Doing it for fun and karma-credits ;-) > 1 last newbie question: Indeed ... > How do I adjust permissions and how do I run it from the commandline ? # Let it be owned by nagios-user chown nagios:nagios /path/to/nagios/libexec/scriptname # Make it executable chmod u+x /path/to/nagios/libexec/scriptname # Gives the user (nagios) an execute-possibility on the script. # Otherwise you need to call it with "perl scriptname" > Just type check_netscreen_vpn ? or perl check_netscreen_vpn ? Either full path to script (/path/to/nagios/libexec/scriptname ) or do a "cd" to your nagios/libexec and type ./check_netscreen_vpn -H 10.1.1.23 -C your_password -n "somevpn" -l The first line of the script invokes the correct interpreter, normally, so you don't type "perl check_netscreen_vpn ..." usually, but you could do that, too. See the usage-examples on http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1681.html If it doesn't work, maybe you have a distro-nagios, which might not be in /usr/local/nagios. Then you have to adjust the perl-script with an editor editing the line use lib "/usr/local/nagios/libexec" ; to wherever your libexec is located at. I run into this issue at least two times already :-/ (but now I know what to watch out for). > PS: I'm having issues with some SH scripts, same problem as the PERL one I guess ;) Probably, but this should get you going, I hope... Same procedure. Greetz, Marcus P.S.: Two more things: 1) Keep it on the list please, for the sake of sharing knowledge with others. 2) A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? (Got that one from Hugos Mails) ;-) ------------------------------------------------------------------------- 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 23 15:20:42 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 23 May 2008 15:20:42 +0200 Subject: [Nagiosplug-help] check_netscreen_vpn In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A6D@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A56@SV0099.cernum.com> <4836BC88.4050908@googlemail.com> <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A64@SV0099.cernum.com> <4836C1C1.3060101@googlemail.com> <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A6D@SV0099.cernum.com> Message-ID: <4836C4AA.3070704@googlemail.com> Tim Van Caeyzeele schrieb: > Wow, I love this community feeling thing ;) never got this kind of support with windows apps :) > > I managed to do the below perfectly, but am having 1 issue: > > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/nagios/script_securalis /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ./check_netscreen_vpn line 36. > BEGIN failed--compilation aborted at ./check_netscreen_vpn line 36. > > Although the snmp utils are installed (using sudo apt-get install snmp) > > Am I forgetting something ? > > > Ps: It's back on the list ;) And still top-posting ... Well, I guess you need perl::snmp, the SNMP-Libs for Perl. Should be able to find that via "sudo aptitude search snmp | grep perl" or something like that, on the console, or with your package-manager. 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 subscribe at kringstad.net Fri May 23 15:41:45 2008 From: subscribe at kringstad.net (subscribe) Date: Fri, 23 May 2008 15:41:45 +0200 Subject: Citrix Plugins In-Reply-To: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A56@SV0099.cernum.com> References: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A56@SV0099.cernum.com> Message-ID: Hi List, I was wondering if there are any good plugins for Citrix Metaframe? Regards! -------------- 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.bourdeau at dga.defense.gouv.fr Fri May 23 15:55:35 2008 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Fri, 23 May 2008 15:55:35 +0200 Subject: RE check_oracle does not work In-Reply-To: <25251aec0805222344h12cae579k8b20bf1116d0860e@mail.gmail.com> References: <25251aec0805222344h12cae579k8b20bf1116d0860e@mail.gmail.com> Message-ID: Hi, In your service definition, yuou have forgotten the "!" between the 2 parameters check_command check_oracle!--db!playdb1 Try it with it Frank [ENVOYE PAR INTERNET] asam30 at gmail.com Envoy? par : nagios-users-bounces at lists.sourceforge.net 23/05/2008 08:44 A nagios-users at lists.sourceforge.net cc Objet [Nagios-users] check_oracle does not work Hello, I was trying t monitor check_oracle plug in via nrpe daemon and unsuccessful. I had a problem of "No TNS listener message" on my nagios console. Now I am trying to monitor without the nrpe deamon. just simply using nagios plug in check_oracle commands.cfg has, define command{ command_name check_oracle command_line $USER1$/check_oracle $ARG1$ $ARG2$ } services.cfg has, define service{ host_name !somemachine1,!sommachine2,somemachine3 hostgroup_name pay-db,mspl-db service_description ORACLE SID is_volatile 0 check_period 24x7 check_interval 3 retry_interval 3 max_check_attempts 3 notification_interval 4 notification_period 24x7 notification_options w,u,c,r check_command check_oracle!--db playdb1 contact_groups admins } oracle server is runnng on somemachine3 with the SID playdb1. If I log into remote machine and execute, [nagios at rsomemachine3 libexec]$ ./check_oracle --db playdb1 playdb1 OK - 1 PMON process(es) running but from nagios machine, [nagios at lnxtestsrv1 libexec]$ ./check_oracle --db playdb1 playdb1 Database is DOWN [nagios at lnxtestsrv1 libexec]$ ./check_oracle --tns playdb1 Cannot determine ORACLE_HOME for sid playdb1 I have set the proper ORACLE_HOME, ORACLE_SID , PATH variable both on nagios and remote machine well. I aslo enter paramters into tnsnames.ora on remote machine (where oracle is running) for nagios user. But the problem still persists, can you someone please help in this? Thanks - shankar ------------------------------------------------------------------------- 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 mark.novak at eds.com Fri May 23 18:35:34 2008 From: mark.novak at eds.com (Novak, Mark) Date: Fri, 23 May 2008 11:35:34 -0500 Subject: Problem with CHECK_SAP_CONS In-Reply-To: <906530D5DDCFB34DBF9A6697071FDB3402D46866@usplm215.amer.corp.eds.com> References: <924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c@mail.gmail.com> <906530D5DDCFB34DBF9A6697071FDB3402D46866@usplm215.amer.corp.eds.com> Message-ID: <906530D5DDCFB34DBF9A6697071FDB3402DBE29D@usplm215.amer.corp.eds.com> Hello, For the sake of anyone that might be curious or runs into a similar problem- I posted on nagios-portal.de thinking (rightly) that there would be more SAP users over there in Germany. One of the posters there came up with the solution: The main problem was that for testing I was using my login, which has SAP_ALL and SAP_NEW. You have to follow the steps outlined in Wolfgang Barth's book to create the RFC user. Once that part was done, the initial connection was made. The second problem was that when the plugin queried the SAP system, it (or the RFC call) converted the password to upper case. SAP is case sensitive, so I went ahead and gave the new RFC user an all upper case password. >From that point on, everything worked great! Thanks, Mark Novak EDS SAP Practice Office: 972-605-2817 Cell: 214-725-5295 Email: mark.novak at eds.com ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Novak, Mark Sent: Sunday, May 18, 2008 4:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with CHECK_SAP_CONS Hello Everyone, I am trying to make the SAP CCMS plugins work with my systems. I have successfully installed and configured ./check_sap.sh, and it works fine. When setting up check_sap_cons, I set up an agent.cfg and login.cfg in /etc/sapmon. For the login.cfg, I used my userid and password (SAP_ALL and SAP_NEW). When I execute "./check_sap_cons 00 SM1", I receive the following error: <== RfcLastError FUNCTION: SXMI_LOGON RFC operation/code SYSTEM_FAILURE ERROR/EXCEPTION key : status : message : Name or password is incorrect (repeat logon) internal: <== RfcClose I have googled for this error and checked the newsgroups. I followed Wolfgang Barth's excellent book for the setup. I am not sure why I would get an incorrect username/password error. I can log in fine through SAPGUI with the same username/password combo. Any and all assistance is much appreciated! agent.cfg -> [TEMPLATE_00] DESCRIPTION=Dialog response time MONI_SET_NAME=SAP CCMS Monitor Templates MONI_NAME=DIALOG Overview PATTERN_0=* login.cfg -> [LOGIN_SM1] LOGIN=-d SM1 -u user -p password -c 001 -h myhostname -s 00 Command that I am running -> ./check_sap_cons 00 SM1 Thanks, Mark Novak EDS SAP Practice Office: 972-605-2817 Cell: 214-725-5295 Email: mark.novak at eds.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 john.nagios at gmail.com Fri May 23 19:04:18 2008 From: john.nagios at gmail.com (Nagios User) Date: Fri, 23 May 2008 13:04:18 -0400 Subject: action_url issues Message-ID: Hello, I have nagios 3.0.2 installed on RHEL 5.0 64 bit server. Everything is working fine except for url links on action_url get messed up when I get alerts. Is this a bug on 3.0.2? should be http://10.31.48.16/nagios/cgi-bin/cmd.cgi?cmd_typ=33&host=$HOSTNAME$ and this what I get on alerts http%3A%2F%2F10.31.48.16%2Fnagios%2Fcgi-bin%2Fcmd.cgi%3Fcmd_typ%3D33%26host%3DBullrunES Thanks, -john ------------------------------------------------------------------------- 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 owen.m.lagarde at usace.army.mil Fri May 23 21:34:45 2008 From: owen.m.lagarde at usace.army.mil (Owen LaGarde) Date: Fri, 23 May 2008 14:34:45 -0500 Subject: Deferring user authentication to the server *and* using server defined usernames? Message-ID: <1211571285.16002.110.camel@gilgamesh.erdc.hpc.mil> I've seen reference to using the SSL certificate authentication performed by httpd to drive Nagios user identification -- the LCG wiki at https://twiki.cern.ch/twiki/bin/view/LCG/GridMonitoringNagiosInstall mentions a form of this. I'd like to go a step further and use one of the environment variables (specifically SSL_CLIENT_S_DN_CN) defined by mod_ssl to specify the user name. This is primarily driven by a number of issues -- well outside the scope of this list -- springing from the DoD's use of this certificate component. The basic idea is to set an environment variable, say, USERNAME, to SSL_CLIENT_S_DN_CN when mod_ssl builds the session, and have Nagios honor it as trusted and assign roles/capabilities to it in the usual places. As an example see Numara Footprints' use of $USERNAME, which it expects mod_ssl to populate when the auth method is "external". Does anyone else do this? -- Sincerely, Owen LaGarde Senior Systems Administrator Owen.M.LaGarde at erdc.usace.army.mil 1-800-522-6937 x4879 Engineering Research and Development Center attn: CEERD-IH-C (Owen LaGarde) 3909 Halls Ferry Road Vicksburg, MS 39180-6199 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: 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 owen.m.lagarde at usace.army.mil Fri May 23 21:47:20 2008 From: owen.m.lagarde at usace.army.mil (Owen LaGarde) Date: Fri, 23 May 2008 14:47:20 -0500 Subject: Deferring user authentication to the server *and* using server defined usernames? In-Reply-To: <1211562567.16002.96.camel@gilgamesh.erdc.hpc.mil> References: <1211562567.16002.96.camel@gilgamesh.erdc.hpc.mil> Message-ID: <1211572040.16002.114.camel@gilgamesh.erdc.hpc.mil> A more direct question: Torsten Fellhauer wrote a patch for this back in the 1.2 days. Did that functionality ever make it into mainstream, and if so, how do I config for it? On Fri, 2008-05-23 at 12:09 -0500, Owen LaGarde wrote: > I've seen reference to using the SSL certificate authentication > performed by httpd to drive Nagios user identification -- the LCG wiki > at https://twiki.cern.ch/twiki/bin/view/LCG/GridMonitoringNagiosInstall > mentions a form of this. I'd like to go a step further and use one of > the environment variables (specifically SSL_CLIENT_S_DN_CN) defined by > mod_ssl to specify the user name. This is primarily driven by a number > of issues -- well outside the scope of this list -- springing from the > DoD's use of this certificate component. The basic idea is to set an > environment variable, say, USERNAME, to SSL_CLIENT_S_DN_CN when mod_ssl > builds the session, and have Nagios honor it as trusted and assign > roles/capabilities to it in the usual places. As an example see Numara > Footprints' use of USERNAME and mod_ssl. Does anyone else do this? > > -- Sincerely, Owen LaGarde Senior Systems Administrator Owen.M.LaGarde at erdc.usace.army.mil 1-800-522-6937 x4879 Engineering Research and Development Center attn: CEERD-IH-C (Owen LaGarde) 3909 Halls Ferry Road Vicksburg, MS 39180-6199 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: 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 Fri May 23 22:19:11 2008 From: marc at ena.com (Marc Powell) Date: Fri, 23 May 2008 15:19:11 -0500 Subject: Deferring user authentication to the server *and* using server defined usernames? In-Reply-To: <1211572040.16002.114.camel@gilgamesh.erdc.hpc.mil> References: <1211562567.16002.96.camel@gilgamesh.erdc.hpc.mil> <1211572040.16002.114.camel@gilgamesh.erdc.hpc.mil> Message-ID: <641022A3-7525-490E-8FBB-125753434F47@ena.com> On May 23, 2008, at 2:47 PM, Owen LaGarde wrote: > A more direct question: Torsten Fellhauer wrote a patch for this back > in the 1.2 days. Did that functionality ever make it into mainstream, > and if so, how do I config for it? It did not. Nagios relies exclusively on REMOTE_USER for the authenticated username. -- 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 justin at esolutions.net Fri May 23 22:57:35 2008 From: justin at esolutions.net (Justin Brown) Date: Fri, 23 May 2008 13:57:35 -0700 Subject: Host Down Notifications not being sent Message-ID: <00c601c8bd17$a22106b0$3b01a8c0@Development1> Hi, I have been using Nagios 2.x for almost 2 years now and I have been very happy with its performance. Recently I decided to upgrade to version 3 but when I did Nagios stopped sending out notifications. I figured that I had some bugs in my configuration so I rebuilt the whole thing one object at a time using the Nagios 3 documentation. When I had completed that Nagios still did not send out down notices and I don't know what to do other than revert back to version 2. When I go to the Host detail page for a server it says that notifications are enabled. I know my email command works because I can send custom notifications just fine. The system correctly displays a server going down and then up (nagios.log records this as well) but no notifications are sent. I have doublechecked both my contact and host objects and I can't find anything wrong. Notifications are enabled in nagios.cfg. Is there anywhere else I should be looking? Any help you could offer would be greatly appreciated. Here is my contact object: define contact{ contact_name office alias office host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email myemail at mycompany.com } And here is the host object (slightly edited): define host{ host_name server alias Server address 123.123.123.123 parents parent_host check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 10 notification_period 24x7 notification_options d,u,r contact_groups office_group icon_image tux.png icon_image_alt Linux vrml_image tux.png statusmap_image tux.gd2 } Naturally the contact I provided is in the 'office_group' contact_group. Thanks in advance. --Justin Brown eSolutions justin at esolutions.net -------------- 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 amontibello at gmail.com Sat May 24 00:12:08 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 23 May 2008 18:12:08 -0400 Subject: send_nsca In-Reply-To: <48368433.5050901@googlemail.com> References: <20080522171915.4224.qmail@f5mail-237-215.rediffmail.com> <48368433.5050901@googlemail.com> Message-ID: Doesn't that method send the checks through seperate NSCA connection (one per check)? While writing a custom NSCA script can send all the check results in a single NSCA connection? TOny (Author of NC_NEt) On Fri, May 23, 2008 at 4:45 AM, Hari Sekhon wrote: > Nair wrote: > > > > Can some one please help me in integrating send_nsca command with my > > Perl script for passive monitoring system. > > > > Say how can we integrate plugin output without writing to any file and > > then piping thru send_nsca. > > > > Thank you, > > Nair > > > Don't waste your time Nair, I've written a generic nsca_wrapper which > will turn any plugin into a passive service check by just putting > nsca_wrapper in front of the plugin. You still need to have set up nsca > of course, but this means that you do not have to write any scripts for > passive service checks, just run it straight after nsca_wrapper with a > couple of switches. > > By the time you do your second passive service check, you start > thinking, "Hang on, this is a waste of time, I don't want to have to put > in any effort to just set up another passive check". Enter NSCA_Wrapper: > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2529.html;d=1 > > -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 > -------------- 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 mckinnon at caltech.edu Sat May 24 00:27:55 2008 From: mckinnon at caltech.edu (Aaron McKinnon) Date: Fri, 23 May 2008 15:27:55 -0700 Subject: Nagios 3.X quoted check commands Message-ID: <483744EB.3060408@caltech.edu> I'm working on migrating a 1.4 server that uses some quoted check commands. For example: check_command "/usr/lib/nagios/plugins/check_file_age -w 86400 -c 172800 -W 310000 -C 1 -f /mnt/backup/aus-sql0/mysql/mysql.sql" ...and it appears that 3.X doesn't support that: Checking services... Error: Service check command '"/usr/lib/nagios/plugins/check_file_age -w 86400 -c 172800 -W 310000 -C 1 -f /mnt/backup/aus-sql0/mysql/mysql.sql"' specified in service 'MySQL Dump' for host 'aus-sql0.caltech.edu' not defined anywhere! Can anyone confirm or deny that? Thanks. -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 justin at esolutions.net Sat May 24 00:52:44 2008 From: justin at esolutions.net (Justin Brown) Date: Fri, 23 May 2008 15:52:44 -0700 Subject: Host Down Notifications not being sent In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110A2D090@NUMAIL.norwich.edu> References: <00c601c8bd17$a22106b0$3b01a8c0@Development1> <3CB18FFE1CDC71449BCCEC0FFD983110A2D090@NUMAIL.norwich.edu> Message-ID: <00ef01c8bd27$b82adc50$3b01a8c0@Development1> Thanks for the tip. I looked and the title of the command is correct in my contact definition. Also, there are no messages in nagios.log indicating that it is trying to send out emails. --Justin Brown eSolutions justin at esolutions.net _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: Friday, May 23, 2008 3:30 PM To: Justin Brown Subject: RE: [Nagios-users] Host Down Notifications not being sent Not sure if it pertains to your situation, but one of the problems I had moving to 3.x was that the "host-notify-by-email" command definition name had changed. See templates.cfg - I believe it changed from like "notify-host-by-email" to "host-notify-by-email". (or vice-versa - I'm not on my Nagios box at the moment so I'm not positive) - anyhow, I had the same issue until I changed them all in my (old) cfg files to match the new definition names in the 3.x template.cfg file. Regards, jamie From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Justin Brown Sent: Friday, May 23, 2008 1:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host Down Notifications not being sent Hi, I have been using Nagios 2.x for almost 2 years now and I have been very happy with its performance. Recently I decided to upgrade to version 3 but when I did Nagios stopped sending out notifications. I figured that I had some bugs in my configuration so I rebuilt the whole thing one object at a time using the Nagios 3 documentation. When I had completed that Nagios still did not send out down notices and I don't know what to do other than revert back to version 2. When I go to the Host detail page for a server it says that notifications are enabled. I know my email command works because I can send custom notifications just fine. The system correctly displays a server going down and then up (nagios.log records this as well) but no notifications are sent. I have doublechecked both my contact and host objects and I can't find anything wrong. Notifications are enabled in nagios.cfg. Is there anywhere else I should be looking? Any help you could offer would be greatly appreciated. Here is my contact object: define contact{ contact_name office alias office host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email myemail at mycompany.com } And here is the host object (slightly edited): define host{ host_name server alias Server address 123.123.123.123 parents parent_host check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 10 notification_period 24x7 notification_options d,u,r contact_groups office_group icon_image tux.png icon_image_alt Linux vrml_image tux.png statusmap_image tux.gd2 } Naturally the contact I provided is in the 'office_group' contact_group. Thanks in advance. --Justin Brown eSolutions justin at esolutions.net __________ NOD32 3128 (20080523) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.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 tv_ramna at yahoo.co.in Sat May 24 01:44:51 2008 From: tv_ramna at yahoo.co.in (tanniru rao) Date: Sat, 24 May 2008 00:44:51 +0100 (BST) Subject: Regarding web interface Message-ID: <805498.88445.qm@web8401.mail.in.yahoo.com> Hi, Iam new to nagios application.I have installed nagios but when i tried to configure web interface i got a doubt that where to execute make install-webconfig command and how to use it. Iam installing on fedora 7.Can anyone help on this Thanks, Ramana. Bring your gang together. Do your thing. Find your favourite Yahoo! group at http://in.promos.yahoo.com/groups/ ------------------------------------------------------------------------- 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 nathan.vonnahme-rhamZ04aORePm+gJULTNRw at public.gmane.org Sat May 24 02:07:38 2008 From: nathan.vonnahme-rhamZ04aORePm+gJULTNRw at public.gmane.org (Vonnahme, Nathan) Date: Fri, 23 May 2008 16:07:38 -0800 Subject: Citrix Plugins In-Reply-To: References: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A56@SV0099.cernum.com> Message-ID: <077F1B782014ED48A58E7927914D36A001D071D5@fai01500.bhs.bannerhealth.com> We use NT NRPE on Citrix servers to do simple checks for disk and processor utilization and to check important services like the Citrix IMA, WMI, XML and XTE services are running. You could get fancier but those cover a lot. From: nagiosplug-help-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org [mailto:nagiosplug-help-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of subscribe Sent: Friday, May 23, 2008 5:42 AM To: nagiosplug-help-TtF/mJH4Jtrk1uMJSBkQmQ at public.gmane.org; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: [Nagiosplug-help] Citrix Plugins Hi List, I was wondering if there are any good plugins for Citrix Metaframe? Regards! -------------- 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 -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat May 24 04:22:45 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 23 May 2008 22:22:45 -0400 Subject: Nagios 3.X quoted check commands In-Reply-To: <483744EB.3060408@caltech.edu> References: <483744EB.3060408@caltech.edu> Message-ID: <48377BF5.9080907@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/05/08 06:27 PM, Aaron McKinnon wrote: > I'm working on migrating a 1.4 server that uses some quoted check > commands. For example: > > check_command "/usr/lib/nagios/plugins/check_file_age > -w 86400 -c 172800 -W 310000 -C 1 -f /mnt/backup/aus-sql0/mysql/mysql.sql" > > ...and it appears that 3.X doesn't support that: You'll have to write a checkcommand definitions for them. If you have multiple ones similar with different arguments you'll probably want to use $ARGn$ macros to pass arguments. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIN3v16dZ+Kt5BchYRAhDjAJ9lfNo1XBcRPTsS1+lUQshIk3IFTACgxa5N VnLHsS8QM0MgmSqu3wzEGw4= =JxZk -----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 hvdkooij at vanderkooij.org Sat May 24 15:54:17 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 24 May 2008 15:54:17 +0200 Subject: action_url issues In-Reply-To: References: Message-ID: <48381E09.3060500@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nagios User wrote: | Hello, | | I have nagios 3.0.2 installed on RHEL 5.0 64 bit server. Everything is | working fine except for url links on action_url get messed up when I | get alerts. Is this a bug on 3.0.2? | | should be | | http://10.31.48.16/nagios/cgi-bin/cmd.cgi?cmd_typ=33&host=$HOSTNAME$ | | and this what I get on alerts | | http%3A%2F%2F10.31.48.16%2Fnagios%2Fcgi-bin%2Fcmd.cgi%3Fcmd_typ%3D33%26host%3DBullrunES This definitly looks like someone translated this later. Where do you see this output? The output is the correct translation for the given characters. So I suspect something in your (unmentioned!) SMTP environment. 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) iD8DBQFIOB4HBvzDRVjxmYERAou3AJ9IXOfCVAmRbwTj1DkCPizNHKn5owCfUjWV EzCefZ9hbMr8696eWcY8Tfc= =6KPN -----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 hvdkooij at vanderkooij.org Sat May 24 16:05:41 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 24 May 2008 16:05:41 +0200 Subject: Nagios 3.X quoted check commands In-Reply-To: <483744EB.3060408@caltech.edu> References: <483744EB.3060408@caltech.edu> Message-ID: <483820B5.9020302@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aaron McKinnon wrote: | I'm working on migrating a 1.4 server that uses some quoted check | commands. For example: | | check_command "/usr/lib/nagios/plugins/check_file_age | -w 86400 -c 172800 -W 310000 -C 1 -f /mnt/backup/aus-sql0/mysql/mysql.sql" | | ...and it appears that 3.X doesn't support that: | | Checking services... | Error: Service check command '"/usr/lib/nagios/plugins/check_file_age -w | 86400 -c 172800 -W 310000 -C 1 -f /mnt/backup/aus-sql0/mysql/mysql.sql"' | specified in service 'MySQL Dump' for host 'aus-sql0.caltech.edu' not | defined anywhere! | | Can anyone confirm or deny that? Why would you use these quotes here to begin with. The while line after the check_command keyword is considered to be the command to run the check. I got plenty of those with ackward options without the need for quotes. So just drop them. for eaxmple: define command{ ~ command_name check-host-alive ~ command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 ~ } Works like a charm. 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) iD8DBQFIOCCzBvzDRVjxmYERAoCBAJ0Uxvbcck0LoSgfe4M187GFEw54nwCgiMH8 KRMTu6iP2kYOOGluq5R018g= =QGSI -----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 marc at ena.com Sun May 25 15:37:45 2008 From: marc at ena.com (Marc Powell) Date: Sun, 25 May 2008 08:37:45 -0500 Subject: Nagios 3.X quoted check commands In-Reply-To: <483820B5.9020302@vanderkooij.org> References: <483820B5.9020302@vanderkooij.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Saturday, May 24, 2008 9:06 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Nagios 3.X quoted check commands > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Aaron McKinnon wrote: > | I'm working on migrating a 1.4 server that uses some quoted check > | commands. For example: > | > | check_command "/usr/lib/nagios/plugins/check_file_age > | -w 86400 -c 172800 -W 310000 -C 1 -f /mnt/backup/aus-sql0/mysql/mysql.sql" > | > | ...and it appears that 3.X doesn't support that: It was removed early in the 2.x release -- http://nagios.cvs.sourceforge.net/nagios/nagios/base/config.c?view=log&p athrev=nagios-2-0 Revision 1.8 - (view) (download) (annotate) - [select for diffs] Wed Dec 4 02:33:05 2002 UTC (5 years, 5 months ago) by egalstad Branch: MAIN Changes since 1.7: +8 -5 lines Diff to previous 1.7 Host check commands can now have arguments, removed vanilla command support > Why would you use these quotes here to begin with. The while line after > the check_command keyword is considered to be the command to run the check. It didn't always used to be so. Using raw commands was supported and useful. What other reason would someone need? -- 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 livio.zanol.puppim at gmail.com Mon May 26 02:10:09 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Sun, 25 May 2008 21:10:09 -0300 Subject: Citrix Plugins In-Reply-To: References: <48C4B0E24DA90B4481C2ED21F591A30F1A746F5A56@SV0099.cernum.com> Message-ID: The SNMP agent is not fully implemented on the PS 4.5 , so, some OIDs can't be used, but have a check at the Citrix MIB (www.mibdepot.com is a good site to look for). You can also monitor services via process using windows host MIBs, and check connections on ports, like 1494. There's also a script for connecting into a citirx server and see if an aplicaiton is avaiable, but I think that it's was build for an old version. google it. []'s L?vio Zanol Puppim 2008/5/23 subscribe : > Hi List, > > I was wondering if there are any good plugins for Citrix Metaframe? > > > > 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 > -- []'s L?vio Zanol Puppim ------------------------------------------------------------------------- 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 mangesh.dhamale at sumasoft.net Mon May 26 11:48:19 2008 From: mangesh.dhamale at sumasoft.net (Mangesh Dhamale) Date: Mon, 26 May 2008 15:18:19 +0530 Subject: Can I configure my own shell scripts Message-ID: <1442D254307F45E997F092CBAF247812@sumalap0020> Hello Everyone, I have one query, can I monitor my own shell scripts. Regards, Mangesh Dhamale ----------------------------------------------------------------- System Administrator Suma Soft Pvt. Ltd. Suma Center, IInd Floor, Opp. Himali Society, Near Mangeshkar Hospital, Erandwane, Pune - 411004 Ph : +91-20-40130400 Extn : 327 Cell : +91-98508 87775 www.sumasoft.com ------------------------------------------------------------------ ---------------------------------------------- Confidentiality Note: This e -mail message and any attachments to it are intended only for the named reci pients and may contain legally privileged and/or confidential information. I f you are not one of the intended recipients, please forward this mail to ab use at sumasoft.net and do not duplicate or forward this e-mail message and imm ediately delete it from your computer. ------------------------------------- --------- -------------- 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 ae at op5.se Mon May 26 12:16:13 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 26 May 2008 12:16:13 +0200 Subject: Can I configure my own shell scripts In-Reply-To: <1442D254307F45E997F092CBAF247812@sumalap0020> References: <1442D254307F45E997F092CBAF247812@sumalap0020> Message-ID: <483A8DED.8060305@op5.se> Mangesh Dhamale wrote: > Hello Everyone, > > I have one query, can I monitor my own shell scripts. > Yes. -- 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: 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 tkang1 at gmail.com Mon May 26 12:24:36 2008 From: tkang1 at gmail.com (Taeho Kang) Date: Mon, 26 May 2008 19:24:36 +0900 Subject: Does nagvis 1.3 work with Nagios 3? Message-ID: <279a90ff0805260324w7b7e0e3du962182a625844e87@mail.gmail.com> Dear all, I know this may not be the most appropriate place to ask this question.. but, has anyone successfully installed/used nagvis 1.3 with Nagios 3? I have Nagios 3.0.2 and trying to run nagvis 1.3.2rc (and have not been successful.) Any feedbacks/advice will be appreciated! -------------- 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 giorgio at zarrelli.org Mon May 26 12:32:32 2008 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Mon, 26 May 2008 12:32:32 +0200 Subject: Can I configure my own shell scripts In-Reply-To: <483A8DED.8060305@op5.se> References: <483A8DED.8060305@op5.se> Message-ID: <20080526.KX2.26977200@www.zarrelli.org> Hi, > > I have one query, can I monitor my own shell scripts. Yes, here you can have a look at the API you can use: http://nagios.sourceforge.net/docs/3_0/pluginapi.html Giorgio Zarrelli ------------------------------------------------------------------------- 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 giorgio at zarrelli.org Mon May 26 12:35:16 2008 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Mon, 26 May 2008 12:35:16 +0200 Subject: =?utf-8?q?Does_nagvis_1=2E3_work_with_Nagios_3=3F?= In-Reply-To: <279a90ff0805260324w7b7e0e3du962182a625844e87@mail.gmail.com> References: <279a90ff0805260324w7b7e0e3du962182a625844e87@mail.gmail.com> Message-ID: <20080526.N1Z.86071200@www.zarrelli.org> Hi, it works for me with Nagios 3.0.1 and Nagvis 1.3.1rc. Giorgio Zarrelli > I have Nagios 3.0.2 and trying to run nagvis 1.3.2rc > (and have not been successful.) > > Any feedbacks/advice will be appreciated! > ------------------------------------------------------------------------- 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 mangesh.dhamale at sumasoft.net Mon May 26 14:37:15 2008 From: mangesh.dhamale at sumasoft.net (Mangesh Dhamale) Date: Mon, 26 May 2008 18:07:15 +0530 Subject: Can I configure my own shell scripts References: <1442D254307F45E997F092CBAF247812@sumalap0020> <483A8DED.8060305@op5.se> Message-ID: <2FE69663A28845EEB5B8830DD5918D51@sumalap0020> hi, Can you give me any example. Regards, Mangesh Dhamale ----------------------------------------------------------------- System Administrator Suma Soft Pvt. Ltd. Suma Center, IInd Floor, Opp. Himali Society, Near Mangeshkar Hospital, Erandwane, Pune - 411004 Ph : +91-20-40130400 Extn : 327 Cell : +91-98508 87775 www.sumasoft.com ------------------------------------------------------------------ ----- Original Message ----- From: "Andreas Ericsson" To: "Mangesh Dhamale" Cc: Sent: Monday, May 26, 2008 3:46 PM Subject: Re: [Nagios-users] Can I configure my own shell scripts > Mangesh Dhamale wrote: >> Hello Everyone, >> >> I have one query, can I monitor my own shell scripts. >> > > Yes. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > ---------------------------------------------- Confidentiality Note: This e-mail message and any attachments to it are intended only for the named recipients and may contain legally privileged and/or confidential information. If you are not one of the intended recipients, please forward this mail to abuse at sumasoft.net and do not duplicate or forward this e-mail message and immediately delete it from your computer. ---------------------------------------------- ------------------------------------------------------------------------- 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 ae at op5.se Mon May 26 14:45:13 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 26 May 2008 14:45:13 +0200 Subject: Can I configure my own shell scripts In-Reply-To: <2FE69663A28845EEB5B8830DD5918D51@sumalap0020> References: <1442D254307F45E997F092CBAF247812@sumalap0020> <483A8DED.8060305@op5.se> <2FE69663A28845EEB5B8830DD5918D51@sumalap0020> Message-ID: <483AB0D9.8050400@op5.se> Mangesh Dhamale wrote: > hi, > > Can you give me any example. > Yes. -- 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: 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 klausman at schwarzvogel.de Mon May 26 14:49:25 2008 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Mon, 26 May 2008 14:49:25 +0200 Subject: Multiple interfaces, multiple parents Message-ID: <20080526124925.GA11640@eric.schwarzvogel.de> Hey everybody, I've hit a snag when configuring parents for hosts. First a little bit about our setup. Most of our hosts have only one connected ethernet interface (if you don't count the management cards). Still, we have quite a handful of hosts (over 100) that have two interfaces. Up until now, we configured the "management address" as the address to use by Nagios. That is, Nagios uses the adress the admins use when SSH'ing to the box. If there are additional IPs that need monitoring, they're configured as services on the host they're bound to. We're now starting to migrate/integre monitoring of our switch setup into Nagios. We have a satellite switch per rack which in turn is connected redundantly to a pair of central switches. Now what we'd like is to have these rack-switches as parents to the hosts which are connected to them. Here, we run into a problem: those hosts that have two interfaces would have two parents, *both* of which should yield an "UNREACHABLE" message if *either* of them goes belly-up. Unfortunately, Nagios connects multiple parent hosts with logical AND, which means that the host only turns UNREACHABLE when *both* switches are gone. Is there any way out of this? Dependencies seem to work the same way, near as I can tell. How do you handle such a setup? Regards & TIA, Tobias -- printk(KERN_DEBUG "%s: Flex. Ttttt...\n", DRV_NAME); linux-2.6.6/drivers/net/wan/dscc4.c ------------------------------------------------------------------------- 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 Mon May 26 16:24:02 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Mon, 26 May 2008 11:24:02 -0300 Subject: Could not opencommandfile '/usr/local/nagios/var/rw/nagios.cmd' In-Reply-To: References: <20080522011534.GC3526@hermes.freesoftware.org> Message-ID: <20080526142402.GA25659@hermes.freesoftware.org> On Thursday, 22 May 2008 07:47:46 -0500, Marc Powell wrote: > > > ... or just set nagios_group in nagios.cfg to be nagcmd... > > I liked this simpleness. But after restarting the Nagios server, this > > doesn't work :-( > Interesting... smells buglish. > # grep nagios_group nagios.cfg > nagios_group=nagios > # ps -eo pid,user,rgroup,command | grep nagios > 27347 nagios nagios /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg > # vi nagios.cfg > # grep nagios_group nagios.cfg > nagios_group=nagcmd > # /etc/init.d/nagios restart > Running configuration check...done > Stopping network monitor: nagios > Waiting for nagios to exit . . done. > Starting network monitor: nagios > # ps -eo pid,user,rgroup,command | grep nagios > 32016 nagios nagcmd /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg > I see the change here - > -rw-rw-r-- 1 nagios nagcmd 829161 May 22 07:25 status.dat > But not here - > prw-rw---- 1 nagios nagios 0 May 22 07:26 nagios.cmd I obtain a different result slightly: sparky:/usr/local/nagios/var# ps -eo pid,user,rgroup,command | grep nagios 16830 nagios nagcmd /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 16831 nagios nagcmd /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 16832 nagios nagcmd /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg sparky:/usr/local/nagios/var# ll status.dat -rw-rw-r-- 1 nagios nagios 286639 2008-05-26 11:08 status.dat sparky:/usr/local/nagios/var/rw# ll nagios.cmd prw-rw---- 1 nagios nagios 0 2008-05-26 10:58 nagios.cmd Thanks for your reply. 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 james.mohr at elaxy.com Mon May 26 17:03:40 2008 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 26 May 2008 17:03:40 +0200 Subject: Nagios 3.0 SLA Reporting Message-ID: Hi All! We are in the process of moving from Nagios 2.5 to Nagios 3.0 with MySQL. We monitor and report services for several customers and thus have a number of SLAs to consider. Currently we have a self-written reporting mechanism, but the developer is no longer with the company and the documentation is lacking in many areas. Since we are using the Nagios NDO, we would prefer not to try to force the old mechanism to work with 3.0. So, we need a new reporting mechanism. I looked at a couple of tools, but found nothing which seems to be close to finished and none that address adding downtimes after the fact. We cannot simply define a check_period or notification_period and consider that, because we need to monitor 24x7 and more or less prove we monitoring even if there is scheduled maintenance. Also there are cases where the service is down and it is not our fault and per the SLA we do not subtract that time from availability. Therefore, we need a mechanism to be able to somehow add downtimes after the fact which then prevents the reporting mechanisms from counting that time. NagiosSLA seems promising and I downloaded it from SourceForge. However, I do not find any mechanism to manage the SLA periods other than simply saying to reporting everything within the check_period. Since we are using NDO, creating an extra EventHandler seems like a waste and the report_script.pl seems to depend on the DB tables filled by the event handler. Looking at the script, I do not seem much of a problem changing the table and column names. However, as far as I can tell, the sla_exclusion table is never really used. The exlusions are read into an array ( my @exclusion = retrieveData("sla_exclusion"); but @exclusion is never used after that. This means that every outage is reported. Since we already have the data in MySQL, I thought about simply using the nagios_scheduleddowntime tables. However, I see a problem with outages in the past. As far as I can tell, if you schedule an downtime in the past, it is silently ignored. Also, from what I see, the table is cleared when the outage is over. Both of these are logical to some extent and I think my C is good enough to be able to modify the code to either add all outages and not delete them, or maybe or straight-forward simply write to a completly different table and avoid changing too much existing code. So, the first question is whether there are any tools available to do SLA Reporting properly, FOSS or commercial. If not, does anyone have any suggestions about making changes to the existing code as I suggested? I would be grateful for any input. Regards, Jim Mohr ------------------------------------------------------------------------- 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 andy.shellam-lists at mailnetwork.co.uk Mon May 26 17:39:43 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 26 May 2008 16:39:43 +0100 Subject: Can I configure my own shell scripts In-Reply-To: <2FE69663A28845EEB5B8830DD5918D51@sumalap0020> References: <1442D254307F45E997F092CBAF247812@sumalap0020> <483A8DED.8060305@op5.se> <2FE69663A28845EEB5B8830DD5918D51@sumalap0020> Message-ID: <483AD9BF.4090704@mailnetwork.co.uk> Install the Nagios sample configuration files and you will see how the configuration is laid out. The documentation (supplied with the installation) is really decent; at least have a look and then come back with specific questions. Andy Mangesh Dhamale wrote: > hi, > > Can you give me any example. > > Regards, > > Mangesh Dhamale > ----------------------------------------------------------------- > System Administrator > Suma Soft Pvt. Ltd. > Suma Center, IInd Floor, Opp. Himali Society, > Near Mangeshkar Hospital, Erandwane, Pune - 411004 > Ph : +91-20-40130400 Extn : 327 > Cell : +91-98508 87775 > www.sumasoft.com > ------------------------------------------------------------------ > > ----- Original Message ----- > From: "Andreas Ericsson" > To: "Mangesh Dhamale" > Cc: > Sent: Monday, May 26, 2008 3:46 PM > Subject: Re: [Nagios-users] Can I configure my own shell scripts > > > >> Mangesh Dhamale wrote: >> >>> Hello Everyone, >>> >>> I have one query, can I monitor my own shell scripts. >>> >>> >> Yes. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> >> > ---------------------------------------------- > Confidentiality Note: This e-mail message and any attachments to it are > intended only for the named recipients and may contain legally privileged > and/or confidential information. If you are not one of the intended > recipients, please forward this mail to abuse at sumasoft.net and do not duplicate or forward this > e-mail message and immediately delete it from your computer. > ---------------------------------------------- > > ------------------------------------------------------------------------- > 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 andy.shellam-lists at mailnetwork.co.uk Mon May 26 23:15:11 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 26 May 2008 22:15:11 +0100 Subject: Bug in 3.0.2 with service escalation contact groups Message-ID: <483B285F.1030607@mailnetwork.co.uk> Hi, I think I've found a bug in Nagios 3.0.2 with the contact_groups (and contacts) directive in service escalations. I have a contact group called "NetServe Support" which all my support personnel are a member of. In all other definitions (services, hosts etc), the following line works: contact_groups NetServe Support But with a service escalation, it tries to expand that into two separate groups "NetServe" and "Support" despite the documentation saying that multiple groups should be separated by commas. Service escalation definition: define serviceescalation { # host_name * hostgroup_name All Servers service_description * first_notification 3 last_notification 0 notification_interval 1800 contact_groups NetServe Support } Errors on config verification: Error: Contact group 'Support' specified in service escalation for service '' on host '' is not defined anywhere! Error: Contact group 'NetServe' specified in service escalation for service '' on host '' is not defined anywhere! The following host escalation works, and produces no errors: define hostescalation { hostgroup_name All Servers first_notification 3 last_notification 0 notification_interval 1800 contact_groups NetServe Support } Also, with both host and service escalations, a contact called "Andy Shellam" also produces the above errors (trying to find 2 contacts called "Andy" and "Shellam".) For all of the above, the documentation says "Multiple contacts (groups) should be separated by commas". Can someone verify this bug report with the following version? "Nagios 3.0.2 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 05-19-2008 License: GPL" Many thanks, Andy N.B. Quoting the directives doesn't help either - e.g (contacts "Andy Shellam") ------------------------------------------------------------------------- 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 webknowledge at gmail.com Tue May 27 00:23:35 2008 From: webknowledge at gmail.com (Marcel) Date: Mon, 26 May 2008 19:23:35 -0300 Subject: Can I configure my own shell scripts In-Reply-To: <483AD9BF.4090704@mailnetwork.co.uk> References: <1442D254307F45E997F092CBAF247812@sumalap0020> <483A8DED.8060305@op5.se> <2FE69663A28845EEB5B8830DD5918D51@sumalap0020> <483AD9BF.4090704@mailnetwork.co.uk> Message-ID: <2dfcbd1b0805261523j7b1264atd15a5a820eb4ed5c@mail.gmail.com> #!/bin/bash # nusers.sh WARN_T=$1; CRIT_T=$2; UPTIME="/usr/bin/uptime"; NUSERS_NOW=`$UPTIME|awk '{print $4}'`; [[ $NUSERS_NOW -lt $WARN_T ]] || ( echo "WARNING"; exit 1); [[ $NUSERS_NOW -gt $CRIT_T ]] && (echo "CRITICAL"; exit 2); echo "UKNOWN"; exit 3; #end nusers.sh On Mon, May 26, 2008 at 12:39 PM, Andy Shellam < andy.shellam-lists at mailnetwork.co.uk> wrote: > Install the Nagios sample configuration files and you will see how the > configuration is laid out. > The documentation (supplied with the installation) is really decent; at > least have a look and then come back with specific questions. > > Andy > > Mangesh Dhamale wrote: > > hi, > > > > Can you give me any example. > > > > Regards, > > > > Mangesh Dhamale > > ----------------------------------------------------------------- > > System Administrator > > Suma Soft Pvt. Ltd. > > Suma Center, IInd Floor, Opp. Himali Society, > > Near Mangeshkar Hospital, Erandwane, Pune - 411004 > > Ph : +91-20-40130400 Extn : 327 > > Cell : +91-98508 87775 > > www.sumasoft.com > > ------------------------------------------------------------------ > > > > ----- Original Message ----- > > From: "Andreas Ericsson" > > To: "Mangesh Dhamale" > > Cc: > > Sent: Monday, May 26, 2008 3:46 PM > > Subject: Re: [Nagios-users] Can I configure my own shell scripts > > > > > > > >> Mangesh Dhamale wrote: > >> > >>> Hello Everyone, > >>> > >>> I have one query, can I monitor my own shell scripts. > >>> > >>> > >> Yes. > >> > >> -- > >> Andreas Ericsson andreas.ericsson at op5.se > >> OP5 AB www.op5.se > >> Tel: +46 8-230225 Fax: +46 8-230231 > >> > >> > > ---------------------------------------------- > > Confidentiality Note: This e-mail message and any attachments to it are > > intended only for the named recipients and may contain legally privileged > > and/or confidential information. If you are not one of the intended > > recipients, please forward this mail to abuse at sumasoft.net and do not > duplicate or forward this > > e-mail message and immediately delete it from your computer. > > ---------------------------------------------- > > > > ------------------------------------------------------------------------- > > 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 > -------------- 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 ae at op5.se Tue May 27 06:27:08 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 May 2008 06:27:08 +0200 Subject: [Nagios-users] Bug in 3.0.2 with service escalation contact groups In-Reply-To: <483B285F.1030607@mailnetwork.co.uk> References: <483B285F.1030607@mailnetwork.co.uk> Message-ID: <483B8D9C.9020509@op5.se> Andy Shellam wrote: > Hi, > > I think I've found a bug in Nagios 3.0.2 with the contact_groups (and > contacts) directive in service escalations. > I have a contact group called "NetServe Support" which all my support > personnel are a member of. In all other definitions (services, hosts > etc), the following line works: > > contact_groups NetServe Support > It's not supposed to. If it works, it's an easter egg. > But with a service escalation, it tries to expand that into two separate > groups "NetServe" and "Support" despite the documentation saying that > multiple groups should be separated by commas. > The documentation also says that the value referred to by the variable contactgroup_name (which can't contain spaces) is the one to use when referencing the contactgroup from other objects. I'm guessing you're using the alias field instead, no? -- 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ From hvdkooij at vanderkooij.org Tue May 27 07:17:18 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 27 May 2008 07:17:18 +0200 Subject: Multiple interfaces, multiple parents In-Reply-To: <20080526124925.GA11640@eric.schwarzvogel.de> References: <20080526124925.GA11640@eric.schwarzvogel.de> Message-ID: <483B995E.1030204@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tobias Klausmann wrote: | Hey everybody, | | I've hit a snag when configuring parents for hosts. First a | little bit about our setup. | | Most of our hosts have only one connected ethernet interface (if | you don't count the management cards). Still, we have quite a | handful of hosts (over 100) that have two interfaces. | | Up until now, we configured the "management address" as the | address to use by Nagios. That is, Nagios uses the adress the | admins use when SSH'ing to the box. If there are additional IPs | that need monitoring, they're configured as services on the host | they're bound to. | | We're now starting to migrate/integre monitoring of our switch | setup into Nagios. We have a satellite switch per rack which in | turn is connected redundantly to a pair of central switches. | | Now what we'd like is to have these rack-switches as parents to | the hosts which are connected to them. Here, we run into a | problem: those hosts that have two interfaces would have two | parents, *both* of which should yield an "UNREACHABLE" message if | *either* of them goes belly-up. | | Unfortunately, Nagios connects multiple parent hosts with logical | AND, which means that the host only turns UNREACHABLE when *both* | switches are gone. The funny thing with redundant paths is that they are in fact redundant. So if you loose one you still have connectivity and nothing becomes unreachable. So where is the flaw in this design in Nagios? If breaking a single link ~ will result in something becoming unreachable then you do not have true redundancy. 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) iD8DBQFIO5ldBvzDRVjxmYERAhBGAKC3RvEKEJWo7FlVz6eBEBlHP7xpwgCfTTf0 h2wZZPcmyJ8i8QEVrplRmro= =w0B8 -----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 klausman at schwarzvogel.de Tue May 27 08:53:02 2008 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 27 May 2008 08:53:02 +0200 Subject: Multiple interfaces, multiple parents In-Reply-To: <483B995E.1030204@vanderkooij.org> References: <20080526124925.GA11640@eric.schwarzvogel.de> <483B995E.1030204@vanderkooij.org> Message-ID: <20080527065302.GA4688@eric.schwarzvogel.de> Hi! On Tue, 27 May 2008, Hugo van der Kooij wrote: >> Unfortunately, Nagios connects multiple parent hosts with >> logical AND, which means that the host only turns UNREACHABLE >> when *both* switches are gone. > > The funny thing with redundant paths is that they are in fact > redundant. So if you loose one you still have connectivity and > nothing becomes unreachable. > > So where is the flaw in this design in Nagios? If breaking a > single link ~ will result in something becoming unreachable > then you do not have true redundancy. Oh, the machines themselves aren't connected redundantly, only the switches themselves are. Usually the second link is used for connections to database machines and the like. As such, if either links goes down, the machine goes down (from a can-do-its-job perspective). Yes, I can still reach the machine (on convoluted paths since the backend nets are not routed). What I'm after is making a failing switch visible to the admins of such machines (and ideally everybody else), so I'm aiming for the distinction of DOWN vs. UNREACHABLE. I don't really want to make all the switches visible to all admins via the web interface (and I doubt they all are able to tell which switch is "theirs" just by the names). I don't see this behaviour as a *flaw* in Nagios, it's just unfortunate for me that it works this way and I had hoped there was a way around it. Regards, Tobias ------------------------------------------------------------------------- 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 ae at op5.se Tue May 27 10:18:29 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 May 2008 10:18:29 +0200 Subject: Multiple interfaces, multiple parents In-Reply-To: <20080527065302.GA4688@eric.schwarzvogel.de> References: <20080526124925.GA11640@eric.schwarzvogel.de> <483B995E.1030204@vanderkooij.org> <20080527065302.GA4688@eric.schwarzvogel.de> Message-ID: <483BC3D5.8060901@op5.se> Tobias Klausmann wrote: > Hi! > > On Tue, 27 May 2008, Hugo van der Kooij wrote: >>> Unfortunately, Nagios connects multiple parent hosts with >>> logical AND, which means that the host only turns UNREACHABLE >>> when *both* switches are gone. >> The funny thing with redundant paths is that they are in fact >> redundant. So if you loose one you still have connectivity and >> nothing becomes unreachable. >> >> So where is the flaw in this design in Nagios? If breaking a >> single link ~ will result in something becoming unreachable >> then you do not have true redundancy. > > Oh, the machines themselves aren't connected redundantly, only > the switches themselves are. Usually the second link is used for > connections to database machines and the like. As such, if either > links goes down, the machine goes down (from a can-do-its-job > perspective). Yes, I can still reach the machine (on convoluted > paths since the backend nets are not routed). > > What I'm after is making a failing switch visible to the admins > of such machines (and ideally everybody else), so I'm aiming for > the distinction of DOWN vs. UNREACHABLE. > Would you settle for DOWN vs CRITICAL? If so, monitor the secondary interface as a service. > I don't really want to make all the switches visible to all > admins via the web interface (and I doubt they all are able to > tell which switch is "theirs" just by the names). > > I don't see this behaviour as a *flaw* in Nagios, it's just > unfortunate for me that it works this way and I had hoped there > was a way around it. > There is. Either add the switches twice, calling the switches added with their secondary interface, -srvint (or some such - I'm thinking "admin interface" and "service interface" here), or add the secondary interface as a service. -- 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: 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 morten.guldager at gmail.com Tue May 27 11:03:45 2008 From: morten.guldager at gmail.com (Morten Guldager) Date: Tue, 27 May 2008 11:03:45 +0200 Subject: No notifications send when an acknowledgement gets cleared Message-ID: 'Aloha! How to get notifications sent also when the user removes an acknowledgement? It works fine then a host/service gets an acknowledgement, then a notification is sent to the contacts. But nothing gets sent if I simply removes the acknowledgement afterwords... -- /Morten %-) -------------- 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 meineimer at yahoo.de Tue May 27 11:06:47 2008 From: meineimer at yahoo.de (patrick) Date: Tue, 27 May 2008 11:06:47 +0200 Subject: Implied inheritance for contact_groups Message-ID: Hello I have specified the following config. Nagios is Version 3.0.2 on CentOS5.1. define host{ use generic-host host_name srv-app1 alias Server App1 address 192.168.1.15 contacts nagiosadmin contact_groups Group1 } define service{ use normal-service host srv-app1 service_description MyService check_command check_nrpe... } I refer to this documentation http://nagios.sourceforge.net/docs/3_0/objectinheritance.html#implied_inheri tance. If "MyService" fails, notification for service should inherit the contact_group of host "srv_app1" and send notifications to the contact group "Group1". In my setup, only contact "nagiosadmin" but not the members of "Group1" are notified. So implied inheritance seems to work only for contacts but not for contact_groups. If I specify the contact group "Group1" in "MyService" directly, notification is send out to "nagiosadmin" and members of "Group1". Do I miss somthing to get working implied inheritance host/services for contact groups? Best regards Patrick ------------------------------------------------------------------------- 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 andy.shellam-lists at mailnetwork.co.uk Tue May 27 12:17:29 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 27 May 2008 05:17:29 -0500 (CDT) Subject: Bug in 3.0.2 with service escalation contact groups Message-ID: <1211883449.v2.mailanyonewebmail-299988@fuse49> ----- Original Message ----- Subject: Re: [Nagios-users] Bug in 3.0.2 with service escalation contact groups Date: Tue, May 27, 2008 5:27 From: "Andreas Ericsson" > Andy Shellam wrote: > > Hi, > > > > I think I've found a bug in Nagios 3.0.2 with the contact_groups (and > > contacts) directive in service escalations. > > I have a contact group called "NetServe Support" which all my support > > personnel are a member of. In all other definitions (services, hosts > > etc), the following line works: > > > > contact_groups NetServe Support > > > > It's not supposed to. If it works, it's an easter egg. > > > But with a service escalation, it tries to expand that into two separate > > groups "NetServe" and "Support" despite the documentation saying that > > multiple groups should be separated by commas. > > > > The documentation also says that the value referred to by the variable > contactgroup_name (which can't contain spaces) is the one to use when > referencing the contactgroup from other objects. I'm guessing you're > using the alias field instead, no? > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > > Hi Andreas, Well in that case it's a lot of easter eggs! Service escalations are the only thing it doesn't work for! Hosts, services, host escalations, contacts, contact groups all accept "NetServe Support" as a valid contact group name. I even have hosts that have names with spaces that work OK (e.g. Telehouse Router 1.) See attached screenshot - notice the contact group is "NetServe Support" and parent hosts such as "Telehouse Router 1" and "Telecity Router 1".) No I'm not using the alias, my contact groups don't have aliases defined; I'm using the name directive. I couldn't find where the documentation says not to use spaces in name definitions? "contactgroup_name: This directive is a short name used to identify the contact group." "contact_groups: This directive is used to identify the short name of the contact group that should be notified when the service notification is escalated. Multiple contact groups should be separated by commas. You must specify at least one contact or contact group in each service escalation definition." Sorry if I seem confused here, I am. I don't understand how when the majority of definitions work, it's incorrect, surely something this major would be an even bigger bug that would have been picked up during the beta and RC testing? I'm more inclined to think that the service escalation is wrong in its behaviour, but then I could be wrong? Thanks, Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_hosts_config.jpg Type: image/jpeg Size: 136978 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 mangesh.dhamale at sumasoft.net Tue May 27 13:24:55 2008 From: mangesh.dhamale at sumasoft.net (Mangesh Dhamale) Date: Tue, 27 May 2008 16:54:55 +0530 Subject: using "top" Message-ID: <7F36D3F219214FEC869F02433A88BBB4@sumalap0020> hi, Actually I want only my script is running or its hung/stop. Whenever I have run this script, you can see it in top output. And whenever script hung or stop, it left from top output. Can I monitor my script using top output. Regards, Mangesh Dhamale ----------------------------------------------------------------- System Administrator Suma Soft Pvt. Ltd. Suma Center, IInd Floor, Opp. Himali Society, Near Mangeshkar Hospital, Erandwane, Pune - 411004 Ph : +91-20-40130400 Extn : 327 Cell : +91-98508 87775 www.sumasoft.com ------------------------------------------------------------------ ---------------------------------------------- Confidentiality Note: This e -mail message and any attachments to it are intended only for the named reci pients and may contain legally privileged and/or confidential information. I f you are not one of the intended recipients, please forward this mail to ab use at sumasoft.net and do not duplicate or forward this e-mail message and imm ediately delete it from your computer. ------------------------------------- --------- -------------- 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 andurin at process-zero.de Tue May 27 13:33:55 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Tue, 27 May 2008 13:33:55 +0200 Subject: using "top" In-Reply-To: <7F36D3F219214FEC869F02433A88BBB4@sumalap0020> References: <7F36D3F219214FEC869F02433A88BBB4@sumalap0020> Message-ID: <483BF1A3.2060600@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 check_procs? Mangesh Dhamale schrieb: | hi, | | Actually I want only my script is running or its hung/stop. | Whenever I have run this script, you can see it in *top* output. And whenever script hung or stop, it left from *top* output. | Can I monitor my script using *top* output. | | Regards, | | Mangesh Dhamale | ----------------------------------------------------------------- | System Administrator | Suma Soft Pvt. Ltd. | Suma Center, IInd Floor, Opp. Himali Society, | Near Mangeshkar Hospital, Erandwane, Pune - 411004 | Ph : +91-20-40130400 Extn : 327 | Cell : +91-98508 87775 | www.sumasoft.com | ------------------------------------------------------------------ | | ---------------------------------------------- | Confidentiality No te: This e-mail message and any attachments to it are | intended only for the named recipients and may contain legally privileged | and/or confide ntial information. If you are not one of the intended | recipients, plea se forward this mail to abuse at sumasoft.net and do not duplicate or forward t his | e-mail message and immediately delete it from your computer. | ---------------------------------------------- | | | ------------------------- | | ------------------------------------------------------------------------- | 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD4DBQFIO/GilI0PwfxLQjkRAhsrAJjRuCCO4Gci0iVbOpjcqjyzteqRAJ9b6bP6 2C5/014MP9OJmszlUFHEGg== =cu3D -----END PGP SIGNATURE----- -------------- 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: 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 dirk.schulz at kinzesberg.de Tue May 27 15:01:54 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Tue, 27 May 2008 15:01:54 +0200 Subject: Longs lines in cfg files Message-ID: <59DB74256C38790A520CE59C@Dirks-MacBook-Pro.local> Hi Folks, can I break long lines within a config file in several lines? I have tried the usual backslash, but nagios -v did not like it. What do yo do when you have dozens of hosts to put into one hostgroup to get a manageable "members" line? Thanks for any hint or help, Dirk ------------------------------------------------------------------------- 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 ae at op5.se Tue May 27 15:37:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 May 2008 15:37:02 +0200 Subject: Longs lines in cfg files In-Reply-To: <59DB74256C38790A520CE59C@Dirks-MacBook-Pro.local> References: <59DB74256C38790A520CE59C@Dirks-MacBook-Pro.local> Message-ID: <483C0E7E.3060604@op5.se> Dirk H. Schulz wrote: > Hi Folks, > > can I break long lines within a config file in several lines? I have tried > the usual backslash, but nagios -v did not like it. > > What do yo do when you have dozens of hosts to put into one hostgroup to > get a manageable "members" line? > We put the hostgroups in the "hostgroups" directive with the host object instead (ie, other way around, but same result). -- 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: 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 perldork at webwizarddesign.com Tue May 27 15:47:20 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 27 May 2008 09:47:20 -0400 Subject: Longs lines in cfg files In-Reply-To: <59DB74256C38790A520CE59C@Dirks-MacBook-Pro.local> References: <59DB74256C38790A520CE59C@Dirks-MacBook-Pro.local> Message-ID: You can also use regular expression matching in the hostgroup to associate hosts with the group if the hosts in question all have a common name part between them. ------------------------------------------------------------------------- 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 iknewitalready at gmail.com Tue May 27 16:01:46 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Tue, 27 May 2008 19:01:46 +0500 Subject: Can i do it? Message-ID: <92dab8800805270701k1b84e517q375e21471a92122f@mail.gmail.com> Hi everyone! I am new to nagios, and a little confused over what do i do, i hope you people will help me. My Problem: I have a project developed using Java, in which a Servlet (think of it as a website, for those who dont understand the concept of servlet) lists the all possible daemons to the user, the remote user selects the services he wants to monitor, inputs his cell number and clicks save. This information is stored in a file called .alerts of the following format: number:daemon1,daemon2,dameon3,daemon3 like: 1234567890:httpd,dhcpd,sshd,klogd and the file contains a list of such entries, say 100 users has their entries in this file., What i want to do it to use nagios to check the status of the daemons/services mentioned in the file, and if any of these services changes status, goes down, etc, an sms should be sent to the number provided with the details of which daemon changes status on which server (ip) and etc.. Example: //.alerts 1234567890:httpd,sshd,dhcpd 0987654321:klogd,sshd Case 1: httpd changes status: SMS should be sent to 1234567890 SMS body: httpd just changed its status to /down on the server at