From huasome at gmail.com Tue Apr 1 00:25:59 2008 From: huasome at gmail.com (Huaqing Zheng) Date: Mon, 31 Mar 2008 15:25:59 -0700 Subject: smart monitoring and Dell PERC RAID? In-Reply-To: References: Message-ID: <8855dbd90803311525x73ebf33ax74668d82eb830777@mail.gmail.com> On Mon, Mar 31, 2008 at 1:11 PM, Scott Ehrlich wrote: > I have a standard ol' PC running linux that I'm using to monitor some > servers and other network devices. Both servers are Dell boxes with PERC > controllers and hardware RAID of SCSI drives. I'd to learn if anyone has > successfully configured nagios to monitor the health of such a > configuration? (I presume someone has, just a matter of how you did it). > > Smartctl on the servers claims the scsi drives do not support smart. I > configured the servers and have full access. That's correct. SCSI disks do not support SMART, only ATA and SATA disks do. > What options does nagios give for monitoring disk health for such a > configuration? http://linux.dell.com/monitoring.shtml OMSA contains a program for monitoring PERC controllers. It shouldn't be hard to wrap a nagio check around it. In fact, there's a number of user contributed checks already at: http://new.nagiosexchange.org/cgi-bin/page.cgi?g=Imported_projects%2FCheck_Plugins%2FHardware%2FDELL_Server%2Findex.html;d=1 -- Huaqing Zheng Code Wrangler ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joop3 at gmx.net Tue Apr 1 07:36:18 2008 From: joop3 at gmx.net (joop3) Date: Tue, 1 Apr 2008 05:36:18 +0000 (UTC) Subject: Notification - escalation question References: <47F15A8E.3010400@vanderkooij.org> Message-ID: Hugo van der Kooij vanderkooij.org> writes: > > > joop3 wrote: > > | This is what I would like to achieve: > | > | When a host goes down, > | send out one email to helpdesk. > | > | When the host is still down after 1 hour, > | send out one email to helpdesk manager. > > .... > | define hostescalation { > | first_notification 12 > | last_notification 13 > > That means you want to use the 12th and 13th normal notification to be > used to escalate. > > But if you fire only 1 message how wil you escalate on the 12th and 13th > message? > > Hugo. Hugo, Thanks for your reply. You have a point, probably the reason for not working. I actually expected that the first_notification timer is extracted from the normal check_interval. Do you have a suggestion how to make this work? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From y.harshal at drushti.in Tue Apr 1 08:48:54 2008 From: y.harshal at drushti.in (y.harshal at drushti.in) Date: Tue, 1 Apr 2008 12:18:54 +0530 (IST) Subject: About http service check.. Message-ID: <4869.203.199.149.78.1207032534.squirrel@email.drushti.in> Hi, I am having nagios installed on one of my server,but the problem i am facing that nagios is giving me alerts that the http service on the perticular host that the nagios is monitoring is critical.but the thing is http service on that host is running perfectly fine and also the server where the nagios is installed is also able to connect to 80 port of that host. so can any body pls let me know what should be the prob so that i can resolve that. Regards, Harshal. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Apr 1 09:43:57 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 1 Apr 2008 07:43:57 +0000 Subject: About http service check.. In-Reply-To: <4869.203.199.149.78.1207032534.squirrel@email.drushti.in> References: <4869.203.199.149.78.1207032534.squirrel@email.drushti.in> Message-ID: <93C487A372B3774CAEAA15D524CCF3D122870F2B01@G1W0485.americas.hpqcorp.net> > I am having nagios installed on one of my server,but the problem i am > facing that nagios is giving me alerts that the http service on the > perticular host that the nagios is monitoring is critical.but the thing > is > http service on that host is running perfectly fine and also the server > where the nagios is installed is also able to connect to 80 port of > that > host. > > so can any body pls let me know what should be the prob so that i can > resolve that. If you really want an answer, you should provide some information like how your HTTP check is configured, what error message is returned when it runs, as well as the standard information you should always include with any question to this list (see the footer on every email to this list regarding versions and OS). ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Tue Apr 1 09:48:51 2008 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Tue, 1 Apr 2008 09:48:51 +0200 Subject: Host and ping service notification Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dear All, I have configured my hosts with the check-host-alive with check_ipmc and all of them have also the ping service. Now I receive the notifications when the ping is down, but not the notifications for the host down, and I do not understand why. Often the ping do not go down for long, maybe it is not enought to put the host down. The second question is what's the real point to have the ping service configured on all the hosts if the host check is done via icmp. Thanks you for your answers and best regards, Davide Parise Safeguards Systems Analyst Division of Technical Support (SGTS) International Atomic Energy Agency (IAEA) Tel.: +43 1 2600 26496 (Office) Mobile: +43 69916526496 Fax: +43 1 2600 29121 (21st Floor) E-mail: d.parise at iaea.org -----BEGIN PGP SIGNATURE----- Version: 9.5.3 (Build 5003) wsBVAwUBR/Ho/R+K8IX89MUJAQiPtwf/UMrupoEC19dT0DuQFrFJuR+gHoJeK3Ln mR0oZr/C06Vh8cRlmDID38/X46Vtjvhn9HHwVKpEOAZJ5cYNPGd1CZteKNZ+RWHG CpZBZvQnt/b/EpY7D2QH59RDYP3KaGwt9n7Y27RjmvytTxtSKArsw258DhpYEf5D Et4RO/kX27WoV1NTnnGZfOlGXPXpP1gkTvKWkv3reH45wIwCfAaSQ36gz0MuTjN+ AInO0MixGIxBSNnpmlExUqzKa46+8tTKxlShZkJSibaOnKQWiJG5RgXdQOGUM0pa KKoSGPUcJ9yifEwbS5h2mWAGKB1hjeodr+aM15mb1nUwsvpXbPX4GA== =lKLA -----END PGP SIGNATURE----- This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGPexch.htm.pgp Type: application/octet-stream Size: 1934 bytes Desc: PGPexch.htm.pgp URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 10:37:48 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 1 Apr 2008 08:37:48 +0000 Subject: Need help to config Nagios for several items... In-Reply-To: References: Message-ID: <4b008f7d0804010137j1b5bc486g11f7ebdf527d3ae1@mail.gmail.com> All plugins should go in /usr/local/nagios/libexec folder, the plugin should be made executable. You can reference the path to the libexec folder by specifying the path of the plugins in resource.cfg file. Alex On Mon, Mar 31, 2008 at 7:36 PM, Scott Ehrlich wrote: > On Mon, 31 Mar 2008, Valdinger, Stephen (DOV, MSX) wrote: > > > www.nagiosexchange.org is a great resource to find a plugin for almost > > anything including SMART arrays. > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > 330.365.3622 -O > > 740.491.0958 - C > > svalding at doverchem.com > > > > Ubuntu - African for "I can't configure Debian!" > > That is a great site. I'm not new to using Nagios, but I am new to > integrating (and eventually writing) plugins for it. As I download > plugins, such as check_smartmon, in what directory do I place them, and > exactly how do I invoke them from within Nagios? > > I have reviewed the standard .cfg files for assistance, but it hasn't been > obvious to me, yet. > > Thanks. > > Scott > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 10:40:55 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 1 Apr 2008 08:40:55 +0000 Subject: About http service check.. In-Reply-To: <93C487A372B3774CAEAA15D524CCF3D122870F2B01@G1W0485.americas.hpqcorp.net> References: <4869.203.199.149.78.1207032534.squirrel@email.drushti.in> <93C487A372B3774CAEAA15D524CCF3D122870F2B01@G1W0485.americas.hpqcorp.net> Message-ID: <4b008f7d0804010140u2f63a664nb990aa1267958eb1@mail.gmail.com> Let us see how you use check_http and we will be able to help. Alex On Tue, Apr 1, 2008 at 7:43 AM, Morris, Patrick wrote: > > I am having nagios installed on one of my server,but the problem i am > > facing that nagios is giving me alerts that the http service on the > > perticular host that the nagios is monitoring is critical.but the thing > > is > > http service on that host is running perfectly fine and also the server > > where the nagios is installed is also able to connect to 80 port of > > that > > host. > > > > so can any body pls let me know what should be the prob so that i can > > resolve that. > > If you really want an answer, you should provide some information like how > your HTTP check is configured, what error message is returned when it runs, > as well as the standard information you should always include with any > question to this list (see the footer on every email to this list regarding > versions and OS). > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 10:43:33 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Tue, 1 Apr 2008 14:13:33 +0530 Subject: About http service check.. In-Reply-To: <4869.203.199.149.78.1207032534.squirrel@email.drushti.in> References: <4869.203.199.149.78.1207032534.squirrel@email.drushti.in> Message-ID: Harshal, You need to provide the complete details of your setup to help (services.cfg..etc). Best Regards, Narendran Neelamegam ---------------------------------------------- Wipro Technologies Electronics City, Bangalore Mob: +91 9740811699 | Ph: +91 80 3029 6844 Website:www.wipro.com/tis -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of y.harshal at drushti.in Sent: Tuesday, April 01, 2008 12:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] About http service check.. Hi, I am having nagios installed on one of my server,but the problem i am facing that nagios is giving me alerts that the http service on the perticular host that the nagios is monitoring is critical.but the thing is http service on that host is running perfectly fine and also the server where the nagios is installed is also able to connect to 80 port of that host. so can any body pls let me know what should be the prob so that i can resolve that. Regards, Harshal. ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 10:46:45 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 1 Apr 2008 08:46:45 +0000 Subject: Host and ping service notification In-Reply-To: References: Message-ID: <4b008f7d0804010146t69dde81ckae5426a36d2845ec@mail.gmail.com> service checks are ran before host checks. So, ping service might be down but the host might still be up. It also depends on how many times you specify a service to be checked before it goes to critical state. Nagios will run all service checks before it runs host check. Alex On Tue, Apr 1, 2008 at 7:48 AM, wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Dear All, > > I have configured my hosts with the check-host-alive with check_ipmc > and all of them have also the ping service. > > Now I receive the notifications when the ping is down, but not the > notifications for the host down, and I do not understand why. Often the ping > do not go down for long, maybe it is not enought to put the host down. The > second question is what's the real point to have the ping service configured > on all the hosts if the host check is done via icmp. > > Thanks you for your answers and best regards, > > > > > > Davide Parise > > Safeguards Systems Analyst > > Division of Technical Support (SGTS) > > International Atomic Energy Agency (IAEA) > > Tel.: +43 1 2600 26496 (Office) > > Mobile: +43 69916526496 > > Fax: +43 1 2600 29121 (21st Floor) > > E-mail: d.parise at iaea.org > > > > -----BEGIN PGP SIGNATURE----- > Version: 9.5.3 (Build 5003) > > wsBVAwUBR/Ho/R+K8IX89MUJAQiPtwf/UMrupoEC19dT0DuQFrFJuR+gHoJeK3Ln > mR0oZr/C06Vh8cRlmDID38/X46Vtjvhn9HHwVKpEOAZJ5cYNPGd1CZteKNZ+RWHG > CpZBZvQnt/b/EpY7D2QH59RDYP3KaGwt9n7Y27RjmvytTxtSKArsw258DhpYEf5D > Et4RO/kX27WoV1NTnnGZfOlGXPXpP1gkTvKWkv3reH45wIwCfAaSQ36gz0MuTjN+ > AInO0MixGIxBSNnpmlExUqzKa46+8tTKxlShZkJSibaOnKQWiJG5RgXdQOGUM0pa > KKoSGPUcJ9yifEwbS5h2mWAGKB1hjeodr+aM15mb1nUwsvpXbPX4GA== > =lKLA > -----END PGP SIGNATURE----- > > This email message is intended only for the use of the named recipient. > Information contained in this email message and its attachments may be > privileged, confidential and protected from disclosure. If you are not the > intended recipient, please do not read, copy, use or disclose this > communication to others. Also please notify the sender by replying to this > message and then delete it from your system. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Tue Apr 1 10:49:28 2008 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Tue, 1 Apr 2008 10:49:28 +0200 Subject: Host and ping service notification In-Reply-To: <4b008f7d0804010146t69dde81ckae5426a36d2845ec@mail.gmail.com> References: <4b008f7d0804010146t69dde81ckae5426a36d2845ec@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 So if I want to reduce the number of notifications I can disable the notifications on the service and leave on the notifications on the hosts. Regards, Davide - -----Original Message----- From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: Tuesday, 01 April 2008 10:47 To: PARISE, Davide; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Host and ping service notification service checks are ran before host checks. So, ping service might be down but the host might still be up. It also depends on how many times you specify a service to be checked before it goes to critical state. Nagios will run all service checks before it runs host check. Alex On Tue, Apr 1, 2008 at 7:48 AM, wrote: * PGP Bad Signature, Signed by an unverified key: 04/01/08 at 09:49:17 Dear All, I have configured my hosts with the check-host-alive with check_ipmc and all of them have also the ping service. Now I receive the notifications when the ping is down, but not the notifications for the host down, and I do not understand why. Often the ping do not go down for long, maybe it is not enought to put the host down. The second question is what's the real point to have the ping service configured on all the hosts if the host check is done via icmp. Thanks you for your answers and best regards, Davide Parise Safeguards Systems Analyst Division of Technical Support (SGTS) International Atomic Energy Agency (IAEA) Tel.: +43 1 2600 26496 (Office) Mobile: +43 69916526496 Fax: +43 1 2600 29121 (21st Floor) E-mail: d.parise at iaea.org * PARISE, Davide * 0xFCF4C509 - Unverified(L) This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. - ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -----BEGIN PGP SIGNATURE----- Version: 9.5.3 (Build 5003) wsBVAwUBR/H3Ih+K8IX89MUJAQjbFwgAihEUA2iuqa1RXpEdCVrPUZFlKkOzsIAt QGCtx+cdm0xaynKwys+PPLLEWxQCM32EYZaT3rRSZQBXsmy4E/aYN1cv0JJmyVjl p8HUsSVy46FdjRwDRqseSR3PsO18QD1Q0YAsO0Ugc9t7n6tQgrJyWAPDcrj0PUaF XjxEUGQuaWSqqtgljosWu0/cOmbswEgcIN1DzNQdUQZek+YjQBctK2SEE02tM1+T /xjP56xr49KcXumxp9wCdtldpRfDJB3y/ORB8ffP5kSiNGVYFbTQnqRrfiVwXdgB WUX3YW6ItZABDSnKlCOFk1/gwO1Ui+wWcUL1fk2TfVkp3a1PVpxFBw== =WCjl -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Tue Apr 1 10:52:49 2008 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Tue, 1 Apr 2008 10:52:49 +0200 Subject: Host and ping service notification In-Reply-To: <4b008f7d0804010146t69dde81ckae5426a36d2845ec@mail.gmail.com> References: <4b008f7d0804010146t69dde81ckae5426a36d2845ec@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Other question: what if I have the ping and a passive check on the host ? The passive check will stay on longer. Regards, Davide - -----Original Message----- From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: Tuesday, 01 April 2008 10:47 To: PARISE, Davide; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Host and ping service notification service checks are ran before host checks. So, ping service might be down but the host might still be up. It also depends on how many times you specify a service to be checked before it goes to critical state. Nagios will run all service checks before it runs host check. Alex On Tue, Apr 1, 2008 at 7:48 AM, wrote: * PGP Bad Signature, Signed by an unverified key: 04/01/08 at 09:49:17 Dear All, I have configured my hosts with the check-host-alive with check_ipmc and all of them have also the ping service. Now I receive the notifications when the ping is down, but not the notifications for the host down, and I do not understand why. Often the ping do not go down for long, maybe it is not enought to put the host down. The second question is what's the real point to have the ping service configured on all the hosts if the host check is done via icmp. Thanks you for your answers and best regards, Davide Parise Safeguards Systems Analyst Division of Technical Support (SGTS) International Atomic Energy Agency (IAEA) Tel.: +43 1 2600 26496 (Office) Mobile: +43 69916526496 Fax: +43 1 2600 29121 (21st Floor) E-mail: d.parise at iaea.org * PARISE, Davide * 0xFCF4C509 - Unverified(L) This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. - ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -----BEGIN PGP SIGNATURE----- Version: 9.5.3 (Build 5003) wsBVAwUBR/H36x+K8IX89MUJAQiw5Qf8CtVcAjfHQTRbs6fBJopKsFDkGiknUNtt xuioepVHaf1VIRWInM+M4Ig8cZG+Br18ZxfsAImzj7IEXecFS+bF2ZLZmHbIkxQT gWVht8o3d2Gl77vOV1bBqarhyXm0KmJmmfrHm8AzSYcIG64r87cKL+WRP3po27M7 BO09cFJ9/9uPJkyYouFlLbJQGg2o4Mw5RA2peAnhJnhqFJEq4uMwf11UXS+MKBXD rdpjObMagUJbYWIJozYjidk/2Uo5BRewVbT+VxBF5o0e77Qc3dRIX6y28l53QZ4l /ImPbxIPSCVjPcpgKDSxz3iEaCQ/tehFKGomqA3AIEFWhtVUWgoRjQ== =bl0g -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 10:56:09 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 1 Apr 2008 08:56:09 +0000 Subject: Host and ping service notification In-Reply-To: References: <4b008f7d0804010146t69dde81ckae5426a36d2845ec@mail.gmail.com> Message-ID: <4b008f7d0804010156q5acb8136pad37b009ea7c7d16@mail.gmail.com> Davide, Make sure you read this very very well http://nagios.sourceforge.net/docs/2_0/notifications.html It will answer all your questions. Also, you can't specify the number of times messages can be sent to you but you can specify the amount of time to run service and host checks. You can also specify the state a device is in before it can send notifications. Alex On Tue, Apr 1, 2008 at 8:52 AM, wrote: > Other question: what if I have the ping and a passive check on the host ? > The passive check will stay on longer. > > Regards, > > Davide > > > -----Original Message----- > From: Alex Dehaini [mailto:alexdehaini at gmail.com] > Sent: Tuesday, 01 April 2008 10:47 > To: PARISE, Davide; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host and ping service notification > > service checks are ran before host checks. So, ping service might be down > but the host might still be up. It also depends on how many times you > specify a service to be checked before it goes to critical state. Nagios > will run all service checks before it runs host check. > > Alex > > > On Tue, Apr 1, 2008 at 7:48 AM, wrote: > > > > * PGP Bad Signature, Signed by an unverified key: 04/01/08 at 09:49:17 > > Dear All, > > I have configured my hosts with the check-host-alive with check_ipmc > and all of them have also the ping service. > > Now I receive the notifications when the ping is down, but not the > notifications for the host down, and I do not understand why. Often the ping > do not go down for long, maybe it is not enought to put the host down. The > second question is what's the real point to have the ping service configured > on all the hosts if the host check is done via icmp. > > Thanks you for your answers and best regards, > > > > > > Davide Parise > > Safeguards Systems Analyst > > Division of Technical Support (SGTS) > > International Atomic Energy Agency (IAEA) > > Tel.: +43 1 2600 26496 (Office) > > Mobile: +43 69916526496 > > Fax: +43 1 2600 29121 (21st Floor) > > E-mail: d.parise at iaea.org > > > > * PARISE, Davide > * 0xFCF4C509 - Unverified(L) > > > This email message is intended only for the use of the named recipient. > Information contained in this email message and its attachments may be > privileged, confidential and protected from disclosure. If you are not the > intended recipient, please do not read, copy, use or disclose this > communication to others. Also please notify the sender by replying to this > message and then delete it from your system. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for just about anything Open > Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gimenez at cict.fr Tue Apr 1 11:30:21 2008 From: gimenez at cict.fr (Carole Gimenez) Date: Tue, 01 Apr 2008 11:30:21 +0200 Subject: Pb with "Retry Check Interval" Message-ID: <47F200AD.9040200@cict.fr> Hi, I want to modify the value of "*Retry Check Interval" *to put it at 5 min. So, i modified the nagios.cfg at this:* #*command_check_interval=1 command_check_interval=5 When i restart nagios server, the "*Retry Check Interval" *in services definition don't have modified. If i add a new service, the "*Retry Check Interval" *has always the value '1'. Why? Can someone help me, please? Carole Gimenez. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 13:40:40 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Tue, 1 Apr 2008 17:10:40 +0530 Subject: Help : OID Message-ID: Hi All I have installed nagios 3.0 , Now I want nagios to monitor switch rather than monitoring local host.To add the switch I have made changes in switch.cfg file but I am unable to find OID for my switch cisco 3550. I used the command snmpwalk .......... but I started getting a long list of ids , so which ID to chosse from that list. 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 13:48:58 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 01 Apr 2008 13:48:58 +0200 Subject: Help : OID In-Reply-To: References: Message-ID: <47F2212A.30803@googlemail.com> Pallav.S.Gupta at relianceada.com schrieb: > I used the command snmpwalk .......... but I started getting a long list > of ids , so which ID to chosse from that list. Hi Pallav, if you just want to monitor, if the management-interface of the switch is up or down, you can use check_icmp or something like that. MIB-2 is a standart-MIB which suits for many different devices. If you wanna monitor the fan, or the cpu-load or something like that, you need the corresponding OID from MIB-2 (or from some special Cisco-Mibs). However, this depends greatly on what you want to monitor. (Maybe you want to tell us? ;-) ) Greetz, Marcus ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Apr 1 13:49:12 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 1 Apr 2008 13:49:12 +0200 Subject: Help : OID In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9B3D@hermes.sapphire-int.gi> I think you will need to do some research here: SNMP : http://www.oreilly.com/catalog/esnmp/ Cisco MIB Browser: http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&substep=2&t ranslate=Translate&tree=NO There is no hard and fast answer, it depends exactly what on that switch you want to monitor. If you just want to check that the switch is on, use something like check_ping and forget SNMP altogether. ________________________________ 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: 01 April 2008 13:41 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help : OID Importance: High Hi All I have installed nagios 3.0 , Now I want nagios to monitor switch rather than monitoring local host.To add the switch I have made changes in switch.cfg file but I am unable to find OID for my switch cisco 3550. I used the command snmpwalk .......... but I started getting a long list of ids , so which ID to chosse from that list. 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Tue Apr 1 14:06:41 2008 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 1 Apr 2008 14:06:41 +0200 Subject: Help : OID In-Reply-To: References: Message-ID: <200804011406.41473.misch@multinet.de> Am Dienstag, 1. April 2008 13:40 schrieb Pallav.S.Gupta at relianceada.com: > Hi All > > I have installed nagios 3.0 , Now I want nagios to monitor switch rather > than monitoring local host.To add the switch I have made changes in > switch.cfg file but I am unable to find OID for my switch cisco 3550. > > I used the command snmpwalk .......... but I started getting a long list > of ids , so which ID to chosse from that list. The OID depends on what you want to look for. So first os all, get yourself sure, what you want to monitor. CPU load, temperature of the divice, package or octet throughput (if yes: on what port), ...? When you walked through the MIB fo your device you will see that the switch delivers a lot of information. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 13:52:05 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 1 Apr 2008 11:52:05 +0000 Subject: Help : OID In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744CF9B3D@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A5744CF9B3D@hermes.sapphire-int.gi> Message-ID: <4b008f7d0804010452g5e1b138bu7e3afae17afd4b48@mail.gmail.com> Use cacti to check your banwidth and graphs. cacti.net On Tue, Apr 1, 2008 at 11:49 AM, Giles Coochey wrote: > I think you will need to do some research here: > > > > SNMP : http://www.oreilly.com/catalog/esnmp/ > > Cisco MIB Browser: > http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&substep=2&translate=Translate&tree=NO > > > > There is no hard and fast answer, it depends exactly what on that switch > you want to monitor. > > > > If you just want to check that the switch is on, use something like > check_ping and forget SNMP altogether. > > > > > > > ------------------------------ > > *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:* 01 April 2008 13:41 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Help : OID > *Importance:* High > > > > > Hi All > > I have installed nagios 3.0 , Now I want nagios to monitor switch rather > than monitoring local host.To add the switch I have made changes in > switch.cfg file but I am unable to find OID for my switch cisco 3550. > > I used the command snmpwalk .......... but I started getting a long list > of ids , so which ID to chosse from that list. > > > > > > > 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: image001.gif Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrassic at gmail.com Tue Apr 1 13:59:25 2008 From: agrassic at gmail.com (Antonio Grassi) Date: Tue, 1 Apr 2008 08:59:25 -0300 Subject: Pb with "Retry Check Interval" In-Reply-To: <47F200AD.9040200@cict.fr> References: <47F200AD.9040200@cict.fr> Message-ID: <7fb931000804010459j6a8546eby22218502b994aaad@mail.gmail.com> Carole, the option you modified refers to the interval for checking for external commands in the Nagios external command file. The option you are looking for seems to be retry_interval (present in Nagios 3) in the service definition itself (or in some of the templates the service definition uses). Please refer to the documentation. Antonio 2008/4/1, Carole Gimenez : > > Hi, > > I want to modify the value of "*Retry Check Interval" *to put it at 5 min. > So, i modified the nagios.cfg at this:* > #*command_check_interval=1 > command_check_interval=5 > > When i restart nagios server, the "*Retry Check Interval" *in services > definition don't have modified. If i add a new service, the "*Retry Check > Interval" *has always the value '1'. Why? > > Can someone help me, please? > > Carole Gimenez. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 14:04:08 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Tue, 1 Apr 2008 17:34:08 +0530 Subject: Help : OID In-Reply-To: <200804011406.41473.misch@multinet.de> References: <200804011406.41473.misch@multinet.de> Message-ID: I want to monitor CPU usage , memory usage , sytem description, port status Michael Schwartzkopff Sent by: nagios-users-bounces at lists.sourceforge.net 04/01/2008 05:36 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Help : OID Am Dienstag, 1. April 2008 13:40 schrieb Pallav.S.Gupta at relianceada.com: > Hi All > > I have installed nagios 3.0 , Now I want nagios to monitor switch rather > than monitoring local host.To add the switch I have made changes in > switch.cfg file but I am unable to find OID for my switch cisco 3550. > > I used the command snmpwalk .......... but I started getting a long list > of ids , so which ID to chosse from that list. The OID depends on what you want to look for. So first os all, get yourself sure, what you want to monitor. CPU load, temperature of the divice, package or octet throughput (if yes: on what port), ...? When you walked through the MIB fo your device you will see that the switch delivers a lot of information. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 14:29:53 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Tue, 1 Apr 2008 17:59:53 +0530 Subject: Help : OID In-Reply-To: References: <200804011406.41473.misch@multinet.de> Message-ID: Pallav, You need to read the documentation... http://nagios.sourceforge.net/docs/3_0/quickstart.html http://www.nagios.org/docs/ http://www.nagioscommunity.org/wiki/ If you face any issues while doing so the group can help you. Best Regards, Narendran Neelamegam ---------------------------------------------- Wipro Technologies Electronics City, Bangalore Mob: +91 9740811699 | Ph: +91 80 3029 6844 ________________________________ 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: Tuesday, April 01, 2008 5:34 PM To: Michael Schwartzkopff Cc: nagios-users-bounces at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help : OID I want to monitor CPU usage , memory usage , sytem description, port status Michael Schwartzkopff Sent by: nagios-users-bounces at lists.sourceforge.net 04/01/2008 05:36 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Help : OID Am Dienstag, 1. April 2008 13:40 schrieb Pallav.S.Gupta at relianceada.com: > Hi All > > I have installed nagios 3.0 , Now I want nagios to monitor switch rather > than monitoring local host.To add the switch I have made changes in > switch.cfg file but I am unable to find OID for my switch cisco 3550. > > I used the command snmpwalk .......... but I started getting a long list > of ids , so which ID to chosse from that list. The OID depends on what you want to look for. So first os all, get yourself sure, what you want to monitor. CPU load, temperature of the divice, package or octet throughput (if yes: on what port), ...? When you walked through the MIB fo your device you will see that the switch delivers a lot of information. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ATT9216565.gif Type: image/gif Size: 6675 bytes Desc: ATT9216565.gif URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 14:36:28 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Tue, 1 Apr 2008 18:06:28 +0530 Subject: Help : OID In-Reply-To: References: Message-ID: Dear Narendran I have read the documentation ,the problem is I want to know from where I can get the OID for CPU usage, memory usage , sytem description, port status etc Sent by: nagios-users-bounces at lists.sourceforge.net 04/01/2008 05:59 PM To , cc nagios-users at lists.sourceforge.net, nagios-users-bounces at lists.sourceforge.net Subject Re: [Nagios-users] Help : OID Pallav, You need to read the documentation... http://nagios.sourceforge.net/docs/3_0/quickstart.html http://www.nagios.org/docs/ http://www.nagioscommunity.org/wiki/ If you face any issues while doing so the group can help you. Best Regards, Narendran Neelamegam ---------------------------------------------- Wipro Technologies Electronics City, Bangalore Mob: +91 9740811699 | Ph: +91 80 3029 6844 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: Tuesday, April 01, 2008 5:34 PM To: Michael Schwartzkopff Cc: nagios-users-bounces at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help : OID I want to monitor CPU usage , memory usage , sytem description, port status Michael Schwartzkopff Sent by: nagios-users-bounces at lists.sourceforge.net 04/01/2008 05:36 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Help : OID Am Dienstag, 1. April 2008 13:40 schrieb Pallav.S.Gupta at relianceada.com: > Hi All > > I have installed nagios 3.0 , Now I want nagios to monitor switch rather > than monitoring local host.To add the switch I have made changes in > switch.cfg file but I am unable to find OID for my switch cisco 3550. > > I used the command snmpwalk .......... but I started getting a long list > of ids , so which ID to chosse from that list. The OID depends on what you want to look for. So first os all, get yourself sure, what you want to monitor. CPU load, temperature of the divice, package or octet throughput (if yes: on what port), ...? When you walked through the MIB fo your device you will see that the switch delivers a lot of information. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Apr 1 14:44:36 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 1 Apr 2008 14:44:36 +0200 Subject: Help : OID In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9B46@hermes.sapphire-int.gi> Pallav, why don't you just google for this? I don't think many on this list appreciate being your personal search engine. None of us get paid for our advice on this list, and there are plenty out there who are happy to get paid for this type of consultancy. This link seems to have much of the information you might need: http://nagios.manubulon.com/index_info.html I'm sure there are specific Cisco check plugins out there as well. Any google search for something including some of the following search terms: "Nagios, Cisco, SNMP, Plugin, Check" will unearth a myriad of methods you can use to achieve what you need. ________________________________ 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: 01 April 2008 14:36 To: narendran.neelamegam at wipro.com Cc: nagios-users at lists.sourceforge.net; misch at multinet.de; nagios-users-bounces at lists.sourceforge.net Subject: Re: [Nagios-users] Help : OID Importance: High Dear Narendran I have read the documentation ,the problem is I want to know from where I can get the OID for CPU usage, memory usage , sytem description, port status etc Sent by: nagios-users-bounces at lists.sourceforge.net 04/01/2008 05:59 PM To , cc nagios-users at lists.sourceforge.net, nagios-users-bounces at lists.sourceforge.net Subject Re: [Nagios-users] Help : OID Pallav, You need to read the documentation... http://nagios.sourceforge.net/docs/3_0/quickstart.html http://www.nagios.org/docs/ http://www.nagioscommunity.org/wiki/ If you face any issues while doing so the group can help you. Best Regards, Narendran Neelamegam ---------------------------------------------- Wipro Technologies Electronics City, Bangalore Mob: +91 9740811699 | Ph: +91 80 3029 6844 ________________________________ 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: Tuesday, April 01, 2008 5:34 PM To: Michael Schwartzkopff Cc: nagios-users-bounces at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help : OID I want to monitor CPU usage , memory usage , sytem description, port status Michael Schwartzkopff Sent by: nagios-users-bounces at lists.sourceforge.net 04/01/2008 05:36 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Help : OID Am Dienstag, 1. April 2008 13:40 schrieb Pallav.S.Gupta at relianceada.com: > Hi All > > I have installed nagios 3.0 , Now I want nagios to monitor switch rather > than monitoring local host.To add the switch I have made changes in > switch.cfg file but I am unable to find OID for my switch cisco 3550. > > I used the command snmpwalk .......... but I started getting a long list > of ids , so which ID to chosse from that list. The OID depends on what you want to look for. So first os all, get yourself sure, what you want to monitor. CPU load, temperature of the divice, package or octet throughput (if yes: on what port), ...? When you walked through the MIB fo your device you will see that the switch delivers a lot of information. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 15:27:36 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 01 Apr 2008 15:27:36 +0200 Subject: Not sending RECOVERY notifications In-Reply-To: <1207056002.24966.22.camel@tux> References: <1206966273.3575.5.camel@bofh.dtnet.de> <1207056002.24966.22.camel@tux> Message-ID: <1207056456.6614.7.camel@bofh.dtnet.de> Hi > > Does anyone have a hint where to look at? > > Service configuration is same as similar services on other hosts > > (these > > work fine...) > > First thing to check is that the contact has an 'r' in the > host_notifications_options. Otherwise the contact won't be notified on > recoveries. Yes it has. This contact does get RECOVERY notifications for other services but not for the specific one... The notification options for the service are the same as for other services as all have the statement use generic-service within their configuration... 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 15:48:13 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 1 Apr 2008 13:48:13 +0000 Subject: Help : OID In-Reply-To: References: Message-ID: <4b008f7d0804010648r3590f7b1r213f600c27a8b21b@mail.gmail.com> Pallav, CPU usage - use snmp. This is the OID 1.3.6.1.4.1.9.2.1.57.0 Memory usuage - use check_snmp_mem.pl from http://nagios.manubulon.com/snmp_mem.html System description - snmpwalk the entire device or search for it on cisco website Port Status - Which port do you want to monitor. You can use check_tcp or check_udp Hope this helps. Alex On Tue, Apr 1, 2008 at 12:36 PM, wrote: > > Dear *Narendran* > > I have read the documentation ,the problem is I want to know from where I > can get the OID for CPU usage, memory usage , sytem description, port > status etc > > > > > > > ** > Sent by: nagios-users-bounces at lists.sourceforge.net > > 04/01/2008 05:59 PM > To > , cc > nagios-users at lists.sourceforge.net, > nagios-users-bounces at lists.sourceforge.net > Subject > Re: [Nagios-users] Help : OID > > > > > Pallav, > > You need to read the documentation... > > *http://nagios.sourceforge.net/docs/3_0/quickstart.html* > > *http://www.nagios.org/docs/* > > *http://www.nagioscommunity.org/wiki/* > > If you face any issues while doing so the group can help you. > > Best Regards, > > Narendran Neelamegam > ---------------------------------------------- > Wipro Technologies > Electronics City, Bangalore > Mob: +91 9740811699 | Ph: +91 80 3029 6844 > ------------------------------ > *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:* Tuesday, April 01, 2008 5:34 PM* > To:* Michael Schwartzkopff* > Cc:* nagios-users-bounces at lists.sourceforge.net; > nagios-users at lists.sourceforge.net* > Subject:* Re: [Nagios-users] Help : OID > > > I want to monitor CPU usage , memory usage , sytem description, port > status > > > > > > *Michael Schwartzkopff * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 04/01/2008 05:36 PM > > To > nagios-users at lists.sourceforge.netcc > Subject > Re: [Nagios-users] Help : OID > > > > > > > Am Dienstag, 1. April 2008 13:40 schrieb Pallav.S.Gupta at relianceada.com: > > Hi All > > > > I have installed nagios 3.0 , Now I want nagios to monitor switch rather > > than monitoring local host.To add the switch I have made changes in > > switch.cfg file but I am unable to find OID for my switch cisco 3550. > > > > I used the command snmpwalk .......... but I started getting a long list > > of ids , so which ID to chosse from that list. > > The OID depends on what you want to look for. So first os all, get > yourself > sure, what you want to monitor. CPU load, temperature of the divice, > package > or octet throughput (if yes: on what port), ...? When you walked through > the > MIB fo your device you will see that the switch delivers a lot of > information. > > -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany > Tel: +49 - 89 - 45 69 11 0 > Fax: +49 - 89 - 45 69 11 21 > mob: +49 - 174 - 343 28 75 > > mail: misch at multinet.de > web: www.multinet.de > > Sitz der Gesellschaft: 85630 Grasbrunn > Registergericht: Amtsgericht M?nchen HRB 114375 > Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens > > --- > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > Skype: misch42 > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 16:55:51 2008 From: td3201 at gmail.com (Terry) Date: Tue, 1 Apr 2008 09:55:51 -0500 Subject: two notification timeperiods overlapping In-Reply-To: <8ee061010803310839t4f9ed04dg984d0b87124cc114@mail.gmail.com> References: <8ee061010803310839t4f9ed04dg984d0b87124cc114@mail.gmail.com> Message-ID: <8ee061010804010755y5dd0387t3d85c7464a30bd73@mail.gmail.com> Any ideas on this? I am puzzled. Last night, no one got notified under these conditions now. On Mon, Mar 31, 2008 at 10:39 AM, Terry wrote: > Hello, > > I have two timeperiods that do NOT overlap in the config but two > contacts with each associated timeperiod are both being notified. We > are in the engineer04 rotation according to my calculations. Anyone > see why this is happening? > > define timeperiod{ > timeperiod_name engineer03 > alias engineer03 > 2007-11-19 / 42 08:00-24:00 > 2007-11-20 / 42 00:00-24:00 > 2007-11-21 / 42 00:00-24:00 > 2007-11-22 / 42 00:00-24:00 > 2007-11-23 / 42 00:00-24:00 > 2007-11-24 / 42 00:00-24:00 > 2007-11-25 / 42 00:00-24:00 > 2007-11-26 / 42 00:00-08:00 > } > > define timeperiod{ > timeperiod_name engineer03-workhours > alias engineer03-workhours > 2007-11-19 / 42 08:00-17:00 > 2007-11-20 / 42 08:00-17:00 > 2007-11-21 / 42 08:00-17:00 > 2007-11-22 / 42 08:00-17:00 > 2007-11-23 / 42 08:00-17:00 > 2007-11-24 / 42 08:00-17:00 > 2007-11-25 / 42 08:00-17:00 > } > > define timeperiod{ > timeperiod_name engineer04 > alias engineer04 > 2007-11-26 / 42 08:00-24:00 > 2007-11-27 / 42 00:00-24:00 > 2007-11-28 / 42 00:00-24:00 > 2007-11-29 / 42 00:00-24:00 > 2007-11-30 / 42 00:00-24:00 > 2007-12-01 / 42 00:00-24:00 > 2007-12-02 / 42 00:00-24:00 > 2007-12-03 / 42 00:00-08:00 > } > define timeperiod{ > timeperiod_name engineer04-workhours > alias engineer04-workhours > 2007-11-26 / 42 08:00-17:00 > 2007-11-27 / 42 00:00-17:00 > 2007-11-28 / 42 00:00-17:00 > 2007-11-29 / 42 00:00-17:00 > 2007-11-30 / 42 00:00-17:00 > 2007-12-01 / 42 00:00-17:00 > 2007-12-02 / 42 00:00-17:00 > } > > define contact{ > contact_name jdoe-email-warning > alias jdoe-email-warning > service_notification_period engineer03-workhours > host_notification_period engineer03-workhours > service_notification_options w,u > host_notification_options n > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email jdoe at hotmail.com > } > > define contact{ > contact_name narf-email-warning > alias nar-email-warning > service_notification_period engineer04-workhours > host_notification_period engineer04-workhours > service_notification_options w,u > host_notification_options n > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email narf at hotmail.com > } > > > [1206977436] SERVICE NOTIFICATION: jdoe-email-warning;DEMETER;drive > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > (85%) - Free: 1. > 76G (15%) > warning > [1206977436] SERVICE NOTIFICATION: narf-email-warning;DEMETER;drive > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > (85%) - Fr > ee: 1.76G (15%) > warning > > You timestamp on this alert is around 10:15 AM. > > Thanks! > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.streb at netways.de Tue Apr 1 17:27:49 2008 From: michael.streb at netways.de (Michael Streb) Date: Tue, 01 Apr 2008 17:27:49 +0200 Subject: Relaunch of NagiosExchange.org Message-ID: Hi List, as we announced on the NagiosConference in 2007, NagiosExchange.org is now completeley relaunched and moved to a new infrastructure. The previous projects and users are completely imported and we will recategorize the projects in the near future. Now there is a newsletter you can subscribe to and wich will inform you about changes in the selected categories. We hope you enjoy the new style and performance at http://www.nagiosexchange.org Best Regards, Michael -- Michael Streb Senior Consultant NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 GF: Julian Hein | AG N?rnberg HRB18461 http://www.netways.de | michael.streb at netways.de ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Tue Apr 1 18:08:50 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Tue, 1 Apr 2008 10:08:50 -0600 Subject: Monitoring Windows Servers - Comparing Options Message-ID: <1689390EF608584D85BA56D958A5D1E45A10B3BB69@CorpExMBS1.arcadis-us.com> For the past few years Nagios has been the most important tool for monitoring my network and Linux servers. I now have 'buy in' from the department handling the Windows Servers to at least show them how Nagios can help them to stay on top of issues, without all of the false positive alerts that they get from current tools, which can cause people to want to ignore most issues. So, my question is, what is the best option for monitoring Windows Servers and why? An important factor to consider is that I will probably not have Administrative access to any of the Windows Servers that I will be monitoring. I'm currently considering three options for the reasons shown below (in order of preference): 1) WMI checks Pros -Complete control of NRPE service on 'my' Windows Server (Can this be distributed over two boxes?) -Complete control of check commands on Nagios Server Cons -NRPE service must be run from an account with access to all Windows Servers. 2) Agent checks - NRPE-NT or some other current Windows Agent Pros -??? Cons -Requires an agent setup and running on every Windows Server -No direct control of agents/check commands 3) SNMP based checks Pros -Complete control over check commands on Nagios Server Cons -No direct control of SNMP Community Strings/ACL allowing access from Nagios -No direct control of SNMP service How do you do it? Are there any other Pros & Cons that I might be missing? Do you think I should consider a process/utility not listed? I'm open to suggestions on which agent is best, but I can probably determine this from list archives and testing. At this time I'm more interested in which high-level option would be the best fit. Perhaps there is a good reason to use more than one of the above options, and I'm just not aware of it yet. Any input would be greatly appreciated. Thank you, Garry W. Cook, CCNA Network Systems Specialist ARCADIS U.S., Inc. NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Tue Apr 1 18:47:33 2008 From: llow at telesphere.com (Larry Low) Date: Tue, 1 Apr 2008 09:47:33 -0700 Subject: Relaunch of NagiosExchange.org In-Reply-To: References: Message-ID: Nice :) ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Streb Sent: Tuesday, April 01, 2008 8:28 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Relaunch of NagiosExchange.org Hi List, as we announced on the NagiosConference in 2007, NagiosExchange.org is now completeley relaunched and moved to a new infrastructure. The previous projects and users are completely imported and we will recategorize the projects in the near future. Now there is a newsletter you can subscribe to and wich will inform you about changes in the selected categories. We hope you enjoy the new style and performance at http://www.nagiosexchange.org Best Regards, Michael -- Michael Streb Senior Consultant NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 GF: Julian Hein | AG N?rnberg HRB18461 http://www.netways.de | michael.streb at netways.de ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfreels at sendmail.com Tue Apr 1 21:21:50 2008 From: kfreels at sendmail.com (Kevin Freels) Date: Tue, 1 Apr 2008 12:21:50 -0700 Subject: Bus error on start and verification Message-ID: <6E05344E8A933549A9F022026B22A1F4C30319@platypus.smi.sendmail.com> Greetings! To get the prelims out of the way: Nagios 3.0 FreeBSD 4.10-STABLE Problem: I have built and installed 3.0 on this system, but when I run the verification, I get a bus error. The output is: nagios# /usr/local/nagios3/bin/nagios -v /usr/local/nagios3/etc/nagios.cfg Nagios 3.0 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 03-13-2008 License: GPL Reading configuration data... LEN: 44, END: 42, BUF=log_file=/var/spool/nagios3/log/nagios3.log BUFNOW: log_file=/var/spool/nagios3/log/nagios3.log LEN: 1, END: -1, BUF= . . (more of the same) . LEN: 28, END: 26, BUF=max_debug_file_size=1000000 BUFNOW: max_debug_file_size=1000000 BUFNOW: (null)LEN: 44, END: 42, BUF=log_file=/var/spool/nagios3/log/nagios3.log BUFNOW: log_file=/var/spool/nagios3/log/nagios3.logrcmdsh: unknown user: ??$?PjV?{???? F` Bus error Not a lot to go on. :-( And, yes, the Klingon at the end is as it is output. Funny, tho, the last line in the config file is the "max_debug_file_size" config, but it looks like it repeats back up to the top where the "log_file" is. Does this have something to do with the caching? No core file produced, but if I try the init script, I get: Starting nagios:Bus error (core dumped) CONFIG ERROR! Start aborted. Check your Nagios configuration. and a core file in the rc.d directory. I built this natively and saw no errors during the build or the install(s). Here is the set of config options I used: ./configure --prefix=/usr/local/nagios3 \ --with-nagios-user=nagios \ --with-nagios-group=nagios \ --with-lockfile=/var/run/nagios3.lock \ --enable-embedded-perl \ --with-perlcache \ --with-checkresult-dir=/var/spool/nagios3/checkresults \ --with-htmurl=/nagios3/ \ --with-cgiurl=/nagios3/cgi-bin \ --with-httpd-conf=/usr/local/etc/apache2/httpd.conf This is also the same system that we have Nagios 1.2 running on. Ideas? Bueller? Thanks, as always! ....k -=-=-=- Kevin Freels Director of Information Technology Sendmail, Inc. kfreels at sendmail.com 510/594.5572 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pmui at groundworkopensource.com Tue Apr 1 21:31:59 2008 From: pmui at groundworkopensource.com (Peter Mui) Date: Tue, 1 Apr 2008 12:31:59 -0700 Subject: Ethan Galstad at BayLISA Monitoring SIG: Weds, April 9 2008, 7PM References: <200711150754.lAF7sc08014636@firewall.harker.com> Message-ID: <362E23B2-50B7-4278-B1AC-A78772173FDF@groundworkopensource.com> (Hi: I realize that nagios-users has members world-wide, but just in case you or someone you know is in the San Francisco Bay Area: you're invited to the BayLISA Monitoring SIG, Weds, April 9 2008, 7PM. See the meeting announcement pasted below: feel free to post it and/or forward it along to anyone else who might be interested. Many thanks! - Peter) ================================================= Monitoring SIG XV: Nagios 3.0 A very special SIG: Ethan Galstad, project lead for Nagios, will be in from Minnesota to talk about the features of the newly-released Nagios 3.0. He'll also be available to field your questions about Nagios in general and where it's headed. What: BayLISA Monitoring SIG XV: Nagios 3.0 Who: Anyone interested in IT monitoring issues and tools (newbies particularly welcome!) When: Wednesday, April 9 2008, 7PM Where: GroundWork Open Source, 139 Townsend St., San Francisco How: 139 Townsend St. is very near AT&T Ballpark. It is one and a half blocks from the CalTrain Depot. Take the MUNI T or N trolley to 2nd and King (ballpark stop) or take the 30 or 45 bus (among others) crosstown. Allow extra travel time as the Giants are playing a home game that evening (vs. the Padres, 7:15PM start) so all the streets, sidewalks, and public transit around our office will be packed. DO NOT DRIVE unless you're willing to sit in gridlock and pay exorbitant amounts for parking. Cost: Free!! Piping hot pizza, fridge cold pop, and room-temperature snack food provided by GroundWork. We'll open up the doors at 6:30 or so and start the formal part of the meeting promptly at 7PM. RSVP (not necessary, but helpful): Peter Mui, pmui at groundworkopensource.com , 415-992-4573, www.groundworkopensource.com ================================================= NOTICE: This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited.If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfreels at sendmail.com Tue Apr 1 22:15:04 2008 From: kfreels at sendmail.com (Kevin Freels) Date: Tue, 1 Apr 2008 13:15:04 -0700 Subject: Bus error on start and verification In-Reply-To: <6E05344E8A933549A9F022026B22A1F4C30319@platypus.smi.sendmail.com> References: <6E05344E8A933549A9F022026B22A1F4C30319@platypus.smi.sendmail.com> Message-ID: <6E05344E8A933549A9F022026B22A1F4C30347@platypus.smi.sendmail.com> Hmmmm... I re-compiled without the embedded-perl and perlcache, and the verification passed. So maybe there's an issue with one of these. Anyways, if anyone has had a similar problem, I'd still be interested in hearing about it. ....k -=-=-=- > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Kevin Freels > Sent: Tuesday, April 01, 2008 12:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Bus error on start and verification > > Greetings! > > To get the prelims out of the way: > > Nagios 3.0 > FreeBSD 4.10-STABLE > > Problem: I have built and installed 3.0 on this system, but > when I run the verification, I get a bus error. > > The output is: > > nagios# /usr/local/nagios3/bin/nagios -v > /usr/local/nagios3/etc/nagios.cfg > > Nagios 3.0 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 03-13-2008 > License: GPL > > Reading configuration data... > > LEN: 44, END: 42, BUF=log_file=/var/spool/nagios3/log/nagios3.log > BUFNOW: log_file=/var/spool/nagios3/log/nagios3.log > LEN: 1, END: -1, BUF= > . > . (more of the same) > . > LEN: 28, END: 26, BUF=max_debug_file_size=1000000 > BUFNOW: max_debug_file_size=1000000 > BUFNOW: (null)LEN: 44, END: 42, > BUF=log_file=/var/spool/nagios3/log/nagios3.log > BUFNOW: log_file=/var/spool/nagios3/log/nagios3.logrcmdsh: > unknown user: ??$?PjV?{???? F` Bus error > > > > > Not a lot to go on. :-( And, yes, the Klingon at the end > is as it is output. Funny, tho, the last line in the config > file is the "max_debug_file_size" config, but it looks like > it repeats back up to the top where the "log_file" is. Does > this have something to do with the caching? > > No core file produced, but if I try the init script, I get: > > Starting nagios:Bus error (core dumped) > CONFIG ERROR! Start aborted. Check your Nagios configuration. > > and a core file in the rc.d directory. > > I built this natively and saw no errors during the build or > the install(s). Here is the set of config options I used: > > ./configure --prefix=/usr/local/nagios3 \ > --with-nagios-user=nagios \ > --with-nagios-group=nagios \ > --with-lockfile=/var/run/nagios3.lock \ > --enable-embedded-perl \ > --with-perlcache \ > --with-checkresult-dir=/var/spool/nagios3/checkresults \ > --with-htmurl=/nagios3/ \ > --with-cgiurl=/nagios3/cgi-bin \ > --with-httpd-conf=/usr/local/etc/apache2/httpd.conf > > This is also the same system that we have Nagios 1.2 running on. > > Ideas? Bueller? > > Thanks, as always! > > > ....k > -=-=-=- > Kevin Freels > Director of Information Technology > Sendmail, Inc. > kfreels at sendmail.com 510/594.5572 > > -------------------------------------------------------------- > ----------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for just about > anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n et/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 22:52:31 2008 From: g-ginsburg at northwestern.edu (Gerald N. Ginsburg) Date: Tue, 1 Apr 2008 15:52:31 -0500 Subject: Bus error on start and verification In-Reply-To: <6E05344E8A933549A9F022026B22A1F4C30347@platypus.smi.sendmail.com> References: <6E05344E8A933549A9F022026B22A1F4C30319@platypus.smi.sendmail.com> <6E05344E8A933549A9F022026B22A1F4C30347@platypus.smi.sendmail.com> Message-ID: <014c01c8943a$4e20b700$35d66981@bluejay> I had basically the same problem with Solaris 8 -- segmentation fault when running a verify. I followed your lead and reconfigured with --prefix=/usr/local/nagios-3.0 --without-embedded-perl --without-perlcache And it worked! Thanks very much. I did not have this problem with 3.0 rc1 or rc2 (or with 2.x). Gerald N. Ginsburg ITCS Northwestern University 2020 Ridge Ave. Evanston IL 60208-4311 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Freels Sent: Tuesday, April 01, 2008 3:15 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Bus error on start and verification Hmmmm... I re-compiled without the embedded-perl and perlcache, and the verification passed. So maybe there's an issue with one of these. Anyways, if anyone has had a similar problem, I'd still be interested in hearing about it. ....k -=-=-=- > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Kevin Freels > Sent: Tuesday, April 01, 2008 12:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Bus error on start and verification > > Greetings! > > To get the prelims out of the way: > > Nagios 3.0 > FreeBSD 4.10-STABLE > > Problem: I have built and installed 3.0 on this system, but > when I run the verification, I get a bus error. > > The output is: > > nagios# /usr/local/nagios3/bin/nagios -v > /usr/local/nagios3/etc/nagios.cfg > > Nagios 3.0 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 03-13-2008 > License: GPL > > Reading configuration data... > > LEN: 44, END: 42, BUF=log_file=/var/spool/nagios3/log/nagios3.log > BUFNOW: log_file=/var/spool/nagios3/log/nagios3.log > LEN: 1, END: -1, BUF= > . > . (more of the same) > . > LEN: 28, END: 26, BUF=max_debug_file_size=1000000 > BUFNOW: max_debug_file_size=1000000 > BUFNOW: (null)LEN: 44, END: 42, > BUF=log_file=/var/spool/nagios3/log/nagios3.log > BUFNOW: log_file=/var/spool/nagios3/log/nagios3.logrcmdsh: > unknown user: ??$?PjV?{???? F` Bus error > > > > > Not a lot to go on. :-( And, yes, the Klingon at the end > is as it is output. Funny, tho, the last line in the config > file is the "max_debug_file_size" config, but it looks like > it repeats back up to the top where the "log_file" is. Does > this have something to do with the caching? > > No core file produced, but if I try the init script, I get: > > Starting nagios:Bus error (core dumped) > CONFIG ERROR! Start aborted. Check your Nagios configuration. > > and a core file in the rc.d directory. > > I built this natively and saw no errors during the build or > the install(s). Here is the set of config options I used: > > ./configure --prefix=/usr/local/nagios3 \ > --with-nagios-user=nagios \ > --with-nagios-group=nagios \ > --with-lockfile=/var/run/nagios3.lock \ > --enable-embedded-perl \ > --with-perlcache \ > --with-checkresult-dir=/var/spool/nagios3/checkresults \ > --with-htmurl=/nagios3/ \ > --with-cgiurl=/nagios3/cgi-bin \ > --with-httpd-conf=/usr/local/etc/apache2/httpd.conf > > This is also the same system that we have Nagios 1.2 running on. > > Ideas? Bueller? > > Thanks, as always! > > > ....k > -=-=-=- > Kevin Freels > Director of Information Technology > Sendmail, Inc. > kfreels at sendmail.com 510/594.5572 > > -------------------------------------------------------------- > ----------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for just about > anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n et/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PetterborgCa at ldschurch.org Wed Apr 2 00:48:43 2008 From: PetterborgCa at ldschurch.org (Cary Petterborg) Date: Tue, 01 Apr 2008 16:48:43 -0600 Subject: A fix for EXTREME slowness Message-ID: <47F2676B02000048000F902F@inet-wh2.gmhwh.org> I'm resending this email because there was not a single response to my previous email. I have to think that someone else has run into this problem, and I would like to know what others have done and suggestions for the implementation of a good fix. We have solved this problem in the short term, but we want to implement a more robust long terms solution. We had a huge performance increase from fixing the problem, so if you have noticed your web server taking a long time to process your status.cgi and extinfo.cgi page requests, please read on..... This email has a description of the problem, the symptoms, our interim fix, and a possible long term fix. If you have been noticing large (or larger) load times for status.cgi and/or extinfo.cgi, please read this entire message. We have recently had our comments.dat file grow to a much larger size (due to increased need for comments). This file grew to about 4.8MB. To read or write this size of file is not a problem, but the processing of it in status.cgi and extinfo.cgi was slowing things down significantly. To give you an idea, the page load times went from a few seconds to over a minute on our production systems. Since the load times were so bad we started looking for the cause. It became evident that it was the processing of the comments.dat file. We created a program to take the comments more than 30 days old and archive them into an archive file. The reduces the load time so significantly that we decided to do some tests on a non-production system. We took the large 4.8MB file and reduced the number of entries until there were only 30 days worth in the file (down to 90, 80, 70, 60, 50, 40 and finally 30 days). Then we ran tests on status.cgi for each of these filesizes. Using just a crude stopwatch we measured the times it took to load the various pages. I have created a spreadsheet file and graph for the data. The test seems to indicate that the size of the comments.dat file dramatically affects the page load times. On the test server, the load times for the 4.8MB file were in the 9 to 10 second range, while the 2MB file were under 2 seconds. Here is a table of the results: File size | Time ----------------- 4.85 | 9.5 3.95 | 6.0 3.00 | 2.8 2.03 | 2.0 This seems to show rather exponential growth rather than linear. We have ended up in the short term archiving the old data, reducing the file to the much more reasonable 2MB size and cutting the times significantly. The results on the production server is even more dramatic reducing the load time from 70 seconds to about 3 seconds. This was more of a problem on the production system because there were more status.cgi processes running at the same time. A 95% reduction in the load time is very significant. Are there others who have seen this as a big problem, or is it not a typical problem that has been encountered? Have others found a way to fix this problem other than reducing the number of comments in the comments file? So there seems to be a need to make this information be more a database type access, rather than a "parse this big file and see what drops out that we want" access. This could easily be done with a real relational database, or even a more simple database, to retrieve only the comments for the host/service desired. We are willing to do the work on this, but would like it to be incorporated into Nagios code base so that we are not having to port this functionality on upgrades in the future. If you are interested in this type of enhancement, please let me know. In addition, if you have suggestions for the implementation of real comments database (yes, we are experienced in this area, and have OUR ideas of how we want to implement it, but we'd like to know of other opinions so that we can increase the likelihood of it being incorporated into the standard release), please let me know. Thanks! Cary Petterborg ---------------------------------------------------------------------- NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Apr 2 03:37:21 2008 From: Roger at NagiosWiki.com (Roger) Date: Tue, 1 Apr 2008 18:37:21 -0700 Subject: checking all partitions on Windows host via check_nt? Message-ID: <2b7af7c40804011837l3b6e808cv844c2535bbec89e7@mail.gmail.com> In the nrpe.cfg file on my montored box, I have the following command (which works beautifully). check command[check_disks_proc_mounts]=/usr/lib/nagios/plugins/check_disk -w 15% -c 10% $(for x in $(cat /proc/mounts |awk '{print $2}')\; do echo -n " -p $x "\; done) I am looking to make a check_nt equivalent to that command. Has anyone done this? Or do they have any ideas on how I might possibly do so? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 09:58:41 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 2 Apr 2008 13:28:41 +0530 Subject: Help : Unable to see any Host except local Host Message-ID: Dear All I have made changes in nagios.cfg and switches.cfg files but still I am unable to see the device.I have also added nagios machine in access-list of the switches. Also I have added a windows server 2003 with necessary changes done on both ends as per the nagios documentation, bt still the device is not coming , nagios home page is showing only local host. Please help. 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Wed Apr 2 10:21:50 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 2 Apr 2008 10:21:50 +0200 Subject: Help : Unable to see any Host except local Host In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9B84@hermes.sapphire-int.gi> Did you try restarting or reloading the Nagios process? ________________________________ 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: 02 April 2008 09:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help : Unable to see any Host except local Host Importance: High Dear All I have made changes in nagios.cfg and switches.cfg files but still I am unable to see the device.I have also added nagios machine in access-list of the switches. Also I have added a windows server 2003 with necessary changes done on both ends as per the nagios documentation, bt still the device is not coming , nagios home page is showing only local host. Please help. 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 10:22:35 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 02 Apr 2008 10:22:35 +0200 Subject: Help : Unable to see any Host except local Host In-Reply-To: References: Message-ID: <47F3424B.1050108@googlemail.com> Did you restart the service? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 10:24:36 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 02 Apr 2008 09:24:36 +0100 Subject: checking all partitions on Windows host via check_nt? In-Reply-To: <2b7af7c40804011837l3b6e808cv844c2535bbec89e7@mail.gmail.com> References: <2b7af7c40804011837l3b6e808cv844c2535bbec89e7@mail.gmail.com> Message-ID: <47F342C4.9090509@googlemail.com> Roger wrote: > In the nrpe.cfg file on my montored box, I have the following command > (which works beautifully). > > check > command[check_disks_proc_mounts]=/usr/lib/nagios/plugins/check_disk -w > 15% -c 10% $(for x in $(cat /proc/mounts |awk '{print $2}')\; do echo > -n " -p $x "\; done) > > I am looking to make a check_nt equivalent to that command. Has anyone done this? Or do they have any ideas on how I might possibly do so? > Nice to see my original bash idea has proliferated... I actually had this thought last year as well and my original solution was a very cheap bash script to loop through calls to the different drive letters, which worked, but was prone to being sensitive on latency since it had to make many round trips (The same was true of checking multiple services in this way). I think it would be better to have a native windows plugin to do this, I just haven't had time to get round to writing and testing it. I actually did write a windows plugin for the multiple services check but have been so short on time that I wasn't able to thoroughly test every code branch so I didn't release it. (it's similar in code base to the check all automatic services are running plugin that I released though). In fact, there are one or two plugins out there that do windows disk and services, but I didn't like their style, I felt the output was incoherent with Nagios style leading to a more mis-mashed dashboard (which I keep on a screen by my desk at all times) and my coding was more thorough so I didn't use them... but you're welcome to dig them out and try them if you want. Have a peek at Nagios Exchange. I'm hoping to get time soon to thoroughly test my services plugin and also do the disk check plugin too. Stay tuned. -h -- Hari Sekhon ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 10:46:30 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 2 Apr 2008 14:16:30 +0530 Subject: Help : Unable to see any Host except local Host In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744CF9B84@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A5744CF9B84@hermes.sapphire-int.gi> Message-ID: Yes I tried that........do i need to install some addons to see my switches ? "Giles Coochey" Sent by: nagios-users-bounces at lists.sourceforge.net 04/02/2008 01:51 PM To , cc Subject Re: [Nagios-users] Help : Unable to see any Host except local Host Did you try restarting or reloading the Nagios process? 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: 02 April 2008 09:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help : Unable to see any Host except local Host Importance: High Dear All I have made changes in nagios.cfg and switches.cfg files but still I am unable to see the device.I have also added nagios machine in access-list of the switches. Also I have added a windows server 2003 with necessary changes done on both ends as per the nagios documentation, bt still the device is not coming , nagios home page is showing only local host. Please help. 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 12:16:33 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 2 Apr 2008 15:46:33 +0530 Subject: Fw: Help : Unable to see any Host except local Host Message-ID: I have restarted the nagios service a number of time , still no hopes !!!! Can anyone help me out !!! ----- Forwarded by Pallav S Gupta/RCVL/RelianceADA on 04/02/2008 03:45 PM ----- Pallav S Gupta/RCVL/RelianceADA 04/02/2008 01:28 PM To nagios-users at lists.sourceforge.net cc Subject Help : Unable to see any Host except local Host Dear All I have made changes in nagios.cfg and switches.cfg files but still I am unable to see the device.I have also added nagios machine in access-list of the switches. Also I have added a windows server 2003 with necessary changes done on both ends as per the nagios documentation, bt still the device is not coming , nagios home page is showing only local host. Please help. 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 12:34:32 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 Apr 2008 06:34:32 -0400 Subject: Fw: Help : Unable to see any Host except local Host In-Reply-To: References: Message-ID: <47F36138.7070202@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/04/08 06:16 AM, Pallav.S.Gupta at relianceada.com wrote: > > I have restarted the nagios service a number of time , still no hopes !!!! > > Can anyone help me out !!! try running (make sure it's the correct paths): /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Does it prints any errors? If you initiate a restart from init.d script with a broken config chances are that it will not restart at all. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH82E46dZ+Kt5BchYRAuW5AJ0W95nebFWh8i8fdDKezzns1rdQtQCfdNoM i26m5yck3iiLMXPCqX9x6oo= =dbDo -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 12:36:54 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 2 Apr 2008 16:06:54 +0530 Subject: Fw: Help : Unable to see any Host except local Host In-Reply-To: <47F36138.7070202@aei.ca> References: <47F36138.7070202@aei.ca> Message-ID: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg doesn't gv any errors . Thomas Guyot-Sionnest Sent by: nagios-users-bounces at lists.sourceforge.net 04/02/2008 04:04 PM To Pallav.S.Gupta at relianceada.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Fw: Help : Unable to see any Host except local Host -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/04/08 06:16 AM, Pallav.S.Gupta at relianceada.com wrote: > > I have restarted the nagios service a number of time , still no hopes !!!! > > Can anyone help me out !!! try running (make sure it's the correct paths): /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Does it prints any errors? If you initiate a restart from init.d script with a broken config chances are that it will not restart at all. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH82E46dZ+Kt5BchYRAuW5AJ0W95nebFWh8i8fdDKezzns1rdQtQCfdNoM i26m5yck3iiLMXPCqX9x6oo= =dbDo -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 13:12:01 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 02 Apr 2008 13:12:01 +0200 Subject: Fw: Help : Unable to see any Host except local Host In-Reply-To: References: Message-ID: <47F36A01.20903@googlemail.com> Pallav.S.Gupta at relianceada.com schrieb: > > I have restarted the nagios service a number of time , still no hopes !!!! Did you uncomment the switch.cfg in nagios.cfg? root at nagios:/etc/nagios# grep switch.cfg . -r cfg_file=/usr/local/nagios/etc/objects/switch.cfg ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 14:42:32 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 Apr 2008 08:42:32 -0400 Subject: Fw: Help : Unable to see any Host except local Host In-Reply-To: References: Message-ID: <47F37F38.6020803@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/04/08 06:36 AM, Pallav.S.Gupta at relianceada.com wrote: > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > doesn't gv any errors . Then make sure all your config files are referenced from nagios.cfg, either with config_file or config_dir directives. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH83846dZ+Kt5BchYRAoMLAJ0UIsxNbSQFMAe0bWMuz9yTI8Z9xQCeNXcc FBD3ljWVwMyGVj7aX/e+Nwk= =Hf2v -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 14:46:48 2008 From: marc at ena.com (Marc Powell) Date: Wed, 2 Apr 2008 07:46:48 -0500 Subject: A fix for EXTREME slowness In-Reply-To: <47F2676B02000048000F902F@inet-wh2.gmhwh.org> References: <47F2676B02000048000F902F@inet-wh2.gmhwh.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cary Petterborg > Sent: Tuesday, April 01, 2008 5:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] A fix for EXTREME slowness > > I'm resending this email because there was not a single response to my > previous email. I have to think that someone else has run into this > problem, and I would like to know what others have done and suggestions > for the implementation of a good fix. We have solved this problem in the > Since the load times were so bad we started looking for the cause. It > became evident that it was the processing of the comments.dat file. We > Are there others who have seen this as a big problem, or is it not a I'd like to suggest that most people don't use the comments feature for long term or extensive storage of notes about hosts and services. Are you sure you're using the right feature of Nagios to accomplish your goal? > typical problem that has been encountered? Have others found a way to > fix this problem other than reducing the number of comments in the > comments file? > > So there seems to be a need to make this information be more a database > type access, rather than a "parse this big file and see what drops out > that we want" access. This could easily be done with a real relational > database, or even a more simple database, to retrieve only the comments > for the host/service desired. We are willing to do the work on this, but > would like it to be incorporated into Nagios code base so that we are > not having to port this functionality on upgrades in the future. This is really what the notes_url feature is for; have you looked at that? No worries about upgrades there and you have the flexibility to store the information any way you like. If you want to optimize the comments code, without using a database (nagios has moved away from that for a number of reasons), I'd suggest subscribing to nagios-devel. Ethan doesn't monitor this list that I am aware of and he's the only one that has any say in what gets added. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.knecht at anyweb.ch Wed Apr 2 15:26:56 2008 From: david.knecht at anyweb.ch (David Knecht) Date: Wed, 02 Apr 2008 15:26:56 +0200 Subject: Nagios plugin to regularly reload Nagios Message-ID: <47F389A0.6060604@anyweb.ch> Hi all I am trying to regularly reload Nagios to activate automatically generated Nagios configuration files. A shell script such as the one on http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=9 might be executed as a cron job to accomplish this. However, I'd like to run this script as a normal Nagios plugin to keep all the tasks configured at the same place. When Nagios executes this plugin, Nagios does get restarted but the plugin does not get rescheduled after "normal_check_interval" minutes. It gets rescheduled after ~"max_service_check_spread"/2 minutes instead... Only the "Nagios reload" plugin is scheduled this way. Any other plugins are scheduled correctly (that is, they retain scheduling information since "use_retained_scheduling_info" is set to "1") I have run the tests on Nagios 3.0.1, 3.0, 3.0rc3 and 2.11. Anyway: How can I correctly reload Nagios using a Nagios plugin? Is there any method besides the above to regularly reload Nagios non-interactively? Is there possibly any other way to regularly activate Nagios configuration files non-interactively? Thanks, David -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3303 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 15:53:42 2008 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 2 Apr 2008 09:53:42 -0400 Subject: mod_rewrite for nagios? Message-ID: <302ce8b50804020653je0c2314qa735c79053fbbbfd@mail.gmail.com> Has anyone attempted any mod_rewrite-fu to provide nagios with cleaner looking urls? Changing the usual nagios.server.com/nagios/extinfo.cgi?&type=4 type url to nagios.server.com/nagios/extinfo/perfdata/server#/ Anyone attempted this? Googling for such mod_rewrite info hasn't yeilded anything useful. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 2 18:49:19 2008 From: low at modog.com (Seth P. Low) Date: Wed, 2 Apr 2008 12:49:19 -0400 Subject: Nagios 3.0.1 Web UI Question - Refreshing a page In-Reply-To: <2b7af7c40804011837l3b6e808cv844c2535bbec89e7@mail.gmail.com> References: <2b7af7c40804011837l3b6e808cv844c2535bbec89e7@mail.gmail.com> Message-ID: <15DE1A7F91855E49A18A487C43846C8B582B308D97@modog2.modog.com> Hi, I have recently fired up 3.0.1 and have a question related to the web UI. I have not seen a solution or workaround posted yet but I have seen the question asked before. Here goes ... In non-3X nagios installs, if you are on a page in the web UI and hit refresh, it refreshes the page. In 3.x hitting F5 takes you back to the home page. That is going to be a hard habit to break for me and a few other admins I have spoken with. First off, are there plans to modify this behavior going forward and, if not, does anyone have any workarounds or fixes at this time? Thanks, -Seth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Wed Apr 2 18:54:54 2008 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Wed, 2 Apr 2008 17:54:54 +0100 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 02/04/2008. End Date: 18/04/2008. Thank you for your mail. I am currently away from the office, returning on 18th April If you need a fault escalating please call the service desk on 0038696 (0870 241 5500) with the case reference and ask for Martina Nicholson who has overall responsibility for the Service Desk ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Apr 2 19:40:57 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 2 Apr 2008 13:40:57 -0400 Subject: Nagios 3.0.1 Web UI Question - Refreshing a page In-Reply-To: <15DE1A7F91855E49A18A487C43846C8B582B308D97@modog2.modog.com> References: <15DE1A7F91855E49A18A487C43846C8B582B308D97@modog2.modog.com> Message-ID: You know, this happened to me when I first started playing with Nagios 3 while also running Nagios 2. I can't remember the exact problem, but I think it was somewhere in the Apache config I was using. Like maybe that I using an inconsistent "ServerName" in the Apache configuration or something like that. Once I fixed things in Apache things worked as they did under Nagios 2. So as far as I know this is not a "feature" of Nagios 3. Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Seth P. Low Sent: Wednesday, April 02, 2008 12:49 PM To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios 3.0.1 Web UI Question - Refreshing a page Hi, I have recently fired up 3.0.1 and have a question related to the web UI. I have not seen a solution or workaround posted yet but I have seen the question asked before. Here goes ... In non-3X nagios installs, if you are on a page in the web UI and hit refresh, it refreshes the page. In 3.x hitting F5 takes you back to the home page. That is going to be a hard habit to break for me and a few other admins I have spoken with. First off, are there plans to modify this behavior going forward and, if not, does anyone have any workarounds or fixes at this time? Thanks, -Seth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 19:57:46 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 2 Apr 2008 09:57:46 -0800 Subject: Nagios 3 status map options? Message-ID: <291D3C0B-BF5A-4A27-8186-51E82A7C30FB@frontierflying.com> I have been using Nexsm with nagios 2 for some time now, and have been reasonably happy with it. Unfortunately, I now want to update to nagios 3 for a number of reasons, but Nexsm doesn't support Nagios 3 and the developer says he probably won't have time to update it for a while. Therefore, I am wondering what alternatives might be out there that do work with Nagios 3? I tried Nagvis a while ago (while still on 2, haven't tried the latest version or on 3), but it proved to be too much of a pain to get configured the way I needed, as I would have had to add each host and link between hosts manually, as well as the fact that at least with the version I was using, the only way to move a host was to edit the coordinates manually. So what other good and relatively easy to configure options are there? Thanks for any suggestions! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kkrickar at iupui.edu Wed Apr 2 22:56:00 2008 From: kkrickar at iupui.edu (Kevin Rickard) Date: Wed, 02 Apr 2008 16:56:00 -0400 Subject: Windows server Message-ID: <47F3F2E0.9090501@iupui.edu> Hi, I am relatively new to nagios so here goes. I have nagios 3 install on ubuntu server 7.10, I do not have any nagios plug-ins installed. I added my windows servers (server 2003) to the windows.cfg file. It is able to ping the servers, however, I am getting a connection refused for all the service checks. What do I need to do to be able to check these services? Do I need to install a plug-in or do something to the windows server? Thanks -Kevin ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Wed Apr 2 23:14:47 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 2 Apr 2008 17:14:47 -0400 Subject: Windows server In-Reply-To: <47F3F2E0.9090501@iupui.edu> References: <47F3F2E0.9090501@iupui.edu> Message-ID: <13F36D2926AD444697093282F20041B706FE7D66@buf-ex01.cymfony.com> You need to install and configure the agent on the Windows server. http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Rickard Sent: Wednesday, April 02, 2008 4:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Windows server Hi, I am relatively new to nagios so here goes. I have nagios 3 install on ubuntu server 7.10, I do not have any nagios plug-ins installed. I added my windows servers (server 2003) to the windows.cfg file. It is able to ping the servers, however, I am getting a connection refused for all the service checks. What do I need to do to be able to check these services? Do I need to install a plug-in or do something to the windows server? Thanks -Kevin ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 23:35:43 2008 From: marc at ena.com (Marc Powell) Date: Wed, 2 Apr 2008 16:35:43 -0500 Subject: Windows server In-Reply-To: <47F3F2E0.9090501@iupui.edu> References: <47F3F2E0.9090501@iupui.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kevin Rickard > Sent: Wednesday, April 02, 2008 3:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Windows server > > Hi, > > I am relatively new to nagios so here goes. > > I have nagios 3 install on ubuntu server 7.10, I do not have any nagios > plug-ins installed. I added my windows servers (server 2003) to the > windows.cfg file. It is able to ping the servers, however, I am getting Nagios won't check anything without plugins so it seems that you have at least some installed if you can get nagios to successfully ping a server. At the very least you should install the standard plugins package. > a connection refused for all the service checks. > > What do I need to do to be able to check these services? Do I need to > install a plug-in or do something to the windows server? What services are you checking and how are you checking them (i.e service and command definitions)? Are you sure that they're available the way you're trying to check them (i.e. try running the check command from the command line as the nagios user to be sure it returns the results you expect). -- Marc. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at MIT.EDU Thu Apr 3 00:26:02 2008 From: scott at MIT.EDU (Scott R. Ehrlich) Date: Wed, 2 Apr 2008 18:26:02 -0400 (EDT) Subject: Need help with nrpe Message-ID: I have some Dell PowerEdge Linux servers that I want to monitor with nrpe. I've installed nrpe daemon on the servers, and nrpe client on my nagios station, which is a simple low-end desktop. I've configured nrpe enough that nagios at least presents me with a service line on the server that the service has returned a response it cannot handle - not an error, but more of a null. I'm trying to get some perl scripts from nagiosexchange to be utilized. I am able to run the scripts fine from the command line and see their details, but having problems figuring out how to properly configure nagios to get me the results properly. I've got the OpenManage scripts, along with some basic Dell Hardware ones. Beyond this, I may implement similar configurations on non Dell hardware, so getting it working here can lead me to configurations in a more flexible environment. I happen to be using CentOS 5 and RHEL 5, all out-of-box, all items from CDs installed, no updates applied. Thanks for any insights. Scott ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 01:33:24 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 03 Apr 2008 01:33:24 +0200 Subject: Help : Unable to see any Host except local Host In-Reply-To: References: Message-ID: <47F417C4.8090709@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pallav.S.Gupta at relianceada.com wrote: | | Yes I tried that........do i need to install some addons to see my | switches ? You need to go over the manual. Read it at least once from cover to cover. Then you can ask specific questions and avoid the generic "I have not read the manual" type of questions. 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) iD8DBQFH9BfCBvzDRVjxmYERAj1WAJ9K2y7UTEHrd11UyLfJqdTD0wNOqACcDrhA vqhscdUPMjpuIGyrwBXAsP0= =G6fC -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 09:21:38 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 3 Apr 2008 12:51:38 +0530 Subject: return code of 127 is out of bounds -plugin may be missing Message-ID: Hi All While looking thru the service for one device I am getting the error "return code of 127 is out of bounds -plugin may be missing" , the device is a switch and I am looking at the details port 1. Pls help. 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 10:26:00 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 08:26:00 +0000 Subject: Help : Unable to see any Host except local Host In-Reply-To: <47F417C4.8090709@vanderkooij.org> References: <47F417C4.8090709@vanderkooij.org> Message-ID: <4b008f7d0804030126h5a2be7f7q5e0542e02d72d2c3@mail.gmail.com> You have to create host and related services for those host before nagios will be able to monitor them. Please read the manual on how to create host and services. On Wed, Apr 2, 2008 at 11:33 PM, Hugo van der Kooij < hvdkooij at vanderkooij.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pallav.S.Gupta at relianceada.com wrote: > | > | Yes I tried that........do i need to install some addons to see my > | switches ? > > You need to go over the manual. Read it at least once from cover to > cover. Then you can ask specific questions and avoid the generic "I have > not read the manual" type of questions. > > 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) > > iD8DBQFH9BfCBvzDRVjxmYERAj1WAJ9K2y7UTEHrd11UyLfJqdTD0wNOqACcDrhA > vqhscdUPMjpuIGyrwBXAsP0= > =G6fC > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 10:27:49 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 08:27:49 +0000 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: References: Message-ID: <4b008f7d0804030127r702af2ebq81376b5639275201@mail.gmail.com> Which plugin are you using to monitor this host? On Thu, Apr 3, 2008 at 7:21 AM, wrote: > > Hi All > > While looking thru the service for one device I am getting the error > "return code of 127 is out of bounds -plugin may be missing" , the device is > a switch and I am looking at the details port 1. > > Pls help. > > > > > > 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Thu Apr 3 10:28:38 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Thu, 3 Apr 2008 09:28:38 +0100 Subject: Nagios External Commands Message-ID: HI there, I'm having some issues with Nagios External commands. Basically, they're not working. I've compiled Nagios with cmdgroup=nagcmd, added Nagios and apache users to the nagcmd group. I can see the commands being written to Nagios.cmd in /opt/nagio/var/rw/ however they don't go anywhere from there... The relevant lines in my Nagios.cfg file looks like this: check_external_commands=1 command_check_interval=30s command_file=/opt/nagios/var/rw/nagios.cmd downtime_file=/opt/nagios/var/downtime.dat comment_file=/opt/nagios/var/comments.dat The permissions on the folder look like this: drwxrwsr-x 2 nagios nagcmd 4096 Apr 2 16:42 . -rw-r--r-- 1 apache nagcmd 249 Apr 2 16:45 nagios.cmd Any ideas what it could be? Cheers Gavin ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguilbaud+nagios at gmail.com Thu Apr 3 10:41:28 2008 From: sguilbaud+nagios at gmail.com (seb) Date: Thu, 3 Apr 2008 10:41:28 +0200 Subject: Relaunch of NagiosExchange.org In-Reply-To: References: Message-ID: <28cea030804030141xeaf86ccx361b90173fdb4bef@mail.gmail.com> > The previous projects and users are completely imported and we will > recategorize the projects in the near future. > Now there is a newsletter you can subscribe to and wich will inform you > about changes in the selected categories. RSS was nice for this task, but this function seems to have vanished ? > We hope you enjoy the new style and performance at > http://www.nagiosexchange.org wow... pretty style and great performance, thanks !!! -- S?bastien Guilbaud ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duncan.ferguson at altinity.com Thu Apr 3 10:41:33 2008 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Thu, 3 Apr 2008 09:41:33 +0100 Subject: Nagios External Commands In-Reply-To: References: Message-ID: On 3 Apr 2008, at 09:28, Gavin Williams wrote: > > I?m having some issues with Nagios External commands. > Basically, they?re not working. > > I?ve compiled Nagios with cmdgroup=nagcmd, added Nagios and apache > users to the nagcmd group. > I can see the commands being written to Nagios.cmd in /opt/nagio/var/ > rw/ however they don?t go anywhere from there? > Commands can be ignored due to an invalid format. The format is === [epoch time] command;arg1;arg2;arg3 === [1207211861] ENABLE_HOST_NOTIFICATIONS;hostname === Commands can also be ignored if the args don't match what nagios knows about, i.e. invalid/non-existant hostname in this case http://nagios.sourceforge.net/docs/2_0/extcommands.html and http://www.nagios.org/developerinfo/externalcommands/commandlist.php have more info (if you haven't seen them already). Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 10:45:34 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 3 Apr 2008 14:15:34 +0530 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: <4b008f7d0804030127r702af2ebq81376b5639275201@mail.gmail.com> References: <4b008f7d0804030127r702af2ebq81376b5639275201@mail.gmail.com> Message-ID: Alex nagios plugin 1.4.11 Is it the correct version, else which one to use "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 01:57 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing Which plugin are you using to monitor this host? On Thu, Apr 3, 2008 at 7:21 AM, wrote: Hi All While looking thru the service for one device I am getting the error "return code of 127 is out of bounds -plugin may be missing" , the device is a switch and I am looking at the details port 1. Pls help. 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Apr 3 10:46:43 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 03 Apr 2008 10:46:43 +0200 Subject: Nagios External Commands In-Reply-To: References: Message-ID: <47F49973.10100@ederdrom.de> Gavin Williams schrieb: > HI there, > > > > I'm having some issues with Nagios External commands. > > Basically, they're not working. > > > I've compiled Nagios with cmdgroup=nagcmd, added Nagios and apache users > to the nagcmd group. > > I can see the commands being written to Nagios.cmd in /opt/nagio/var/rw/ > however they don't go anywhere from there... > > > > The relevant lines in my Nagios.cfg file looks like this: > > check_external_commands=1 > > command_check_interval=30s > > command_file=/opt/nagios/var/rw/nagios.cmd > > downtime_file=/opt/nagios/var/downtime.dat > > comment_file=/opt/nagios/var/comments.dat > > > > The permissions on the folder look like this: > > drwxrwsr-x 2 nagios nagcmd 4096 Apr 2 16:42 . > > -rw-r--r-- 1 apache nagcmd 249 Apr 2 16:45 nagios.cmd Your nagios.cmd is a regular file and _not_ a named pipe. This file is not created by nagios! Please delete this file and do a nagios restart. The pipe should be created automaticaly. J?rg ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 10:47:14 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 08:47:14 +0000 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: References: <4b008f7d0804030127r702af2ebq81376b5639275201@mail.gmail.com> Message-ID: <4b008f7d0804030147y47090f2bj2a7a8da2d746c67@mail.gmail.com> I mean which exact plugin is giving you this error i.e. ./check_tcp? which plugin? On Thu, Apr 3, 2008 at 8:45 AM, wrote: > > Alex > > > nagios plugin 1.4.11 > Is it the correct version, else which one to use > > > > > *"Alex Dehaini" * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 04/03/2008 01:57 PM > To > Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < > nagios-users at lists.sourceforge.net>cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > Which plugin are you using to monitor this host? > > On Thu, Apr 3, 2008 at 7:21 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Hi All > > While looking thru the service for one device I am getting the error > "return code of 127 is out of bounds -plugin may be missing" , the device is > a switch and I am looking at the details port 1. > > Pls help. > > > > > > 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > * > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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* > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > -- 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: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 10:53:43 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 3 Apr 2008 14:23:43 +0530 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: <4b008f7d0804030147y47090f2bj2a7a8da2d746c67@mail.gmail.com> References: <4b008f7d0804030147y47090f2bj2a7a8da2d746c67@mail.gmail.com> Message-ID: Alex the plugin is check_snmp "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:17 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing I mean which exact plugin is giving you this error i.e. ./check_tcp? which plugin? On Thu, Apr 3, 2008 at 8:45 AM, wrote: Alex nagios plugin 1.4.11 Is it the correct version, else which one to use "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 01:57 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < nagios-users at lists.sourceforge.net> cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing Which plugin are you using to monitor this host? On Thu, Apr 3, 2008 at 7:21 AM, wrote: Hi All While looking thru the service for one device I am getting the error "return code of 127 is out of bounds -plugin may be missing" , the device is a switch and I am looking at the details port 1. Pls help. 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Thu Apr 3 10:57:47 2008 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Thu, 3 Apr 2008 10:57:47 +0200 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: References: <4b008f7d0804030147y47090f2bj2a7a8da2d746c67@mail.gmail.com> Message-ID: <53317ec10804030157j2d304e36r3fe4690fa58e9e5f@mail.gmail.com> did you installed net_snmp before compiling pluggins? look in the libexec subfolder if you have check_snmp... if you installed nagios in /usr/local/nagios it should be in /usr/local/nagios/libexec if you didn?t installed net-snmp before you should do it and recompile pluggins 2008/4/3, Pallav.S.Gupta at relianceada.com : > > > Alex > > the plugin is check_snmp > > > > > *"Alex Dehaini" * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 04/03/2008 02:17 PM > To > Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < > nagios-users at lists.sourceforge.net> cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > I mean which exact plugin is giving you this error i.e. ./check_tcp? which > plugin? > > On Thu, Apr 3, 2008 at 8:45 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Alex > > > nagios plugin 1.4.11 > Is it the correct version, else which one to use > > > > *"Alex Dehaini" <**alexdehaini at gmail.com* *>* > Sent by: *nagios-users-bounces at lists.sourceforge.net* > > 04/03/2008 01:57 PM > > To > *Pallav.S.Gupta at relianceada.com* , "Nagios > Users Mailinglist" <*nagios-users at lists.sourceforge.net* > > cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > > > Which plugin are you using to monitor this host? > > On Thu, Apr 3, 2008 at 7:21 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Hi All > > While looking thru the service for one device I am getting the error > "return code of 127 is out of bounds -plugin may be missing" , the device is > a switch and I am looking at the details port 1. > > Pls help. > > > > > > 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > * > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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* > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > * > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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. > > > > -- > Alex Dehaini > Developer > Site - *www.alexdehaini.com* > Email - *alexdehaini at gmail.com* > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 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 -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 11:01:24 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 09:01:24 +0000 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: References: <4b008f7d0804030147y47090f2bj2a7a8da2d746c67@mail.gmail.com> Message-ID: <4b008f7d0804030201k206e082cl9e41322aa5496a87@mail.gmail.com> okay - it means that you haven't installed net-snmp or your community string is wrong. Have you installed net-snmp? How are you using check_snmp. Show us your command file for ./check_snmp On Thu, Apr 3, 2008 at 8:53 AM, wrote: > > Alex > > the plugin is check_snmp > > > > > *"Alex Dehaini" * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 04/03/2008 02:17 PM > To > Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < > nagios-users at lists.sourceforge.net>cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > I mean which exact plugin is giving you this error i.e. ./check_tcp? which > plugin? > > On Thu, Apr 3, 2008 at 8:45 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Alex > > > nagios plugin 1.4.11 > Is it the correct version, else which one to use > > > > *"Alex Dehaini" <**alexdehaini at gmail.com* *>* > Sent by: *nagios-users-bounces at lists.sourceforge.net* > > 04/03/2008 01:57 PM > > To > *Pallav.S.Gupta at relianceada.com* , "Nagios > Users Mailinglist" <*nagios-users at lists.sourceforge.net* > >cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > > > Which plugin are you using to monitor this host? > > On Thu, Apr 3, 2008 at 7:21 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Hi All > > While looking thru the service for one device I am getting the error > "return code of 127 is out of bounds -plugin may be missing" , the device is > a switch and I am looking at the details port 1. > > Pls help. > > > > > > 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > * > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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* > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > * > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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. > > > > -- > Alex Dehaini > Developer > Site - *www.alexdehaini.com* > Email - *alexdehaini at gmail.com* > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > > -- 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: 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 -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 11:13:52 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 3 Apr 2008 14:43:52 +0530 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: <4b008f7d0804030201k206e082cl9e41322aa5496a87@mail.gmail.com> References: <4b008f7d0804030201k206e082cl9e41322aa5496a87@mail.gmail.com> Message-ID: Alex My community string is correct , have check with switch , but i haven't installed net snmp , From where can i get this ? "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:31 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing okay - it means that you haven't installed net-snmp or your community string is wrong. Have you installed net-snmp? How are you using check_snmp. Show us your command file for ./check_snmp On Thu, Apr 3, 2008 at 8:53 AM, wrote: Alex the plugin is check_snmp "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:17 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < nagios-users at lists.sourceforge.net> cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing I mean which exact plugin is giving you this error i.e. ./check_tcp? which plugin? On Thu, Apr 3, 2008 at 8:45 AM, wrote: Alex nagios plugin 1.4.11 Is it the correct version, else which one to use "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 01:57 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < nagios-users at lists.sourceforge.net> cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing Which plugin are you using to monitor this host? On Thu, Apr 3, 2008 at 7:21 AM, wrote: Hi All While looking thru the service for one device I am getting the error "return code of 127 is out of bounds -plugin may be missing" , the device is a switch and I am looking at the details port 1. Pls help. 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 11:14:23 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 09:14:23 +0000 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: <53317ec10804030157j2d304e36r3fe4690fa58e9e5f@mail.gmail.com> References: <4b008f7d0804030147y47090f2bj2a7a8da2d746c67@mail.gmail.com> <53317ec10804030157j2d304e36r3fe4690fa58e9e5f@mail.gmail.com> Message-ID: <4b008f7d0804030214o1695c6aex3ed3c402eebbb0c4@mail.gmail.com> Pili is correct. You have to install net-snmp before you compile nagios plugins On Thu, Apr 3, 2008 at 8:57 AM, Pili Mu?oz Gargallo wrote: > did you installed net_snmp before compiling pluggins? > look in the libexec subfolder if you have check_snmp... if you installed > nagios in /usr/local/nagios it should be in /usr/local/nagios/libexec > if you didn?t installed net-snmp before you should do it and recompile > pluggins > > > 2008/4/3, Pallav.S.Gupta at relianceada.com : > > > > > Alex > > > > the plugin is check_snmp > > > > > > > > > > *"Alex Dehaini" * > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > 04/03/2008 02:17 PM > > To > > Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < > > nagios-users at lists.sourceforge.net> cc > > Subject > > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > > be missing > > > > > > > > > > I mean which exact plugin is giving you this error i.e. ./check_tcp? > > which plugin? > > > > On Thu, Apr 3, 2008 at 8:45 AM, <*Pallav.S.Gupta at relianceada.com*> > > wrote: > > > > Alex > > > > > > nagios plugin 1.4.11 > > Is it the correct version, else which one to use > > > > > > > > *"Alex Dehaini" <**alexdehaini at gmail.com* *>* > > Sent by: *nagios-users-bounces at lists.sourceforge.net* > > > > 04/03/2008 01:57 PM > > > > To > > *Pallav.S.Gupta at relianceada.com* , > > "Nagios Users Mailinglist" <*nagios-users at lists.sourceforge.net* > > > cc > > Subject > > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > > be missing > > > > > > > > > > > > > > Which plugin are you using to monitor this host? > > > > On Thu, Apr 3, 2008 at 7:21 AM, <*Pallav.S.Gupta at relianceada.com*> > > wrote: > > > > Hi All > > > > While looking thru the service for one device I am getting the error > > "return code of 127 is out of bounds -plugin may be missing" , the device is > > a switch and I am looking at the details port 1. > > > > Pls help. > > > > > > > > > > > > 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. > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source.* > > ** > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > * > > _______________________________________________ > > Nagios-users mailing list* > > **Nagios-users at lists.sourceforge.net* > > * > > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > > ::: 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* > > ------------------------------------------------------------------------- > > > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source.* > > ** > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > > * > > Nagios-users mailing list* > > **Nagios-users at lists.sourceforge.net* > > * > > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > > ::: 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. > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - *www.alexdehaini.com* > > Email - *alexdehaini at gmail.com* > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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. > > > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 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 -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 11:19:35 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 09:19:35 +0000 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: References: <4b008f7d0804030201k206e082cl9e41322aa5496a87@mail.gmail.com> Message-ID: <4b008f7d0804030219p17f7e9aaw914a2fbede7f1e76@mail.gmail.com> You can get it from net-snmp.sourceforge.net Depends on the linux distro you are using. If you are using debian and you are connected to the internet you can use apt to search for net-snmp. Use this command to search for all snmp libraries you need to install using debian or ubuntu apt-cache search snmp select the packages you wish to install and install them using apt-get install package1 package 2 package 3 etc If you are using centos or redhat, you can use yum or the redhat/centos cd to install net-snmp yum install net-snmp Alex On Thu, Apr 3, 2008 at 9:13 AM, wrote: > > Alex > > My community string is correct , have check with switch , but i haven't > installed net snmp , From where can i get this ? > > > > > > > *"Alex Dehaini" * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 04/03/2008 02:31 PM > To > Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < > nagios-users at lists.sourceforge.net>cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > okay - it means that you haven't installed net-snmp or your community > string is wrong. Have you installed net-snmp? > > How are you using check_snmp. Show us your command file for ./check_snmp > > On Thu, Apr 3, 2008 at 8:53 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Alex > > the plugin is check_snmp > > > > *"Alex Dehaini" <**alexdehaini at gmail.com* *>* > Sent by: *nagios-users-bounces at lists.sourceforge.net* > > 04/03/2008 02:17 PM > > To > *Pallav.S.Gupta at relianceada.com* , "Nagios > Users Mailinglist" <*nagios-users at lists.sourceforge.net* > >cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > > > I mean which exact plugin is giving you this error i.e. ./check_tcp? which > plugin? > > On Thu, Apr 3, 2008 at 8:45 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Alex > > > nagios plugin 1.4.11 > Is it the correct version, else which one to use > > > *"Alex Dehaini" <**alexdehaini at gmail.com* *>* > Sent by: *nagios-users-bounces at lists.sourceforge.net* > > 04/03/2008 01:57 PM > > To > *Pallav.S.Gupta at relianceada.com* , "Nagios > Users Mailinglist" <*nagios-users at lists.sourceforge.net* > >cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > > > > > Which plugin are you using to monitor this host? > > On Thu, Apr 3, 2008 at 7:21 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Hi All > > While looking thru the service for one device I am getting the error > "return code of 127 is out of bounds -plugin may be missing" , the device is > a switch and I am looking at the details port 1. > > Pls help. > > > > > > 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > * > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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* > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > * > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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. > > > > -- > Alex Dehaini > Developer > Site - *www.alexdehaini.com* > Email - *alexdehaini at gmail.com* > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > * > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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. > > > > > -- > Alex Dehaini > Developer > Site - *www.alexdehaini.com* > Email - *alexdehaini at gmail.com* > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > > -- 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: 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 -------------- 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 11:21:18 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 09:21:18 +0000 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: References: <4b008f7d0804030214o1695c6aex3ed3c402eebbb0c4@mail.gmail.com> Message-ID: <4b008f7d0804030221r26cac05x19bd9e6c2e08a90d@mail.gmail.com> Read my last mail to you. It depends on the linux distro you are using. What linux distro are you using? On Thu, Apr 3, 2008 at 9:18 AM, wrote: > > Alex/Pili > > How to install that !! > > > > > > *"Alex Dehaini" * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 04/03/2008 02:44 PM > To > "Pili Mu?oz Gargallo" , "Nagios Users Mailinglist" > > cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > Pili is correct. You have to install net-snmp before you compile nagios > plugins > > On Thu, Apr 3, 2008 at 8:57 AM, Pili Mu?oz Gargallo <* > mugnoz.pilar at gmail.com* > wrote: > did you installed net_snmp before compiling pluggins? > look in the libexec subfolder if you have check_snmp... if you installed > nagios in /usr/local/nagios it should be in /usr/local/nagios/libexec > if you didn?t installed net-snmp before you should do it and recompile > pluggins > > > 2008/4/3, *Pallav.S.Gupta at relianceada.com* > <*Pallav.S.Gupta at relianceada.com* >: > > Alex > > the plugin is check_snmp > > > > *"Alex Dehaini" <**alexdehaini at gmail.com* *>* > Sent by: *nagios-users-bounces at lists.sourceforge.net* > > 04/03/2008 02:17 PM > > To > *Pallav.S.Gupta at relianceada.com* , "Nagios > Users Mailinglist" <*nagios-users at lists.sourceforge.net* > >cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > > I mean which exact plugin is giving you this error i.e. ./check_tcp? which > plugin? > > On Thu, Apr 3, 2008 at 8:45 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Alex > > > nagios plugin 1.4.11 > Is it the correct version, else which one to use > > > *"Alex Dehaini" <**alexdehaini at gmail.com* *>* > Sent by: *nagios-users-bounces at lists.sourceforge.net* > > 04/03/2008 01:57 PM > > To > *Pallav.S.Gupta at relianceada.com* , "Nagios > Users Mailinglist" <*nagios-users at lists.sourceforge.net* > >cc > Subject > Re: [Nagios-users] return code of 127 is out of bounds -plugin may > be missing > > > > > > > > Which plugin are you using to monitor this host? > > On Thu, Apr 3, 2008 at 7:21 AM, <*Pallav.S.Gupta at relianceada.com*> > wrote: > > Hi All > > While looking thru the service for one device I am getting the error > "return code of 127 is out of bounds -plugin may be missing" , the device is > a switch and I am looking at the details port 1. > > Pls help. > > > > > > 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. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > * > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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* > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > * > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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. > > > > -- > Alex Dehaini > Developer > Site - *www.alexdehaini.com* > Email - *alexdehaini at gmail.com* > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > * > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > * > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source.* > ** > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > * > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: 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* > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > > -- 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: 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 -------------- 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 11:23:24 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 3 Apr 2008 14:53:24 +0530 Subject: return code of 127 is out of bounds -plugin may be missing In-Reply-To: <4b008f7d0804030219p17f7e9aaw914a2fbede7f1e76@mail.gmail.com> References: <4b008f7d0804030219p17f7e9aaw914a2fbede7f1e76@mail.gmail.com> Message-ID: thanks alex , I am using Ubuntu 7.10 , will try , appreciate your help. "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:49 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing You can get it from net-snmp.sourceforge.net Depends on the linux distro you are using. If you are using debian and you are connected to the internet you can use apt to search for net-snmp. Use this command to search for all snmp libraries you need to install using debian or ubuntu apt-cache search snmp select the packages you wish to install and install them using apt-get install package1 package 2 package 3 etc If you are using centos or redhat, you can use yum or the redhat/centos cd to install net-snmp yum install net-snmp Alex On Thu, Apr 3, 2008 at 9:13 AM, wrote: Alex My community string is correct , have check with switch , but i haven't installed net snmp , From where can i get this ? "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:31 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < nagios-users at lists.sourceforge.net> cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing okay - it means that you haven't installed net-snmp or your community string is wrong. Have you installed net-snmp? How are you using check_snmp. Show us your command file for ./check_snmp On Thu, Apr 3, 2008 at 8:53 AM, wrote: Alex the plugin is check_snmp "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:17 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < nagios-users at lists.sourceforge.net> cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing I mean which exact plugin is giving you this error i.e. ./check_tcp? which plugin? On Thu, Apr 3, 2008 at 8:45 AM, wrote: Alex nagios plugin 1.4.11 Is it the correct version, else which one to use "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 01:57 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" < nagios-users at lists.sourceforge.net> cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may be missing Which plugin are you using to monitor this host? On Thu, Apr 3, 2008 at 7:21 AM, wrote: Hi All While looking thru the service for one device I am getting the error "return code of 127 is out of bounds -plugin may be missing" , the device is a switch and I am looking at the details port 1. Pls help. 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- 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 -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6675 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Thu Apr 3 11:23:30 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 3 Apr 2008 11:23:30 +0200 Subject: return code of 127 is out of bounds -plugin maybe missing In-Reply-To: <4b008f7d0804030221r26cac05x19bd9e6c2e08a90d@mail.gmail.com> References: <4b008f7d0804030214o1695c6aex3ed3c402eebbb0c4@mail.gmail.com> <4b008f7d0804030221r26cac05x19bd9e6c2e08a90d@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9C22@hermes.sapphire-int.gi> This would best be covered by the Support channels for Net-SNMP (if installing from source), or your Operating System support channels. It is not really a Nagios issue, simply a pre-requisite for check_snmp. ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini Sent: 03 April 2008 11:21 To: Pallav.S.Gupta at relianceada.com; Nagios Users Mailinglist Subject: Re: [Nagios-users] return code of 127 is out of bounds -plugin maybe missing Read my last mail to you. It depends on the linux distro you are using. What linux distro are you using? On Thu, Apr 3, 2008 at 9:18 AM, wrote: Alex/Pili How to install that !! "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:44 PM To "Pili Mu?oz Gargallo" , "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may ? ? ? ?be missing Pili is correct. You have to install net-snmp before you compile nagios plugins On Thu, Apr 3, 2008 at 8:57 AM, Pili Mu?oz Gargallo wrote: did you installed net_snmp before compiling pluggins? look in the libexec subfolder if you have check_snmp... if you installed nagios in /usr/local/nagios it should be in /usr/local/nagios/libexec if you didn?t installed net-snmp before you should do it and recompile pluggins 2008/4/3, Pallav.S.Gupta at relianceada.com: Alex the plugin is check_snmp "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 02:17 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may ? ? ? ?be missing I mean which exact plugin is giving you this error i.e. ./check_tcp? which plugin? On Thu, Apr 3, 2008 at 8:45 AM, wrote: Alex nagios plugin 1.4.11 Is it the correct version, else which one to use "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/03/2008 01:57 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] return code of 127 is out of bounds -plugin may ? ? ? ?be missing Which plugin are you using to monitor this host? On Thu, Apr 3, 2008 at 7:21 AM, wrote: Hi All While looking thru the service for one device I am getting the error "return code of 127 is out of bounds -plugin may be missing" , the device is a switch and I am looking at the details port 1. Pls help. 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Thu Apr 3 11:31:01 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Thu, 3 Apr 2008 10:31:01 +0100 Subject: Nagios External Commands References: <47F49973.10100@ederdrom.de> <47F49E2E.3060104@ederdrom.de> Message-ID: Problem resolved. Regards Gavin -----Original Message----- From: Joerg Linge [mailto:pitchfork at ederdrom.de] Sent: 03 April 2008 10:07 To: Gavin Williams Subject: Re: [Nagios-users] Nagios External Commands Gavin Williams schrieb: > Jorg, > > Cheers for that. Something as simple as that. Good problem report needs less time to solve ;-) Can you please reply to the list to mark your Problem solved? J?rg ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.streb at netways.de Thu Apr 3 12:28:51 2008 From: michael.streb at netways.de (Michael Streb) Date: Thu, 03 Apr 2008 12:28:51 +0200 Subject: Relaunch of NagiosExchange.org In-Reply-To: <28cea030804030141xeaf86ccx361b90173fdb4bef@mail.gmail.com> References: <28cea030804030141xeaf86ccx361b90173fdb4bef@mail.gmail.com> Message-ID: The RSS feed will come back in a few days, so stay tuned. Regards, Michael Am 03.04.08 10:41 schrieb "seb" unter : >> The previous projects and users are completely imported and we will >> recategorize the projects in the near future. >> Now there is a newsletter you can subscribe to and wich will inform you >> about changes in the selected categories. > > RSS was nice for this task, but this function seems to have vanished ? > >> We hope you enjoy the new style and performance at >> http://www.nagiosexchange.org > > wow... pretty style and great performance, thanks !!! > > -- > S?bastien Guilbaud > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Streb Senior Consultant NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 GF: Julian Hein | AG N?rnberg HRB18461 http://www.netways.de | michael.streb at netways.de ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 12:35:30 2008 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Thu, 03 Apr 2008 12:35:30 +0200 Subject: Relaunch of NagiosExchange.org In-Reply-To: References: Message-ID: <20080403.miN.34596800@www.zarrelli.org> Hi, I checked the download links for nuovola style icon pack and both were broken. Giorgio Michael Streb (michael.streb at netways.de) scritto: > > The RSS feed will come back in a few days, so stay tuned. > > Regards, > > Michael > > > Am 03.04.08 10:41 schrieb "seb" unter : > > >> The previous projects and users are completely imported and we will > >> recategorize the projects in the near future. > >> Now there is a newsletter you can subscribe to and wich will inform you > >> about changes in the selected categories. > > > > RSS was nice for this task, but this function seems to have vanished ? > > > >> We hope you enjoy the new style and performance at > >> http://www.nagiosexchange.org > > > > wow... pretty style and great performance, thanks !!! > > > > -- > > S?bastien Guilbaud > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Michael Streb > Senior Consultant > > NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > GF: Julian Hein | AG N?rnberg HRB18461 > > http://www.netways.de | michael.streb at netways.de > > ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.streb at netways.de Thu Apr 3 13:33:15 2008 From: michael.streb at netways.de (Michael Streb) Date: Thu, 03 Apr 2008 13:33:15 +0200 Subject: Relaunch of NagiosExchange.org In-Reply-To: <20080403.miN.34596800@www.zarrelli.org> References: <20080403.miN.34596800@www.zarrelli.org> Message-ID: Hi, Please submit broken links via the nagiosexchange.org->contact interface. Thanks, Michael Am 03.04.08 12:35 schrieb "Giorgio Zarrelli" unter : > Hi, > > I checked the download links for nuovola style icon pack and both were broken. > > Giorgio > > Michael Streb (michael.streb at netways.de) scritto: >> >> The RSS feed will come back in a few days, so stay tuned. >> >> Regards, >> >> Michael >> >> >> Am 03.04.08 10:41 schrieb "seb" unter : >> >>>> The previous projects and users are completely imported and we will >>>> recategorize the projects in the near future. >>>> Now there is a newsletter you can subscribe to and wich will inform you >>>> about changes in the selected categories. >>> >>> RSS was nice for this task, but this function seems to have vanished ? >>> >>>> We hope you enjoy the new style and performance at >>>> http://www.nagiosexchange.org >>> >>> wow... pretty style and great performance, thanks !!! >>> >>> -- >>> S?bastien Guilbaud >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> -- >> Michael Streb >> Senior Consultant >> >> NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg >> Tel: +49 911 92885-0 | Fax: +49 911 92885-77 >> GF: Julian Hein | AG N?rnberg HRB18461 >> >> http://www.netways.de | michael.streb at netways.de >> >> ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > -- Michael Streb Senior Consultant NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N?rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 GF: Julian Hein | AG N?rnberg HRB18461 http://www.netways.de | michael.streb at netways.de ** NETWAYS Nagios Konferenz 2008 - http://www.nagioskonferenz.de ** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Thu Apr 3 13:58:59 2008 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 3 Apr 2008 13:58:59 +0200 Subject: check_logfiles retaining state information Message-ID: Hi All! I am trying to implement check_logfiles and it is not behaving the way I expect and I was hoping that someone might be able to help . My config-file looks like this: $seekfilesdir = '/var/tmp'; $protocolsdir = '/var/tmp'; @logs = ( { tag => 'jimmo', logfile => '/tmp/messages', criticalpatterns => [ 'Handling the connection'], }, ); If I copy /var/log/messages to /tmp/messages and then run /usr/local/nagios/libexec/check_logfiles -v -f /tmp/jimmo_somelogfiles.cfg I get the output that I expect: CRITICAL - (5293 errors in jimmo_somelogfiles.protocol-2008-04-03-13-38-58) - Apr 3 13:38:42 nts-mgm-17 nsca[327]: Handling the connection... ...|jimmo_lines=33772 jimmo_warnings=0 jimmo_criticals=5293 jimmo_unknowns=0 If I run the command again it finds nothing, which I expect. If I delete the seek and protocol files in /var/tmp, I would expect that that script starts over. It has no information about the state, so it must logically start over from the beginning of the file. However, it doesn't and I get: OK - no errors or warnings|jimmo_lines=0 jimmo_warnings=0 jimmo_criticals=0 jimmo_unknowns=0 If I add lines with 'Handling the connection' to /tmp/messages and run check_logfiles again, it finds the lines I just added. If I remove /tmp/messages and re-create after deleting the state files, it reports the correct number of matches. It seems that the state information is being kept somewhere other than /var/tmp. The default is /tmp, but I found nothing there. Any ideas if/where state data is being kept and/or how to force the script to think that it should read the file from the beginning? Best Regards, Jim Mohr ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Thu Apr 3 15:14:28 2008 From: bmccann at andmore.com (McCann, Brian) Date: Thu, 3 Apr 2008 09:14:28 -0400 Subject: Verizon & Text Messages Message-ID: Verizon Wireless has now gotten more restrictive with text messages via email. Our Nagios server sends text messages to 5554443333 at vtext.com , from nagios at server.domain.internal (the box's hostname does not resolve from the Internet). Starting last night, Verizon is now bouncing the mail, saying: 553 #5.1.8 Domain of sender address <*********> does not exist (MTA, Unknown, with IP address, X.X.X.X). Does anyone know of a way to get Nagios to use a different From address (ie, a legit one)? Thanks, --Brian -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Brian McCann K12USA.com, Cool Tools for Schools 1-877-225-0100 bmccann at andmore.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyrille.Bollu at fedasil.be Thu Apr 3 15:19:50 2008 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Thu, 3 Apr 2008 15:19:50 +0200 Subject: RE Verizon & Text Messages In-Reply-To: References: Message-ID: It most probably not Nagios that you should configure rather than your SMTP server (Sendmail, postifx,...) You should change it so that it masquerades your "server.domain.internal" domain into a legit one. It's quite simple you should find all the info needed on the Net. Or maybe you might also change your DNS so that "server.domain.internal" becomes legit'. (But then you will also probably have to configure your SMTP server(s) to accept e-mail for the "server.domain.internal" domain...) Cheers, Cyrille "McCann, Brian" Envoy? par : nagios-users-bounces at lists.sourceforge.net 03/04/2008 15:14 A cc Objet [Nagios-users] Verizon & Text Messages Verizon Wireless has now gotten more restrictive with text messages via email. Our Nagios server sends text messages to 5554443333 at vtext.com , from nagios at server.domain.internal (the box's hostname does not resolve from the Internet). Starting last night, Verizon is now bouncing the mail, saying: 553 #5.1.8 Domain of sender address <*********> does not exist (MTA, Unknown, with IP address, X.X.X.X). Does anyone know of a way to get Nagios to use a different From address (ie, a legit one)? Thanks, --Brian -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Brian McCann K12USA.com, Cool Tools for Schools 1-877-225-0100 bmccann at andmore.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxhetrick at verizon.net Thu Apr 3 15:28:16 2008 From: maxhetrick at verizon.net (Max Hetrick) Date: Thu, 03 Apr 2008 09:28:16 -0400 Subject: Verizon & Text Messages In-Reply-To: References: Message-ID: <47F4DB70.3090508@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 McCann, Brian wrote: > Verizon Wireless has now gotten more restrictive with text messages via > email. Our Nagios server sends text messages to 5554443333 at vtext.com > , from nagios at server.domain.internal > (the box's hostname does not > resolve from the Internet). Starting last night, Verizon is now > bouncing the mail, saying: > > 553 #5.1.8 Domain of sender address <*********> does not exist (MTA, > Unknown, with IP address, X.X.X.X). > > Does anyone know of a way to get Nagios to use a different From address > (ie, a legit one)? Do you have an internal mail server that's legit on the outside world? Through postfix on Nagios I run the messages through our internal mail server as a relayhost. For example: /etc/postfix/main.cf relayhost = [mail.myserver.mydomain] This is a legitimate mail server, so it passes muster when sending the message. Nagios spits the message to 1234567899 at vtext.com, but it gets processed through mail.myserver.mydomain before it goes out the door. Just a thought. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFH9NtwIXSX/6LmsXkRAp4rAJ9jO+htiMjUQLgL4+9C8BrX72A16wCfZNCk WVS+6Ceg99ulTPAbDYVp1F0= =52Oe -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Thu Apr 3 15:33:38 2008 From: bmccann at andmore.com (McCann, Brian) Date: Thu, 3 Apr 2008 09:33:38 -0400 Subject: Verizon & Text Messages Message-ID: I thought of that, but the "From" address would still be nagios at server.domain.internal. I still need to do that step though...so thanks! --Brian > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Max Hetrick > Sent: Thursday, April 03, 2008 9:28 AM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Verizon & Text Messages > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > McCann, Brian wrote: > > Verizon Wireless has now gotten more restrictive with text > messages via > > email. Our Nagios server sends text messages to > 5554443333 at vtext.com > > , from nagios at server.domain.internal > > (the box's hostname does not > > resolve from the Internet). Starting last night, Verizon is now > > bouncing the mail, saying: > > > > 553 #5.1.8 Domain of sender address <*********> does not exist (MTA, > > Unknown, with IP address, X.X.X.X). > > > > Does anyone know of a way to get Nagios to use a different > From address > > (ie, a legit one)? > > > Do you have an internal mail server that's legit on the outside world? > > Through postfix on Nagios I run the messages through our internal mail > server as a relayhost. For example: > > /etc/postfix/main.cf > > relayhost = [mail.myserver.mydomain] > > This is a legitimate mail server, so it passes muster when sending the > message. Nagios spits the message to 1234567899 at vtext.com, but it gets > processed through mail.myserver.mydomain before it goes out the door. > > Just a thought. > > Regards, > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > > iD8DBQFH9NtwIXSX/6LmsXkRAp4rAJ9jO+htiMjUQLgL4+9C8BrX72A16wCfZNCk > WVS+6Ceg99ulTPAbDYVp1F0= > =52Oe > -----END PGP SIGNATURE----- > > -------------------------------------------------------------- > ----------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n > et/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmccann at andmore.com Thu Apr 3 15:34:59 2008 From: bmccann at andmore.com (McCann, Brian) Date: Thu, 3 Apr 2008 09:34:59 -0400 Subject: RE Verizon & Text Messages Message-ID: Didn't think of that...DUH. We use Qmail...I could probably figure that out... Thanks! --Brian _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Cyrille Bollu Sent: Thursday, April 03, 2008 9:20 AM To: McCann, Brian Cc: nagios-users-bounces at lists.sourceforge.net; Nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE Verizon & Text Messages It most probably not Nagios that you should configure rather than your SMTP server (Sendmail, postifx,...) You should change it so that it masquerades your "server.domain.internal" domain into a legit one. It's quite simple you should find all the info needed on the Net. Or maybe you might also change your DNS so that "server.domain.internal" becomes legit'. (But then you will also probably have to configure your SMTP server(s) to accept e-mail for the "server.domain.internal" domain...) Cheers, Cyrille "McCann, Brian" Envoy? par : nagios-users-bounces at lists.sourceforge.net 03/04/2008 15:14 A cc Objet [Nagios-users] Verizon & Text Messages Verizon Wireless has now gotten more restrictive with text messages via email. Our Nagios server sends text messages to 5554443333 at vtext.com , from nagios at server.domain.internal (the box's hostname does not resolve from the Internet). Starting last night, Verizon is now bouncing the mail, saying: 553 #5.1.8 Domain of sender address <*********> does not exist (MTA, Unknown, with IP address, X.X.X.X). Does anyone know of a way to get Nagios to use a different From address (ie, a legit one)? Thanks, --Brian -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Brian McCann K12USA.com, Cool Tools for Schools 1-877-225-0100 bmccann at andmore.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 3 16:16:07 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Apr 2008 09:16:07 -0500 Subject: Nagios External Commands In-Reply-To: <47F49973.10100@ederdrom.de> References: <47F49973.10100@ederdrom.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Joerg Linge > Sent: Thursday, April 03, 2008 3:47 AM > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios External Commands > > Gavin Williams schrieb: > > HI there, > > I can see the commands being written to Nagios.cmd in /opt/nagio/var/rw/ > > however they don't go anywhere from there... > Your nagios.cmd is a regular file and _not_ a named pipe. > This file is not created by nagios! > > Please delete this file and do a nagios restart. > The pipe should be created automaticaly. OP: also note that if you cat, tail or otherwise view the contents of the named pipe as you did above, you will remove the contents of the pipe from the queue and nagios will not see the commands. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rup001 at yahoo.com Thu Apr 3 17:23:15 2008 From: rup001 at yahoo.com (Vuppala) Date: Thu, 3 Apr 2008 08:23:15 -0700 (PDT) Subject: Hardware monitoring usning nagios In-Reply-To: References: Message-ID: <202429.4573.qm@web54607.mail.re2.yahoo.com> Hi Can anyone help me how do we monitor hardware using nagios. Thanks rup --------------------------------- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 3 17:25:52 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Apr 2008 10:25:52 -0500 Subject: Hardware monitoring usning nagios In-Reply-To: <202429.4573.qm@web54607.mail.re2.yahoo.com> References: <202429.4573.qm@web54607.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: Vuppala [mailto:rup001 at yahoo.com] > Sent: Thursday, April 03, 2008 10:23 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Hardware monitoring usning nagios > > Hi > Can anyone help me how do we monitor hardware using nagios. With plugins. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 17:28:13 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 3 Apr 2008 15:28:13 +0000 Subject: Hardware monitoring usning nagios In-Reply-To: References: <202429.4573.qm@web54607.mail.re2.yahoo.com> Message-ID: <4b008f7d0804030828x48def2a8n531bd727d72dffb2@mail.gmail.com> What exactly do you want to monitor? On Thu, Apr 3, 2008 at 3:25 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: Vuppala [mailto:rup001 at yahoo.com] > > Sent: Thursday, April 03, 2008 10:23 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: Hardware monitoring usning nagios > > > > Hi > > Can anyone help me how do we monitor hardware using nagios. > > With plugins. > > -- > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rup001 at yahoo.com Thu Apr 3 17:31:15 2008 From: rup001 at yahoo.com (Vuppala) Date: Thu, 3 Apr 2008 08:31:15 -0700 (PDT) Subject: Hardware monitoring usning nagios In-Reply-To: <4b008f7d0804030828x48def2a8n531bd727d72dffb2@mail.gmail.com> References: <4b008f7d0804030828x48def2a8n531bd727d72dffb2@mail.gmail.com> Message-ID: <34033.11724.qm@web54607.mail.re2.yahoo.com> I would like to monitor hard drive failure, cables and temperature of a server. Thanks Alex Dehaini wrote: What exactly do you want to monitor? On Thu, Apr 3, 2008 at 3:25 PM, Marc Powell wrote: > -----Original Message----- > From: Vuppala [mailto:rup001 at yahoo.com] > Sent: Thursday, April 03, 2008 10:23 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Hardware monitoring usning nagios > > Hi > Can anyone help me how do we monitor hardware using nagios. With plugins. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 3 17:51:46 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Apr 2008 10:51:46 -0500 Subject: Hardware monitoring usning nagios In-Reply-To: <80823.66854.qm@web54603.mail.re2.yahoo.com> References: <80823.66854.qm@web54603.mail.re2.yahoo.com> Message-ID: Please always reply on list... > -----Original Message----- > From: Vuppala [mailto:rup001 at yahoo.com] > Sent: Thursday, April 03, 2008 10:29 AM > To: Marc Powell > Subject: Re: [Nagios-users] Hardware monitoring usning nagios > > Marc > Is that SNMP plugin?? if Yes where can i download it. Also pelase let me > know what is that command to run.(example for fan or hard drive) Maybe. Once you start detailing _exactly_ what hardware you want to monitor and under what OS, we might be able to start providing you with specific answers. It also helps to detail what you've researched or tried already (you did do that, didn't you?) so that we don't repeat ground you've already covered. The support formula is pretty simple and it reflects your attempts at self-service. Specific questions get specific answers. General questions get general answers. Showing a lack of interest in figuring it out on your own tells us the problem isn't important to you so why should it be important to us? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rup001 at yahoo.com Thu Apr 3 17:56:35 2008 From: rup001 at yahoo.com (Vuppala) Date: Thu, 3 Apr 2008 08:56:35 -0700 (PDT) Subject: Hardware monitoring usning nagios In-Reply-To: References: Message-ID: <483101.33820.qm@web54607.mail.re2.yahoo.com> I want to monitor dell hardware under linux operating system. Thanks Marc Powell wrote: Please always reply on list... > -----Original Message----- > From: Vuppala [mailto:rup001 at yahoo.com] > Sent: Thursday, April 03, 2008 10:29 AM > To: Marc Powell > Subject: Re: [Nagios-users] Hardware monitoring usning nagios > > Marc > Is that SNMP plugin?? if Yes where can i download it. Also pelase let me > know what is that command to run.(example for fan or hard drive) Maybe. Once you start detailing _exactly_ what hardware you want to monitor and under what OS, we might be able to start providing you with specific answers. It also helps to detail what you've researched or tried already (you did do that, didn't you?) so that we don't repeat ground you've already covered. The support formula is pretty simple and it reflects your attempts at self-service. Specific questions get specific answers. General questions get general answers. Showing a lack of interest in figuring it out on your own tells us the problem isn't important to you so why should it be important to us? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 3 18:00:26 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Apr 2008 11:00:26 -0500 Subject: Hardware monitoring usning nagios In-Reply-To: <483101.33820.qm@web54607.mail.re2.yahoo.com> References: <483101.33820.qm@web54607.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: Vuppala [mailto:rup001 at yahoo.com] > Sent: Thursday, April 03, 2008 10:57 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Hardware monitoring usning nagios > > I want to monitor dell hardware under linux operating system. http://www.nagiosexchange.org/cgi-bin/search.cgi?d=1&query=dell&Go=Go Best of luck... -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Thu Apr 3 18:23:46 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Thu, 3 Apr 2008 17:23:46 +0100 (BST) Subject: intel entry storage system Message-ID: <491277.58511.qm@web26203.mail.ukl.yahoo.com> can nagios monitor intel entry storage usage? thx __________________________________________________________ Sent from Yahoo! Mail. A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 18:31:01 2008 From: Karl.Yost at iqor.com (Yost, Karl) Date: Thu, 3 Apr 2008 12:31:01 -0400 Subject: intel entry storage system References: <491277.58511.qm@web26203.mail.ukl.yahoo.com> Message-ID: <56F8CBCA82D02D4B894B69C804906D1ACFA0DD@usnjpar1blex04.us.ad.irmc.com> Looks like you could probably use snmp to monitor it, but it depends on what you want to monitor and what is available through snmp on the device. I don't believe there is anything specifically written for this device. Thanks, Karl -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Melanie Pfefer Sent: Thursday, April 03, 2008 12:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] intel entry storage system can nagios monitor intel entry storage usage? thx __________________________________________________________ Sent from Yahoo! Mail. A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Thu Apr 3 19:09:58 2008 From: joliver at john-oliver.net (John Oliver) Date: Thu, 3 Apr 2008 10:09:58 -0700 Subject: daemonchk.cgi Message-ID: <20080403170958.GB13501@ns.sdsitehosting.net> I'm using nagios-2.9 installed from the Dag RPM. Whomever built that RPM neglected to include daemonchk.cgi :-( So the init script doesn't work. I grabbed the 2.11 source and did ./configure, make all but daemonchk.cgi is not built. Is there anywhere I can just download a compiled daemonchk.cgi to use? -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 3 19:13:38 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Apr 2008 12:13:38 -0500 Subject: daemonchk.cgi In-Reply-To: <20080403170958.GB13501@ns.sdsitehosting.net> References: <20080403170958.GB13501@ns.sdsitehosting.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Oliver > Sent: Thursday, April 03, 2008 12:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] daemonchk.cgi > > I'm using nagios-2.9 installed from the Dag RPM. Whomever built that > RPM neglected to include daemonchk.cgi :-( So the init script doesn't > work. I grabbed the 2.11 source and did ./configure, make all but > daemonchk.cgi is not built. > > Is there anywhere I can just download a compiled daemonchk.cgi to use? Google is a great resource -- http://www.google.com/search?q=daemonchk.cgi -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Thu Apr 3 19:28:21 2008 From: joliver at john-oliver.net (John Oliver) Date: Thu, 3 Apr 2008 10:28:21 -0700 Subject: daemonchk.cgi In-Reply-To: References: <20080403170958.GB13501@ns.sdsitehosting.net> Message-ID: <20080403172821.GC13501@ns.sdsitehosting.net> On Thu, Apr 03, 2008 at 12:13:38PM -0500, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of John Oliver > > Sent: Thursday, April 03, 2008 12:10 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] daemonchk.cgi > > > > I'm using nagios-2.9 installed from the Dag RPM. Whomever built that > > RPM neglected to include daemonchk.cgi :-( So the init script doesn't > > work. I grabbed the 2.11 source and did ./configure, make all but > > daemonchk.cgi is not built. > > > > Is there anywhere I can just download a compiled daemonchk.cgi to use? > > Google is a great resource -- > > http://www.google.com/search?q=daemonchk.cgi Been there, done that. Returns dozens of references to daemonchk.cgi, including the FAQ that tells me that it's supposed to be in contrib/ It isn't... daemonchk.c is, but will not compile. It's full of references to libraries and headers in the wrong place, and finally a variable getcgivars which does not exist. So... if anyone can either point me to a compiled daemonchk.cgi, or tell me the secret to getting daemonchk.c to compile, I'd appreciate it. -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 19:43:34 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 3 Apr 2008 19:43:34 +0200 Subject: Service definition without contacts Message-ID: <200804031943.34486.cschneemann@suse.de> Hi, I have some problems defining my services respectively creating hostgroups and allocate servicechecks to them. Here an example: I want to monitor 10 database-servers. So I could create the hostgroup "database-servers" and put the 10 hosts in this group. Afterwards I assign the database-check to this group and every host in this group gets his database monitored. This works as expected. But now to my problem: Almost every host has other contacts to get informed in an emergency. A servicedefinition requires a contactgroup in its definition, according to the manual. I have removed the "contact_groups" and "contacts" from the definitions and nagios started. What behaviour can I expect? Will no notification be send out because no contacts are definied? Or can I expect a fallback to the contacts defined in the host definition? The last one would be a nice-to-have. Grettings, Christian -- 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) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 20:32:45 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 3 Apr 2008 20:32:45 +0200 Subject: Service definition without contacts In-Reply-To: <200804031943.34486.cschneemann@suse.de> References: <200804031943.34486.cschneemann@suse.de> Message-ID: <200804032032.45381.cschneemann@suse.de> On Thursday April 3 2008 07:43:34 pm Christian Schneemann wrote: > Hi, > I have some problems defining my services respectively creating hostgroups > and allocate servicechecks to them. > Here an example: > I want to monitor 10 database-servers. So I could create the > hostgroup "database-servers" and put the 10 hosts in this group. Afterwards > I assign the database-check to this group and every host in this group gets > his database monitored. This works as expected. > But now to my problem: > Almost every host has other contacts to get informed in an emergency. > > A servicedefinition requires a contactgroup in its definition, according to > the manual. > > I have removed the "contact_groups" and "contacts" from the definitions and > nagios started. > > What behaviour can I expect? Will no notification be send out because no > contacts are definied? Or can I expect a fallback to the contacts defined > in the host definition? > > The last one would be a nice-to-have. I had some tests on it now and it seems that the mails are sent to the contacts defined in the hosts definition. Is it a "bug" or a undocumented feature? > > > Grettings, > Christian -- 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) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu Apr 3 20:34:32 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 3 Apr 2008 14:34:32 -0400 Subject: Monitoring in different time periods Message-ID: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> Currently I'm using the default 24x7 time for monitoring. We have a support group in India where we want to shift monitoring there during off hours. Since service definition is currently using 24x7, would I have to create separate services for each time period since the notifications would go to two different groups? What is the best way to accomplish this? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 20:46:47 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 3 Apr 2008 20:46:47 +0200 Subject: Monitoring in different time periods In-Reply-To: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> Message-ID: <200804032046.47118.cschneemann@suse.de> On Thursday April 3 2008 08:34:32 pm Seth Simmons wrote: > Currently I'm using the default 24x7 time for monitoring. We have a > support group in India where we want to shift monitoring there during > off hours. Since service definition is currently using 24x7, would I > have to create separate services for each time period since the > notifications would go to two different groups? What is the best way to > accomplish this? You can define timeperiods in the contacts definition. If I understood the manual right, than a notification will only be sent to an contact if it's in the timeperiod defined for this contact. Have a look at [0]. Keep in mind that you have to set the timeperiods of the indian group according to the timezone your nagios-server is in. Greetings, -- 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) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wojciech at kocjan.org Thu Apr 3 20:44:20 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Thu, 03 Apr 2008 20:44:20 +0200 Subject: Monitoring in different time periods In-Reply-To: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> Message-ID: On Thu, 03 Apr 2008 20:34:32 +0200, Seth Simmons wrote: > Currently I'm using the default 24x7 time for monitoring. We have a > support group in India where we want to shift monitoring there during > off hours. Since service definition is currently using 24x7, would I > have to create separate services for each time period since the > notifications would go to two different groups? What is the best way to > accomplish this? Hi, You can simply add both India and non-India users to the same contact groups you're currently using. India team will have their notification timeperiod set to their working hours whereas the other team would have the remaining hours as their notification timeperiod. -- Wojciech Kocjan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 20:48:27 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 3 Apr 2008 20:48:27 +0200 Subject: Monitoring in different time periods In-Reply-To: <200804032046.47118.cschneemann@suse.de> References: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> <200804032046.47118.cschneemann@suse.de> Message-ID: <200804032048.27642.cschneemann@suse.de> On Thursday April 3 2008 08:46:47 pm Christian Schneemann wrote: > On Thursday April 3 2008 08:34:32 pm Seth Simmons wrote: > > Currently I'm using the default 24x7 time for monitoring. We have a > > support group in India where we want to shift monitoring there during > > off hours. Since service definition is currently using 24x7, would I > > have to create separate services for each time period since the > > notifications would go to two different groups? What is the best way to > > accomplish this? > > You can define timeperiods in the contacts definition. If I understood the > manual right, than a notification will only be sent to an contact if it's > in the timeperiod defined for this contact. > Have a look at [0]. > Keep in mind that you have to set the timeperiods of the indian group > according to the timezone your nagios-server is in. > > > > > Greetings, [0] = http://nagios.sourceforge.net/docs/3_0/timeperiods.html Sorry for that... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu Apr 3 21:12:21 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 3 Apr 2008 15:12:21 -0400 Subject: Monitoring in different time periods In-Reply-To: References: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> Message-ID: <13F36D2926AD444697093282F20041B706FE8084@buf-ex01.cymfony.com> I understand the first part about adding all to the same contact groups. The second part I can't see how they would have their own hours, unless I have a separate service defined? For example if I have this (below) what line(s) would I need to add/modify? I'm thinking I would have to have a different service defined for each check/notification period? define service{ use generic-service host_name servername service_description Free Space on / is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 3 retry_check_interval 5 contact_groups admins notification_interval 30 notification_period 24x7 notification_options u,r check_command check_nrpe!check_root } -----Original Message----- From: Wojciech Kocjan [mailto:wojciech at kocjan.org] Sent: Thursday, April 03, 2008 2:44 PM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring in different time periods On Thu, 03 Apr 2008 20:34:32 +0200, Seth Simmons wrote: > Currently I'm using the default 24x7 time for monitoring. We have a > support group in India where we want to shift monitoring there during > off hours. Since service definition is currently using 24x7, would I > have to create separate services for each time period since the > notifications would go to two different groups? What is the best way > to accomplish this? Hi, You can simply add both India and non-India users to the same contact groups you're currently using. India team will have their notification timeperiod set to their working hours whereas the other team would have the remaining hours as their notification timeperiod. -- Wojciech Kocjan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hishabu at gmail.com Thu Apr 3 21:20:43 2008 From: hishabu at gmail.com (Shabu Khan) Date: Thu, 3 Apr 2008 12:20:43 -0700 Subject: check_http question In-Reply-To: <80e3fa0f0804021544r70030e89p94f3ebf799b604fa@mail.gmail.com> References: <80e3fa0f0804021544r70030e89p94f3ebf799b604fa@mail.gmail.com> Message-ID: <80e3fa0f0804031220h751a5d0dq8990e265bd09a173@mail.gmail.com> Folks, How do I get check_http to input username/password for a particular url? This is what I am doing: # /opt/nagios/libexec/check_http -ssl -a myusername:mypassword -H myhostname.fqdn -u /websitemanager/ControllerServlet -f follow -v There is a redirection that happens and hence the -f follow switch/option, after which it gets to a login page - https://myhostname.fqdn/security/LoginFrameset.jsp this is where it needs to input the username/password, but I don't think it goes past this, and I get a 'string not found' error. Here is the complete message (edited): #-----------------------------------------------------------------# GET /websitemanager/ControllerServlet HTTP/1.0 User-Agent: check_http/v1861 (nagios-plugins 1.4.11) Connection: close Host: myhostname.fqdn Authorization: Basic Y2JsdC1pdDowbjN3QHl0MWNrM3Q= http://myhostname.fqdn:80/websitemanager/ControllerServlet is 1602 characters STATUS: HTTP/1.1 302 Moved Temporarily **** HEADER **** Date: Wed, 02 Apr 2008 22:37:58 GMT Server: Apache/2.0.52 (Red Hat) DAV/2 Set-Cookie: Apache=209.67.79.1.1207175878098830; path=/; expires=Fri, 02-Apr-10 22:37:58 GMT Location: https://myhostname.fqdn/security/LoginFrameset.jsp Set-Cookie: JSESSIONID=H0KG5KjlQH0yr7XzJWDnMhkKQRKJmLmTDvG9QQ572nX6TXTKShn3!-1692630720; path=/ Set-Cookie: BIGipServercert-1-nitracluster.dealer=1046154250.13601.0000; path=/ Connection: close Content-Type: text/html Set-Cookie: BIGipServercert-1-staticweb=878382090.20480.0000; path=/ **** CONTENT **** 302 Moved Temporarily

This document you requested has moved temporarily.

It's now at https://myhostname.fqdn/security/LoginFrameset.jsp.

Welcome! <body bgcolor="#FFFFFF"> </body> Redirection to https://myhostname.fqdn:443/security/LoginFrameset.jsp GET /security/LoginFrameset.jsp HTTP/1.0 User-Agent: check_http/v1861 (nagios-plugins 1.4.11) Connection: close Host: myhostname.fqdn Authorization: Basic Y2JsdC1pdDowbjN3QHl0MWNrM3Q= https://myhostname.fqdn:443/security/LoginFrameset.jsp is 1319 characters STATUS: HTTP/1.1 200 OK **** HEADER **** Date: Wed, 02 Apr 2008 22:37:58 GMT Server: Apache/2.0.52 (Red Hat) DAV/2 Set-Cookie: Apache=209.67.79.1.1207175878115366; path=/; expires=Fri, 02-Apr-10 22:37:58 GMT Pragma: no-cache Content-Length: 721 Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: JSESSIONID=H0KGJfyJpp2jcMXXgJTdPt27SxnhT1GTSBpCdkDgHqbdMXjl2Y1L!1822486824; path=/ Cache-Control: no-store Set-Cookie: BIGipServercert-1-nitracluster.dealer=1029377034.13601.0000; path=/ Connection: close Content-Type: text/html;charset=utf-8 Set-Cookie: BIGipServercert-1-staticweb=861604874.20480.0000; path=/ **** CONTENT **** Welcome! <body bgcolor="#FFFFFF"> </body> HTTP CRITICAL - string not found|time=0.027586s;;;0.000000 size=1319B;;;0 #-----------------------------------------------------------------# Any assistance would be greatly appreciated. Thanks, -- Shabu Khan | Mentis Systems Inc | W: (425) 649-1130 | C: (425) 301-1948 | F: (425) 256-2819 -- Shabu Khan | Mentis Systems Inc | W: (425) 649-1130 | C: (425) 301-1948 | F: (425) 256-2819 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 21:21:06 2008 From: Karl.Yost at iqor.com (Yost, Karl) Date: Thu, 3 Apr 2008 15:21:06 -0400 Subject: Monitoring in different time periods References: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> <13F36D2926AD444697093282F20041B706FE8084@buf-ex01.cymfony.com> Message-ID: <56F8CBCA82D02D4B894B69C804906D1ACFA1AE@usnjpar1blex04.us.ad.irmc.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Seth Simmons > Sent: Thursday, April 03, 2008 3:12 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring in different time periods > > > I understand the first part about adding all to the same contact > groups. > The second part I can't see how they would have their own hours, unless > I have a separate service defined? For example if I have this (below) > what line(s) would I need to add/modify? I'm thinking I would have to > have a different service defined for each check/notification period? > > define service{ > use generic-service > host_name servername > service_description Free Space on / > is_volatile 0 > check_period 24x7 > max_check_attempts 2 > normal_check_interval 3 > retry_check_interval 5 > contact_groups admins > notification_interval 30 > notification_period 24x7 > notification_options u,r > check_command check_nrpe!check_root > } > You don't need multiple service checks, you need multiple contact groups. Group 1 - Hours 9-5 Group 2 - Hours 5-9 Thanks, Karl > -----Original Message----- > From: Wojciech Kocjan [mailto:wojciech at kocjan.org] > Sent: Thursday, April 03, 2008 2:44 PM > To: Seth Simmons; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring in different time periods > > On Thu, 03 Apr 2008 20:34:32 +0200, Seth Simmons > wrote: > > > Currently I'm using the default 24x7 time for monitoring. We have a > > support group in India where we want to shift monitoring there during > > off hours. Since service definition is currently using 24x7, would I > > have to create separate services for each time period since the > > notifications would go to two different groups? What is the best way > > to accomplish this? > > Hi, > > You can simply add both India and non-India users to the same contact > groups you're currently using. India team will have their notification > timeperiod set to their working hours whereas the other team would have > the remaining hours as their notification timeperiod. > > -- > Wojciech Kocjan > > ----------------------------------------------------------------------- > -- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/market > place > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 3 21:22:06 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Apr 2008 14:22:06 -0500 Subject: daemonchk.cgi In-Reply-To: <20080403172821.GC13501@ns.sdsitehosting.net> References: <20080403172821.GC13501@ns.sdsitehosting.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Oliver > Sent: Thursday, April 03, 2008 12:28 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] daemonchk.cgi > > On Thu, Apr 03, 2008 at 12:13:38PM -0500, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of John Oliver > > > Sent: Thursday, April 03, 2008 12:10 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] daemonchk.cgi > > > > > > I'm using nagios-2.9 installed from the Dag RPM. Whomever built that > > > RPM neglected to include daemonchk.cgi :-( So the init script doesn't > > > work. I grabbed the 2.11 source and did ./configure, make all but > > > daemonchk.cgi is not built. > > > > > > Is there anywhere I can just download a compiled daemonchk.cgi to use? > > > > Google is a great resource -- > > > > http://www.google.com/search?q=daemonchk.cgi > > Been there, done that. Returns dozens of references to daemonchk.cgi, > including the FAQ that tells me that it's supposed to be in contrib/ It Thanks for including that in the original e-mail. > isn't... daemonchk.c is, but will not compile. It's full of references > to libraries and headers in the wrong place, and finally a variable > getcgivars which does not exist. > > So... if anyone can either point me to a compiled daemonchk.cgi, or tell > me the secret to getting daemonchk.c to compile, I'd appreciate it. Edit daemoncheck.c to change -- #include "../common/config.h" #include "../common/common.h" #include "../common/locations.h" #include "../cgi/cgiutils.h" #include "../cgi/getcgi.h" ... to #include "../include/config.h" #include "../include/common.h" #include "../include/locations.h" #include "../include/cgiutils.h" #include "../include/getcgi.h" ... then cd ~nagios-src && ./configure --params-here && make cgis && cd contrib && gcc -o daemonchk.cgi daemonchk.c ../cgi/getcgi.o $ ./daemonchk.cgi NAGIOS CRITICAL - could not find status log: /usr/local/nagios/var/status.dat Note that the Makefile has this comment so YMMV. The implication is that Dag may be using a 'special' version. I'd give it a try anyway though -- daemonchk.cgi: @echo "This doesn't work with Nagios 2.x yet..." Another alternative is to contact your package provider and ask them not to modify the init scripts to require non-standard and non-supported programs, especially if they're not including them. daemoncheck.cgi is not used by the standard init scripts, or anything else related to the distribution. I'm a bit surprised that Dag is doing that. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wojciech at kocjan.org Thu Apr 3 21:23:33 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Thu, 03 Apr 2008 21:23:33 +0200 Subject: Monitoring in different time periods In-Reply-To: <13F36D2926AD444697093282F20041B706FE8084@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> <13F36D2926AD444697093282F20041B706FE8084@buf-ex01.cymfony.com> Message-ID: On Thu, 03 Apr 2008 21:12:21 +0200, Seth Simmons wrote: > I understand the first part about adding all to the same contact groups. > The second part I can't see how they would have their own hours, unless > I have a separate service defined? For example if I have this (below) > what line(s) would I need to add/modify? I'm thinking I would have to > have a different service defined for each check/notification period? No, I assume what you actually want is to: 1/ Monitor the service 24x7 2/ For India working hours, notify India 3/ For remaining hours, notify someone else So, define single service, two contact groups and for India group members configure them for Indiaworkinghours time period and for "someone else" configure them for a timeperiod defining remaining hours. Then if a problem comes in during Indiaworkinghours, India staff will get the message. On remaining hours "someone else" will get the message. -- Wojciech Kocjan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 3 21:51:17 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Apr 2008 14:51:17 -0500 Subject: check_http question In-Reply-To: <80e3fa0f0804031220h751a5d0dq8990e265bd09a173@mail.gmail.com> References: <80e3fa0f0804031220h751a5d0dq8990e265bd09a173@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 Shabu Khan > Sent: Thursday, April 03, 2008 2:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http question > > > > Folks, > How do I get check_http to input username/password for a particular url? > > This is what I am doing: > > # /opt/nagios/libexec/check_http -ssl -a myusername:mypassword -H > myhostname.fqdn -u /websitemanager/ControllerServlet -f follow -v Please don't test your plugins as root. Root has greater access than the nagios user. > There is a redirection that happens and hence the -f follow switch/option, > after which it gets to a login page - > https://myhostname.fqdn/security/LoginFrameset.jsp this is where it needs to > input the username/password, but I don't think it goes past this, and I get a > 'string not found' error. check_http only works with htaccess authentication. Is that what you're using? > Redirection to https://myhostname.fqdn:443/security/LoginFrameset.jsp > GET /security/LoginFrameset.jsp HTTP/1.0 > User-Agent: check_http/v1861 (nagios-plugins 1.4.11) > Connection: close > Host: myhostname.fqdn > Authorization: Basic Y2JsdC1pdDowbjN3QHl0MWNrM3Q= It's following the redirection and sending the htaccess authentication (Authorization) as it should. > scrolling="NO"> > > > I have a feeling the above are going to be relevant. > HTTP CRITICAL - string not found|time=0.027586s;;;0.000000 size=1319B;;;0 I'm not sure why it's returning this since you didn't tell it to search for a string above. Is the above the complete command line you used? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu Apr 3 21:57:20 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 3 Apr 2008 15:57:20 -0400 Subject: Monitoring in different time periods In-Reply-To: References: <13F36D2926AD444697093282F20041B706FE805F@buf-ex01.cymfony.com> <13F36D2926AD444697093282F20041B706FE8084@buf-ex01.cymfony.com> Message-ID: <13F36D2926AD444697093282F20041B706FE80BC@buf-ex01.cymfony.com> Ok I understand now. I'm looking at this in the wrong place. I'm thinking I need to modify the actual services, (which I will have to to some extent) though the solution is in the contacts and timeperiods cfg. I just stumbled across p.234 of the manual on adding the host/service notification_period. It makes sense now. -----Original Message----- From: Wojciech Kocjan [mailto:wojciech at kocjan.org] Sent: Thursday, April 03, 2008 3:24 PM To: Seth Simmons; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring in different time periods On Thu, 03 Apr 2008 21:12:21 +0200, Seth Simmons wrote: > I understand the first part about adding all to the same contact groups. > The second part I can't see how they would have their own hours, > unless I have a separate service defined? For example if I have this > (below) what line(s) would I need to add/modify? I'm thinking I would > have to have a different service defined for each check/notification period? No, I assume what you actually want is to: 1/ Monitor the service 24x7 2/ For India working hours, notify India 3/ For remaining hours, notify someone else So, define single service, two contact groups and for India group members configure them for Indiaworkinghours time period and for "someone else" configure them for a timeperiod defining remaining hours. Then if a problem comes in during Indiaworkinghours, India staff will get the message. On remaining hours "someone else" will get the message. -- Wojciech Kocjan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Thu Apr 3 22:10:01 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 3 Apr 2008 17:10:01 -0300 Subject: Hardware monitoring usning nagios In-Reply-To: References: <483101.33820.qm@web54607.mail.re2.yahoo.com> Message-ID: The best way, in my opinion, is use SNMPTRAP, and some active checks. I have defined onde service called "HARDWARE-TRAP" that receives all problems related to the servers hardware problems, and let snmptrapd + script send external command to nagios. 2008/4/3, Marc Powell : > > > > -----Original Message----- > > From: Vuppala [mailto:rup001 at yahoo.com] > > > Sent: Thursday, April 03, 2008 10:57 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Hardware monitoring usning nagios > > > > > I want to monitor dell hardware under linux operating system. > > > http://www.nagiosexchange.org/cgi-bin/search.cgi?d=1&query=dell&Go=Go > > Best of luck... > > > -- > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 22:22:56 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Thu, 3 Apr 2008 21:22:56 +0100 Subject: NDOUtils Problem Message-ID: <4DF7CF439F31164B96FC5D175CDF056E38B199@PRO001.protronics.co.uk> Hi I'm having some problems getting NDOUtils running on a new Nagios installation. I have it running fine on a Nagios 3.0rc3 installation on Ubuntu 6.06 server but I need to move to a new server. I've gone to Nagios 3.0 on a Ubuntu 7.10 machine which is all running fine but when I can't get NDOUtils running. I run through the installation several times to make sure I've done everything, double-checked all config files, confirmed the database and access but it won't run. I see the following in the Nagios log:- [04-03-2008 13:32:47] ndomod: Successfully reconnected to data sink! 0 items lost, 78 queued items to flush. [04-03-2008 13:32:31] ndomod: Error writing to data sink! Some output may get lost... [04-03-2008 13:32:31] ndomod: Successfully flushed 289 queued items to data sink. [04-03-2008 13:32:31] ndomod: Successfully reconnected to data sink! 0 items lost, 289 queued items to flush. [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may get lost. 194 queued items to flush. [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0 items lost, 505 queued items to flush. [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may get lost. 424 queued items to flush. [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0 items lost, 588 queued items to flush. [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may get lost. 499 queued items to flush. [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0 items lost, 676 queued items to flush. [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may get lost... [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596) [04-03-2008 13:31:27] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0 queued items to flush. [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [04-03-2008 13:31:27] LOG VERSION: 2.0 [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008 [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594) I've found a few threads on the internet with similar errors but not found a resolution. I'm at a loss how to proceed with troubleshooting. Thanks Joe Joe Precious Protronics Tel: 0845 458 3234 support at protronics.co.uk Fax: 0207 407 2441 ------------------------------------------------------------------------ -- Business Driven IT Microsoft Gold Certified Partner Cisco SMB Select Partner ------------------------------------------------------------------------ -- Accounts * Networks * Development * Training ------------------------------------------------------------------------ -- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jesse.Caldwell at Colorado.EDU Thu Apr 3 22:33:32 2008 From: Jesse.Caldwell at Colorado.EDU (Jesse Caldwell) Date: Thu, 03 Apr 2008 14:33:32 -0600 Subject: first_notification_delay and host escalations in nagios 3.0 Message-ID: <200804032033.m33KXW1n039513@matrix.Colorado.EDU> Hi List, I'm having two problems with Nagios 3.0. The first is with first_notification_delay. Here's my host definition: define host { active_checks_enabled 1 check_command check_host_alive check_freshness 0 check_period 24x7 contact_groups trouble_queue_24x7 event_handler_enabled 0 first_notification_delay 8 flap_detection_enabled 0 host_name foo hostgroups freebsd_servers, unix_servers max_check_attempts 3 notification_interval 8 notification_options d,r notification_period 24x7 notifications_enabled 1 parents foo-router passive_checks_enabled 0 process_perf_data 0 register 0 retain_nonstatus_information 0 retain_status_information 1 } Here is the log: [1207252682] HOST ALERT: foo;DOWN;SOFT;1;CRITICAL - foo: rta nan, lost 100% [1207252752] HOST ALERT: foo;DOWN;SOFT;2;CRITICAL - foo: rta nan, lost 100% [1207252822] HOST ALERT: foo;DOWN;HARD;3;CRITICAL - foo: rta nan, lost 100% [1207252852] HOST NOTIFICATION: trouble_queue_24x7;foo;DOWN;host_notify_by_email;CRITICAL - foo: rta nan, lost 100% If it decides that foo is down at 14:00:22, why does the notification go out 30 seconds later? Am I misunderstanding something really basic about first_notification_delay? My second problem is with host escalations. If I define my host escalation with a contact group: define hostescalation { contact_groups on_call_pager escalation_options d,r escalation_period weekdays_7am_to_6pm first_notification 2 hostgroup_name unix_servers last_notification 0 notification_interval 0 } That works as expected. If I use contacts instead of contact_groups, escalations go to the contact specified /as well as/ the original contact_group for the host. So, using the host definition and host escalation above, if I use contacts, the escalation will go to trouble_queue_24x7 and on_call_pager. If I use contact_groups, the escalation will only go to on_call_pager. Is this expected behavior? I assumed nagios would discard any previously defined contacts and/or contact_groups in favor of what the host escalation specifies. Jesse ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From newcombe at mordor.clayton.edu Thu Apr 3 22:40:16 2008 From: newcombe at mordor.clayton.edu (Dan Newcombe) Date: Thu, 03 Apr 2008 16:40:16 -0400 Subject: per host service notifications Message-ID: <47F540B0.9080906@mordor.clayton.edu> I am upgrading (finally) to version 2 of nagios. I am trying to keep my configs as modular as possible using templating and groups wherever I can - the idea being adding a new host should be a one or two line change to inherit all needed "stuff". The problem I'm running into are services and who gets contacted. Lets take ping as a perfect example. I have one definition of the ping service, which is the default one. However, different hosts who different contact groups (ie. networkadmins, server admins, Avaya admins who should be notified of ping failures to network, server and Avaya hosts respectively). I am able to define a contact group for a host (though not for a hostgroup it appears :( . However, each service definition has a contact group defined in it. So regardless of the host, the ping service is going to use the contactgroup defined in the service. I realize that I could make the ping service a template, and then define a ping service for each contact group, but that seems ugly. Is there an option I'm missing which would do something along the lines of "use the host contactgroup for all services on the host" or something like that? To me that seems the most logical way around this. Thanks -Dan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Thu Apr 3 22:41:04 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 3 Apr 2008 16:41:04 -0400 Subject: missing cgi scripts Message-ID: <13F36D2926AD444697093282F20041B706FE80F8@buf-ex01.cymfony.com> I noticed trends, statusmap, histogram cgi scripts are missing. I just installed gd-devel so I'm assuming those modules are what was missing in the initial install (someone correct me if other modules might be required). I came across this article... http://www.nagios.org/faqs/viewfaq.php?faq_id=55 ...problem is, I don't know what folder it is referring to when it says to run make devclean from nagios source code distribution and rerun the configuration script. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 22:46:47 2008 From: webknowledge at gmail.com (Marcel) Date: Thu, 3 Apr 2008 17:46:47 -0300 Subject: NDOUtils Problem In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E38B199@PRO001.protronics.co.uk> References: <4DF7CF439F31164B96FC5D175CDF056E38B199@PRO001.protronics.co.uk> Message-ID: <2dfcbd1b0804031346m393b5897n67a39c42196a2e74@mail.gmail.com> >From NDOUtils 1.4.b7 Changelog: 1.4b7 - 10/31/2007 ----------------- NOTE: ** Requires Nagios 2.7 or higher, or Nagios 3.0b6 - Makefile fixes for compilation flags - Fix for bug where service check table always had same start/end time - Added sample init script for SLES (Bruno Quintais) - Added --with-ndo2db-user and --with-ndo2db-group configure script options - Fix for configfilevariables table not holding multiple entries for various variables - Changed/added indexes on various DB tables - Added some very basic debug file capabilities (not complete yet) - Fix for handling (backwards) system time changes - Fix for missing SUN_LEN definition and strtof() functions on Solaris 8 (Christian Masopust) - Fix for segfault when importing duplicate log file entries (Hendrik Frenzel) - Updated to support latest Nagios 3.x code (3.0b6) So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it works fine. Hold your migration, for a new release of the mod. Cheers, On Thu, Apr 3, 2008 at 5:22 PM, Joe Precious wrote: > Hi > > I'm having some problems getting NDOUtils running on a new Nagios > installation. I have it running fine on a Nagios 3.0rc3 installation on > Ubuntu 6.06 server but I need to move to a new server. I've gone to Nagios > 3.0 on a Ubuntu 7.10 machine which is all running fine but when I can't get > NDOUtils running. I run through the installation several times to make sure > I've done everything, double-checked all config files, confirmed the > database and access but it won't run. I see the following in the Nagios > log:- > > [04-03-2008 13:32:47] ndomod: Successfully reconnected to data sink! 0 > items lost, 78 queued items to flush. > [04-03-2008 13:32:31] ndomod: Error writing to data sink! Some output may > get lost... > [04-03-2008 13:32:31] ndomod: Successfully flushed 289 queued items to > data sink. > [04-03-2008 13:32:31] ndomod: Successfully reconnected to data sink! 0 > items lost, 289 queued items to flush. > [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may > get lost. 194 queued items to flush. > [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0 > items lost, 505 queued items to flush. > [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may > get lost. 424 queued items to flush. > [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0 > items lost, 588 queued items to flush. > [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may > get lost. 499 queued items to flush. > [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0 > items lost, 676 queued items to flush. > [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may > get lost... > [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596) > [04-03-2008 13:31:27] Event broker module > '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. > [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0 > queued items to flush. > [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) > 2005-2007 Ethan Galstad (nagios at nagios.org) > [04-03-2008 13:31:27] LOG VERSION: 2.0 > [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008 > [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594) > > I've found a few threads on the internet with similar errors but not found > a resolution. I'm at a loss how to proceed with troubleshooting. > > Thanks > > Joe > > Joe Precious > Protronics Tel: 0845 458 3234 > support at protronics.co.uk Fax: 0207 407 2441 > -------------------------------------------------------------------------- > Business Driven IT > Microsoft Gold Certified Partner > Cisco SMB Select Partner > -------------------------------------------------------------------------- > Accounts ? Networks ? Development ? Training > -------------------------------------------------------------------------- > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 3 23:54:48 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 3 Apr 2008 22:54:48 +0100 Subject: per host service notifications In-Reply-To: <47F540B0.9080906@mordor.clayton.edu> References: <47F540B0.9080906@mordor.clayton.edu> Message-ID: <200804032354.49516.cschneemann@suse.de> Am Donnerstag 03 April 2008 schrieb Dan Newcombe: > I am upgrading (finally) to version 2 of nagios. I am trying to keep my > configs as modular as possible using templating and groups wherever I > can - the idea being adding a new host should be a one or two line > change to inherit all needed "stuff". > > The problem I'm running into are services and who gets contacted. > Lets take ping as a perfect example. I have one definition of the ping > service, which is the default one. However, different hosts who > different contact groups (ie. networkadmins, server admins, Avaya admins > who should be notified of ping failures to network, server and Avaya > hosts respectively). > I am able to define a contact group for a host (though not for a > hostgroup it appears :( . However, each service definition has a > contact group defined in it. So regardless of the host, the ping > service is going to use the contactgroup defined in the service. > > I realize that I could make the ping service a template, and then define > a ping service for each contact group, but that seems ugly. > > Is there an option I'm missing which would do something along the lines > of "use the host contactgroup for all services on the host" or something > like that? To me that seems the most logical way around this. That is the same question I sent to the list 3 hours ago. I simple removed the contacts and contact_groups from the service definition. It seems that the contacts and contact_groups defined for the host are used, But I could also be a bug, I haven't tested it for a longer timeperiod, just a short test. Maybe you could give it a test too and we can combine our experiences? Or anyone can advice us to the right manualpage? Greetings, Christian > > Thanks > -Dan > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplac >e _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 00:19:53 2008 From: vmanojv at rediffmail.com (Nair) Date: 3 Apr 2008 22:19:53 -0000 Subject: Monitoring Active Directory Message-ID: <20080403221953.16848.qmail@f5mail-237-212.rediffmail.com> Hi Friends, Is there any plugin to monitor Active Directory Service? Please give your ideas, Thank you, Nair. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rbrown at BallistaSec.com Fri Apr 4 00:19:08 2008 From: rbrown at BallistaSec.com (Rodrick Brown) Date: Thu, 3 Apr 2008 18:19:08 -0400 Subject: Unable to monitor remote hosts with nrpe Message-ID: I recently built a nagios 3.0 server and having a bit of problem getting remote hosts monitored correctly with nrpe. NRPE seems to be configured correctly on the local and remote host. [root at nagiosbox objects]# /usr/local/nagios/libexec/check_nrpe -H nycplx01a -c check_load -t 30 OK - load average: 0.08, 0.02, 0.01|load1=0.080;15.000;30.000;0; load5=0.020;10.000;25.000;0; load15=0.010;5.000;20.000;0; I added the following entries to nagios.cfg cfg_file=/usr/local/nagios/etc/objects/linuxhosts.cfg cfg_file=/usr/local/nagios/etc/objects/ballista-host.cfg I created a template host definition file. --- ballista-host.cfg --- define host { name ballista-host use linux-server check_period 24x7 retry_interval 5 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups admins register 0 } Here is the definition file I'm using to define my hosts. --- linux-hosts.cfg --- [root at nyadmlx01 objects]# cat linuxhosts.cfg define host { use ballista-host host_name nycplx01a alias nycplx01a-eth1 address 10.187.11.101 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define host { use ballista-host host_name nycplx01b alias nycplx01b-eth1 address 10.187.11.201 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define hostgroup { hostgroup_name Ballista_ECN alias Ballista_ECN Linux Servers ; Long name of the group members nycplx01a,nycplx01b } define service { use generic-service host_name nycplx01a,nycplx01b service_description CPU Load check_command check_nrpe!check_load ? No matter what check_nrpe I use here I get configuration problems } Checking services... Error: Service check command 'check_nrpe' specified in service 'CPU Load' for host 'nycplx01a' not defined anywhere! Error: Service check command 'check_nrpe' specified in service 'CPU Load' for host 'nycplx01b' not defined anywhere! Checked 10 services. If anyone could help me with getting remote checks to work using nrpe I would greatly appricate it thanks. --- Rodrick R. Brown Director of Systems Engineering Ballista Securities LLC 120 Wall St. Suite 2400 C: 347 702 0012 | O: 646 307 4709 http://www.ballistasec.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 00:50:23 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 03 Apr 2008 16:50:23 -0600 Subject: Unable to monitor remote hosts with nrpe In-Reply-To: References: Message-ID: <1207263023.30524.11.camel@sidhqmis4grdv91> I think the error message about says it... A service definition is not a direct link to the filesystem. You need to define the 'check_nrpe' command and tie it to the check_nrpe binary on the system. http://nagios.sourceforge.net/docs/3_0/configobject.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command > Error: Service check command 'check_nrpe' specified in service 'CPU > Load' for host 'nycplx01a' not defined anywhere! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robby.kahlon at cubic.com Fri Apr 4 02:39:58 2008 From: robby.kahlon at cubic.com (Kahlon, Robby) Date: Thu, 3 Apr 2008 17:39:58 -0700 Subject: Port Numbers required for NAGIOS Message-ID: <28919A12B5A1504CB3599372AA286FC601064AE7@bb-cts-ex1.cts.cubic.cub> I am a new Nagios user and trying to setup Nagios client on one of the servers in DMZ. The Nagios server resides on the INSIDE LAN and it works fine with all other LAN servers. My question is which ports do I need to open in the firewall so that Nagios client running on DMZ server can communicate with Nagios server on the INSIDE LAN and vice-versa. Thanks, Robby -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 02:54:54 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 3 Apr 2008 17:54:54 -0700 Subject: Port Numbers required for NAGIOS In-Reply-To: <28919A12B5A1504CB3599372AA286FC601064AE7@bb-cts-ex1.cts.cubic.cub> References: <28919A12B5A1504CB3599372AA286FC601064AE7@bb-cts-ex1.cts.cubic.cub> Message-ID: <20080404005454.GC30359@bakgwai.americas.hpqcorp.net> On Fri, 04 Apr 2008, Kahlon, Robby wrote: > I am a new Nagios user and trying to setup Nagios client on one of the servers in DMZ. The Nagios server resides on the INSIDE LAN and it works fine with all other LAN servers. > > My question is which ports do I need to open in the firewall so that Nagios client running on DMZ server can communicate with Nagios server on the INSIDE LAN and vice-versa. Your question doesn't make sense. Please be specific about what you're trying to set up, what software you're trying to connect to, what versions you're using, and what happens when you try to do it. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robby.kahlon at cubic.com Fri Apr 4 03:29:54 2008 From: robby.kahlon at cubic.com (Kahlon, Robby) Date: Thu, 3 Apr 2008 18:29:54 -0700 Subject: Port Numbers required for NAGIOS Message-ID: <28919A12B5A1504CB3599372AA286FC601064B10@bb-cts-ex1.cts.cubic.cub> We are using Nagios version 2.0 The Windows 2003 server which I need to minitor and the Nagios server are on two different subnets. All of the traffic from Nagios server to Windows 2003 server has to go via a Cisco firewall. Now, which ports do I need to open in the firewall so that Nagios server can communicate with the Windows 2003 server (Nagios Client)? Hope it makes some sense now. -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Friday, 4 April 2008 10:55 AM To: Kahlon, Robby Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Port Numbers required for NAGIOS On Fri, 04 Apr 2008, Kahlon, Robby wrote: > I am a new Nagios user and trying to setup Nagios client on one of the servers in DMZ. The Nagios server resides on the INSIDE LAN and it works fine with all other LAN servers. > > My question is which ports do I need to open in the firewall so that Nagios client running on DMZ server can communicate with Nagios server on the INSIDE LAN and vice-versa. Your question doesn't make sense. Please be specific about what you're trying to set up, what software you're trying to connect to, what versions you're using, and what happens when you try to do it. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 04:08:12 2008 From: perldork at webwizarddesign.com (Max) Date: Thu, 3 Apr 2008 22:08:12 -0400 Subject: NDOUtils Problem In-Reply-To: <2dfcbd1b0804031346m393b5897n67a39c42196a2e74@mail.gmail.com> References: <4DF7CF439F31164B96FC5D175CDF056E38B199@PRO001.protronics.co.uk> <2dfcbd1b0804031346m393b5897n67a39c42196a2e74@mail.gmail.com> Message-ID: On Thu, Apr 3, 2008 at 4:46 PM, Marcel wrote: > So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod > for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it > works fine. Hold your migration, for a new release of the mod. A number of people are working with this and Nagios 3.x, including myself :). > items lost, 289 queued items to flush. > > [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may > get lost. 194 queued items to flush. > > [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0 > items lost, 505 queued items to flush. > > [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may > get lost. 424 queued items to flush. > > [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0 > items lost, 588 queued items to flush. > > [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may > get lost. 499 queued items to flush. > > [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0 > items lost, 676 queued items to flush. > > [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may > get lost... > > [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596) > > [04-03-2008 13:31:27] Event broker module > '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. > > [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0 > queued items to flush. > > [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) > 2005-2007 Ethan Galstad (nagios at nagios.org) > > [04-03-2008 13:31:27] LOG VERSION: 2.0 > > [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008 > > [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594) > > > > I've found a few threads on the internet with similar errors but not found > a resolution. I'm at a loss how to proceed with troubleshooting. >From my experience and the other posts I have seen on this the problem is due to some problems in the NDO Utils code that escapes SQL statements and some INSERT SQL issues related to primary key violations on tables .. every time I start NDO up in Nagios I see a number of lines like yours; however, NagVis still works fine and the other information I need from that database seems to be intact. - Max ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 04:20:16 2008 From: perldork at webwizarddesign.com (Max) Date: Thu, 3 Apr 2008 22:20:16 -0400 Subject: Port Numbers required for NAGIOS In-Reply-To: <28919A12B5A1504CB3599372AA286FC601064B10@bb-cts-ex1.cts.cubic.cub> References: <28919A12B5A1504CB3599372AA286FC601064B10@bb-cts-ex1.cts.cubic.cub> Message-ID: Hi, On Thu, Apr 3, 2008 at 9:29 PM, Kahlon, Robby wrote: > The Windows 2003 server which I need to minitor and the Nagios server > are on two different subnets. All of the traffic from Nagios server to > Windows 2003 server has to go via a Cisco firewall. > > Now, which ports do I need to open in the firewall so that Nagios server > can communicate with the Windows 2003 server (Nagios Client)? If you are using NRPE, you will need to open TCP port 5666 http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf If you are using an SNMP agent on the Windows host, you will need to open UDP 161 for SNMP GET and WALK requests. Use SNMP v3 if it is available for your agent. If you want to send SNMP traps from your Windows host to Nagios, you will need to open an ACL orginating from the Windows server and terminating at the Nagios server on port UDP 162. Use SNMP v3 if it is available with the agent you are using. if you are submitting passive checks from the Windows host to the Nagios server using send_nsca and the NSCA daemon, you will need to open an ACL originating from the Windows server and terminating at the Nagios server on port TCP 5667. - Max ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 07:25:34 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 04 Apr 2008 07:25:34 +0200 Subject: daemonchk.cgi In-Reply-To: References: Message-ID: <47F5BBCE.50106@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: | ................. | Another alternative is to contact your package provider and ask them not | to modify the init scripts to require non-standard and non-supported | programs, especially if they're not including them. daemoncheck.cgi is | not used by the standard init scripts, or anything else related to the | distribution. I'm a bit surprised that Dag is doing that. He is not. The RPM from Dag is just fine. I use it for ages now. I have seen many references to it on this very mailinglist without anything as simple as having issues with the init script. So I think someone is mixxing a RPM installations with installation instructions that are not suited to a RPM installation. 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) iD8DBQFH9bvMBvzDRVjxmYERAt8bAKCRDZtWUfAnBrvKyqMxHLSxwTk/mQCePC5t Xf6Ixl6DknE5KVc2VqCBzsQ= =iDeo -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joop3 at gmx.net Fri Apr 4 07:37:01 2008 From: joop3 at gmx.net (joop3) Date: Fri, 4 Apr 2008 05:37:01 +0000 (UTC) Subject: Notification - escalation question References: <47F15A8E.3010400@vanderkooij.org> Message-ID: Hmm, I was hoping someone could help. Basically I wan't one notification to the helpdesk when a host goes down. Then one notification, let's say 1 hour later to the helpdesk manager. How can I accomplish this? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 07:44:11 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 04 Apr 2008 07:44:11 +0200 Subject: Relaunch of NagiosExchange.org In-Reply-To: <28cea030804030141xeaf86ccx361b90173fdb4bef@mail.gmail.com> References: <28cea030804030141xeaf86ccx361b90173fdb4bef@mail.gmail.com> Message-ID: <47F5C02B.308@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 seb wrote: |> The previous projects and users are completely imported and we will |> recategorize the projects in the near future. |> Now there is a newsletter you can subscribe to and wich will inform you |> about changes in the selected categories. | | RSS was nice for this task, but this function seems to have vanished ? | |> We hope you enjoy the new style and performance at |> http://www.nagiosexchange.org | | wow... pretty style and great performance, thanks !!! Hmmm. I am always pretty sceptic about layouts. Mostly because they seem to distract attention away from what a website is supposed to do. That is to deliver content. In general this website is not to cumbersome in that regard. But here is a hint to make it better: ~ - Use real text info to indicate the supported versions. At the moment that information is lost to visiting robots that will index the site. Nor is it very clear to the human visitors. (Roman numbers are so non-tech.) 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) iD8DBQFH9cAqBvzDRVjxmYERAt0hAKC4Ty/kLWUQHBJ8G5W4P442q5iqQwCeNK/g gAbYhaVnFPDTiYYeBezAqZM= =MXez -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Fri Apr 4 08:13:06 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Fri, 04 Apr 2008 08:13:06 +0200 Subject: Monitoring Active Directory In-Reply-To: <20080403221953.16848.qmail@f5mail-237-212.rediffmail.com> References: <20080403221953.16848.qmail@f5mail-237-212.rediffmail.com> Message-ID: <47F5C6F2.2010907@pictura-dp.nl> Hi, AFAIK active directory is just LDAP. So check_ldap might do the trick. Regards, Sander Nair wrote: > > Hi Friends, > > Is there any plugin to monitor Active Directory Service? > > Please give your ideas, > > Thank you, > Nair. > > > > Maruti Dzire > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 08:17:52 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Fri, 4 Apr 2008 11:47:52 +0530 Subject: Monitoring Active Directory References: <20080403221953.16848.qmail@f5mail-237-212.rediffmail.com> <47F5C6F2.2010907@pictura-dp.nl> Message-ID: Monitor active directory services. Monitor active directory perfmon counters. DS Counters. KDC Counters LDAP Counters Monitor Eventlog for AD events. Regards, Narendran Neelamegam Wipro Technologies 9740811699 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 08:54:19 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 04 Apr 2008 08:54:19 +0200 Subject: notification_period, check_period and recovery notifications Message-ID: <1207292059.18060.9.camel@bofh.dtnet.de> Hi I have a question about some time periods and notifications sent out We are still running nagios 1.3 on debian sarge. We have configured notification_period and check_period to 18x7 (06:00-24:00 every day) Now it happens, that (in a distributed system) a service goes down at about 10 pm, so a notification is sent out. Then the service comes up at 4 am and as it event isn't checked no notification is sent out. The service is checked again at 6 am and reported as OK (show in the web-interface) but STILL NO notification is sent out. I don't think this is expected behavior... (especially not expected by me!) As I understood the documentation about notification periods every recovery will be reported as the critical message was sent out. Any ideas about that? 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 09:50:25 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 4 Apr 2008 07:50:25 +0000 Subject: missing cgi scripts In-Reply-To: <13F36D2926AD444697093282F20041B706FE80F8@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B706FE80F8@buf-ex01.cymfony.com> Message-ID: <4b008f7d0804040050n702964fet5ab007f5255b75d3@mail.gmail.com> Install gd, gd-devel before you compile nagios. On Thu, Apr 3, 2008 at 8:41 PM, Seth Simmons wrote: > > I noticed trends, statusmap, histogram cgi scripts are missing. I just > installed gd-devel so I'm assuming those modules are what was missing in > the initial install (someone correct me if other modules might be > required). > > I came across this article... > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > ...problem is, I don't know what folder it is referring to when it says > to run make devclean from nagios source code distribution and rerun the > configuration script. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 10:00:02 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Fri, 4 Apr 2008 09:00:02 +0100 Subject: NDOUtils Problem References: <4DF7CF439F31164B96FC5D175CDF056E38B199@PRO001.protronics.co.uk><2dfcbd1b0804031346m393b5897n67a39c42196a2e74@mail.gmail.com> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E720280@PRO001.protronics.co.uk> > On Thu, Apr 3, 2008 at 4:46 PM, Marcel wrote: > > So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod > > for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it > > works fine. Hold your migration, for a new release of the mod. > > A number of people are working with this and Nagios 3.x, including myself :). > > > > a resolution. I'm at a loss how to proceed with troubleshooting. > > >From my experience and the other posts I have seen on this the problem > is due to some problems in the NDO Utils code that escapes SQL > statements and some INSERT SQL issues related to primary key > violations on tables .. every time I start NDO up in Nagios I see a > number of lines like yours; however, NagVis still works fine and the > other information I need from that database seems to be intact. > > - Max Thanks for the responses. Its not essential that I get this working straight away so I'll probably hang on for a new version - it would be great if you could post here when you have it running. I was going to start looking at NagVis as well, but I guess in my instance it won't work yet because my NDO database is empty? Joe ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 10:50:55 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Fri, 4 Apr 2008 09:50:55 +0100 Subject: NDOUtils Problem References: Message-ID: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> I've double-checked all my config files and all the important settings match yours. I wonder if this is a problem when doing a fresh install on Nagios 3.0 rather than upgrading from previous versions? Joe From: yannig.perre at externe.bnpparibas.com [mailto:yannig.perre at externe.bnpparibas.com] Sent: 04 April 2008 09:30 To: webknowledge at gmail.com; Joe Precious Cc: Nagios-users at lists.sourceforge.net Subject: RE : [Nagios-users] NDOUtils Problem I'm using nagios 3.0 (from b6 through 3.0) and ndoutils 1.4.b7 since a few months against a Solaris 8 without problem. I'm monitoring around 50 servers and 700 services. Here's my configuration: root at xxx # cat ndomod.cfg instance_name=default output_type=unixsocket output=/path/to/nagios/var/ndo.sock tcp_port=5668 # increase this to a higher value if you want to be able to stop ndo2db a long time output_buffer_items=50000 buffer_file=/path/to/nagios /var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=0 root at xxx # cat ndo2db.cfg # set the name of the user launching ndo2db module broker ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/path/to/nagios/var/ndo.sock tcp_port=5668 # config of the mysql backend db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=mysql_user db_pass=mysql_passwd # retention of data max_timedevents_age=1440 max_systemcommands_age=10080 # = 100 days max_servicechecks_age=144000 max_hostchecks_age=10080 max_eventhandlers_age=44640 debug_level=1 debug_verbosity=0 debug_file=/path/to/nagios/var/ndo.debug max_debug_file_size=1000000 Finaly, nagios.cfg contains this line: # ndoutils broker broker_module=/path/to/nagios/bin/ndomod.o config_file=/path/to/nagios/etc/ndomod.cfg -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de webknowledge at gmail.com Envoy? : jeudi 3 avril 2008 22:47 ? : JoeP at protronics.co.uk Cc : Nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] NDOUtils Problem >From NDOUtils 1.4.b7 Changelog: 1.4b7 - 10/31/2007 ----------------- NOTE: ** Requires Nagios 2.7 or higher, or Nagios 3.0b6 - Makefile fixes for compilation flags - Fix for bug where service check table always had same start/end time - Added sample init script for SLES (Bruno Quintais) - Added --with-ndo2db-user and --with-ndo2db-group configure script options - Fix for configfilevariables table not holding multiple entries for various variables - Changed/added indexes on various DB tables - Added some very basic debug file capabilities (not complete yet) - Fix for handling (backwards) system time changes - Fix for missing SUN_LEN definition and strtof() functions on Solaris 8 (Christian Masopust) - Fix for segfault when importing duplicate log file entries (Hendrik Frenzel) - Updated to support latest Nagios 3.x code (3.0b6) So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it works fine. Hold your migration, for a new release of the mod. Cheers, On Thu, Apr 3, 2008 at 5:22 PM, Joe Precious wrote: Hi I'm having some problems getting NDOUtils running on a new Nagios installation. I have it running fine on a Nagios 3.0rc3 installation on Ubuntu 6.06 server but I need to move to a new server. I've gone to Nagios 3.0 on a Ubuntu 7.10 machine which is all running fine but when I can't get NDOUtils running. I run through the installation several times to make sure I've done everything, double-checked all config files, confirmed the database and access but it won't run. I see the following in the Nagios log:- [04-03-2008 13:32:47] ndomod: Successfully reconnected to data sink! 0 items lost, 78 queued items to flush. [04-03-2008 13:32:31] ndomod: Error writing to data sink! Some output may get lost... [04-03-2008 13:32:31] ndomod: Successfully flushed 289 queued items to data sink. [04-03-2008 13:32:31] ndomod: Successfully reconnected to data sink! 0 items lost, 289 queued items to flush. [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may get lost. 194 queued items to flush. [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0 items lost, 505 queued items to flush. [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may get lost. 424 queued items to flush. [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0 items lost, 588 queued items to flush. [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may get lost. 499 queued items to flush. [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0 items lost, 676 queued items to flush. [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may get lost... [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596) [04-03-2008 13:31:27] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0 queued items to flush. [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [04-03-2008 13:31:27] LOG VERSION: 2.0 [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008 [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594) I've found a few threads on the internet with similar errors but not found a resolution. I'm at a loss how to proceed with troubleshooting. Thanks Joe Joe Precious Protronics Tel: 0845 458 3234 support at protronics.co.uk Fax: 0207 407 2441 -------------------------------------------------------------------------- Business Driven IT Microsoft Gold Certified Partner Cisco SMB Select Partner -------------------------------------------------------------------------- Accounts * Networks * Development * Training -------------------------------------------------------------------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. Do not print this message unless it is necessary, consider the environment. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. N'imprimez ce message que si necessaire, pensez a l'environnement. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Nagel at frankfurter-volksbank.de Fri Apr 4 13:22:35 2008 From: Steffen.Nagel at frankfurter-volksbank.de (Steffen.Nagel at frankfurter-volksbank.de) Date: Fri, 4 Apr 2008 13:22:35 +0200 Subject: =?iso-8859-1?q?Steffen_Nagel_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab Fr 04.04.2008 nicht im B?ro sein. Ich kehre zur?ck am Mo 07.04.2008. In dringenden F?llen wenden Sie sich bitte an H. Gerrit Eifert. I will be out of the office starting 2008/02/24 and will not return until 2008/03/03. Mail will not be forwarded or checked. _____________________________________________________________________________________________________________________________ Frankfurter Volksbank eG BLZ: 50190000 B?rsenstr. 7-11 60313 Frankfurt am Main Postfach 10 08 40 60008 Frankfurt am Main Telefon 069 2172-0 Telefax 069 2172-21501 BIC: FFVBDEFF (S.W.I.F.T.Code) USt.-IdNr.: DE114104100 E-Mail: info at frankfurter-volksbank.de Internet: www.frankfurter-volksbank.de Aufsichtsratsvorsitzender: Dipl.-Volkswirt Manfred Benkert RA, WP, StB Vorstand: Hans-Joachim Tonnellier (Vorsitzender), Heinz Botzum, Helmut Ochs, Peter V?lker, Heinz Wolski Sitz: Frankfurt am Main; eingetragen in das Genossenschaftsregister des Amtsgerichts Frankfurt am Main, Nr.630 Dieses Dokument ist vertraulich und ausschlie?lich f?r den Adressaten bestimmt. Der Inhalt dieser E-Mail bleibt solange unverbindlich, bis Sie eine schriftliche Best?tigung ?ber den Inhalt erhalten. Au?erdem lehnt unser Unternehmen jede Verantwortung und jede Regre?anspr?che ab, solange Sie ohne schriftliche Best?tigung aufgrund dieser E-Mail agieren/reagieren oder davon absehen. Falls Sie diese E-Mail versehentlich bekommen haben, rufen Sie bitte unverz?glich an und l?schen Sie diese Nachricht von Ihrem Computer. Jegliche Art von Reproduktion, Verbreitung, Vervielf?ltigung, Modifikation, Verteilung und/oder Publikation dieser E-Mail Nachricht ist strengstens verboten. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrassic at gmail.com Fri Apr 4 14:19:16 2008 From: agrassic at gmail.com (Antonio Grassi) Date: Fri, 4 Apr 2008 09:19:16 -0300 Subject: NDOUtils Problem In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> Message-ID: <7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com> Joe, maybe you can debug the problem with the debug archive of ndo2db (you set it in the configuration file, and you also set the debug level and verbosity). There you can even see the queries sent to the database, and the errors they generate. I'm using Nagios 3.0 and NDO1.4b7 and I've no problems. Antonio 2008/4/4, Joe Precious : > > I've double-checked all my config files and all the important settings > match yours. > > > > I wonder if this is a problem when doing a fresh install on Nagios 3.0 > rather than upgrading from previous versions? > > > > Joe > > > > *From:* yannig.perre at externe.bnpparibas.com [mailto: > yannig.perre at externe.bnpparibas.com] > *Sent:* 04 April 2008 09:30 > *To:* webknowledge at gmail.com; Joe Precious > *Cc:* Nagios-users at lists.sourceforge.net > *Subject:* RE : [Nagios-users] NDOUtils Problem > > > > I'm using nagios 3.0 (from b6 through 3.0) and ndoutils 1.4.b7 since a few > months against a Solaris 8 without problem. I'm monitoring around 50 servers > and 700 services. > > > > Here's my configuration: > > > > root at xxx # cat ndomod.cfg > > instance_name=default > > output_type=unixsocket > > > > output=/path/to/nagios/var/ndo.sock > > tcp_port=5668 > > # increase this to a higher value if you want to be able to stop ndo2db a > long time > > output_buffer_items=50000 > > buffer_file=/path/to/nagios /var/ndomod.tmp > > file_rotation_interval=14400 > > file_rotation_timeout=60 > > reconnect_interval=15 > > reconnect_warning_interval=15 > > data_processing_options=-1 > > config_output_options=0 > > > > root at xxx # cat ndo2db.cfg > > # set the name of the user launching ndo2db module broker > > ndo2db_user=nagios > > ndo2db_group=nagios > > socket_type=unix > > socket_name=/path/to/nagios/var/ndo.sock > > tcp_port=5668 > > # config of the mysql backend > > db_servertype=mysql > > db_host=localhost > > db_port=3306 > > db_name=nagios > > db_prefix=nagios_ > > db_user=mysql_user > > db_pass=mysql_passwd > > # retention of data > > max_timedevents_age=1440 > > max_systemcommands_age=10080 > > # = 100 days > > max_servicechecks_age=144000 > > max_hostchecks_age=10080 > > max_eventhandlers_age=44640 > > debug_level=1 > > debug_verbosity=0 > > debug_file=/path/to/nagios/var/ndo.debug > > max_debug_file_size=1000000 > > > > Finaly, nagios.cfg contains this line: > > # ndoutils broker > > broker_module=/path/to/nagios/bin/ndomod.o > config_file=/path/to/nagios/etc/ndomod.cfg > > > > -----Message d'origine----- > *De :* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *De la part de* > webknowledge at gmail.com > *Envoy? :* jeudi 3 avril 2008 22:47 > *? :* JoeP at protronics.co.uk > *Cc :* Nagios-users at lists.sourceforge.net > *Objet :* Re: [Nagios-users] NDOUtils Problem > > > > >From NDOUtils 1.4.b7 Changelog: > > 1.4b7 - 10/31/2007 > ----------------- > NOTE: ** Requires Nagios 2.7 or higher, or Nagios 3.0b6 > - Makefile fixes for compilation flags > - Fix for bug where service check table always had same start/end time > - Added sample init script for SLES (Bruno Quintais) > - Added --with-ndo2db-user and --with-ndo2db-group configure script > options > - Fix for configfilevariables table not holding multiple entries for > various variables > - Changed/added indexes on various DB tables > - Added some very basic debug file capabilities (not complete yet) > - Fix for handling (backwards) system time changes > - Fix for missing SUN_LEN definition and strtof() functions on Solaris 8 > (Christian Masopust) > - Fix for segfault when importing duplicate log file entries (Hendrik > Frenzel) > - Updated to support latest Nagios 3.x code (3.0b6) > > So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod > for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it > works fine. Hold your migration, for a new release of the mod. > > Cheers, > > On Thu, Apr 3, 2008 at 5:22 PM, Joe Precious > wrote: > > Hi > > > > I'm having some problems getting NDOUtils running on a new Nagios > installation. I have it running fine on a Nagios 3.0rc3 installation on > Ubuntu 6.06 server but I need to move to a new server. I've gone to Nagios > 3.0 on a Ubuntu 7.10 machine which is all running fine but when I can't get > NDOUtils running. I run through the installation several times to make sure > I've done everything, double-checked all config files, confirmed the > database and access but it won't run. I see the following in the Nagios > log:- > > > > [04-03-2008 13:32:47] ndomod: Successfully reconnected to data sink! 0 > items lost, 78 queued items to flush. > [04-03-2008 13:32:31] ndomod: Error writing to data sink! Some output may > get lost... > [04-03-2008 13:32:31] ndomod: Successfully flushed 289 queued items to > data sink. > [04-03-2008 13:32:31] ndomod: Successfully reconnected to data sink! 0 > items lost, 289 queued items to flush. > [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may > get lost. 194 queued items to flush. > [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0 > items lost, 505 queued items to flush. > [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may > get lost. 424 queued items to flush. > [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0 > items lost, 588 queued items to flush. > [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may > get lost. 499 queued items to flush. > [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0 > items lost, 676 queued items to flush. > [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may > get lost... > [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596) > [04-03-2008 13:31:27] Event broker module > '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. > [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0 > queued items to flush. > [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) > 2005-2007 Ethan Galstad (nagios at nagios.org) > [04-03-2008 13:31:27] LOG VERSION: 2.0 > [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008 > [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594) > > > > I've found a few threads on the internet with similar errors but not found > a resolution. I'm at a loss how to proceed with troubleshooting. > > > > Thanks > > > > Joe > > Joe Precious > Protronics Tel: 0845 458 3234 > support at protronics.co.uk Fax: 0207 407 2441 > -------------------------------------------------------------------------- > Business Driven IT > Microsoft Gold Certified Partner > Cisco SMB Select Partner > -------------------------------------------------------------------------- > Accounts ? Networks ? Development ? Training > -------------------------------------------------------------------------- > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > This message and any attachments (the "message") is > > intended solely for the addressees and is confidential. > > If you receive this message in error, please delete it and > > immediately notify the sender. Any use not in accord with > > its purpose, any dissemination or disclosure, either whole > > or partial, is prohibited except formal approval. The internet > > can not guarantee the integrity of this message. > > BNP PARIBAS (and its subsidiaries) shall (will) not > > therefore be liable for the message if modified. > > Do not print this message unless it is necessary, > > consider the environment. > > > > --------------------------------------------- > > > > Ce message et toutes les pieces jointes (ci-apres le > > "message") sont etablis a l'intention exclusive de ses > > destinataires et sont confidentiels. Si vous recevez ce > > message par erreur, merci de le detruire et d'en avertir > > immediatement l'expediteur. Toute utilisation de ce > > message non conforme a sa destination, toute diffusion > > ou toute publication, totale ou partielle, est interdite, sauf > > autorisation expresse. L'internet ne permettant pas > > d'assurer l'integrite de ce message, BNP PARIBAS (et ses > > filiales) decline(nt) toute responsabilite au titre de ce > > message, dans l'hypothese ou il aurait ete modifie. > > N'imprimez ce message que si necessaire, > > pensez a l'environnement. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 14:37:30 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Fri, 4 Apr 2008 18:07:30 +0530 Subject: nagios Message-ID: Hi All I am getting this error while compiling plugins. check_http.o: In function `check_http': /home/administrator/downloads/nagios-plugins-1.4.11/plugins/check_http.c:785: undefined reference to `np_net_ssl_write' /home/administrator/downloads/nagios-plugins-1.4.11/plugins/check_http.c:789: undefined reference to `np_net_ssl_read' /home/administrator/downloads/nagios-plugins-1.4.11/plugins/check_http.c:828: undefined reference to `np_net_ssl_cleanup' /home/administrator/downloads/nagios-plugins-1.4.11/plugins/check_http.c:734: undefined reference to `np_net_ssl_init' /home/administrator/downloads/nagios-plugins-1.4.11/plugins/check_http.c:736: undefined reference to `np_net_ssl_check_cert' /home/administrator/downloads/nagios-plugins-1.4.11/plugins/check_http.c:737: undefined reference to `np_net_ssl_cleanup' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/home/administrator/downloads/nagios-plugins-1.4.11/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/administrator/downloads/nagios-plugins-1.4.11' make: *** [all] Error 2 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 14:45:24 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Fri, 4 Apr 2008 13:45:24 +0100 Subject: NDOUtils Problem References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> <7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> Hi I?ve enabled logging and it creates the debug file but there?s nothing in it which implies to me that ndo2db is not actually doing anything at all. I guess this ties in with the errors that imply that ndomod can?t connect to the socket. I?ve checked the location of the socket in both configuration files is the same, I?ve also confirmed it exists where it should and the permissions look fine on it (the same as my other server where it works). Is there anyway I can test the connection to the socket? This is starting to get a bit beyond my Linux knowledge. BTW I upgraded to 3.0.1 in case this helped but it didn?t! Thanks Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi Sent: 04 April 2008 13:19 To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE : NDOUtils Problem Joe, maybe you can debug the problem with the debug archive of ndo2db (you set it in the configuration file, and you also set the debug level and verbosity). There you can even see the queries sent to the database, and the errors they generate. I'm using Nagios 3.0 and NDO1.4b7 and I've no problems. Antonio 2008/4/4, Joe Precious : I've double-checked all my config files and all the important settings match yours. I wonder if this is a problem when doing a fresh install on Nagios 3.0 rather than upgrading from previous versions? Joe From: yannig.perre at externe.bnpparibas.com [mailto:yannig.perre at externe.bnpparibas.com] Sent: 04 April 2008 09:30 To: webknowledge at gmail.com; Joe Precious Cc: Nagios-users at lists.sourceforge.net Subject: RE : [Nagios-users] NDOUtils Problem I'm using nagios 3.0 (from b6 through 3.0) and ndoutils 1.4.b7 since a few months against a Solaris 8 without problem. I'm monitoring around 50 servers and 700 services. Here's my configuration: root at xxx # cat ndomod.cfg instance_name=default output_type=unixsocket output=/path/to/nagios/var/ndo.sock tcp_port=5668 # increase this to a higher value if you want to be able to stop ndo2db a long time output_buffer_items=50000 buffer_file=/path/to/nagios /var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=0 root at xxx # cat ndo2db.cfg # set the name of the user launching ndo2db module broker ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/path/to/nagios/var/ndo.sock tcp_port=5668 # config of the mysql backend db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=mysql_user db_pass=mysql_passwd # retention of data max_timedevents_age=1440 max_systemcommands_age=10080 # = 100 days max_servicechecks_age=144000 max_hostchecks_age=10080 max_eventhandlers_age=44640 debug_level=1 debug_verbosity=0 debug_file=/path/to/nagios/var/ndo.debug max_debug_file_size=1000000 Finaly, nagios.cfg contains this line: # ndoutils broker broker_module=/path/to/nagios/bin/ndomod.o config_file=/path/to/nagios/etc/ndomod.cfg -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de webknowledge at gmail.com Envoy? : jeudi 3 avril 2008 22:47 ? : JoeP at protronics.co.uk Cc : Nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] NDOUtils Problem >From NDOUtils 1.4.b7 Changelog: 1.4b7 - 10/31/2007 ----------------- NOTE: ** Requires Nagios 2.7 or higher, or Nagios 3.0b6 - Makefile fixes for compilation flags - Fix for bug where service check table always had same start/end time - Added sample init script for SLES (Bruno Quintais) - Added --with-ndo2db-user and --with-ndo2db-group configure script options - Fix for configfilevariables table not holding multiple entries for various variables - Changed/added indexes on various DB tables - Added some very basic debug file capabilities (not complete yet) - Fix for handling (backwards) system time changes - Fix for missing SUN_LEN definition and strtof() functions on Solaris 8 (Christian Masopust) - Fix for segfault when importing duplicate log file entries (Hendrik Frenzel) - Updated to support latest Nagios 3.x code (3.0b6) So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it works fine. Hold your migration, for a new release of the mod. Cheers, On Thu, Apr 3, 2008 at 5:22 PM, Joe Precious wrote: Hi I'm having some problems getting NDOUtils running on a new Nagios installation. I have it running fine on a Nagios 3.0rc3 installation on Ubuntu 6.06 server but I need to move to a new server. I've gone to Nagios 3.0 on a Ubuntu 7.10 machine which is all running fine but when I can't get NDOUtils running. I run through the installation several times to make sure I've done everything, double-checked all config files, confirmed the database and access but it won't run. I see the following in the Nagios log:- [04-03-2008 13:32:47] ndomod: Successfully reconnected to data sink! 0 items lost, 78 queued items to flush. [04-03-2008 13:32:31] ndomod: Error writing to data sink! Some output may get lost... [04-03-2008 13:32:31] ndomod: Successfully flushed 289 queued items to data sink. [04-03-2008 13:32:31] ndomod: Successfully reconnected to data sink! 0 items lost, 289 queued items to flush. [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may get lost. 194 queued items to flush. [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0 items lost, 505 queued items to flush. [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may get lost. 424 queued items to flush. [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0 items lost, 588 queued items to flush. [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may get lost. 499 queued items to flush. [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0 items lost, 676 queued items to flush. [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may get lost... [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596) [04-03-2008 13:31:27] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0 queued items to flush. [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [04-03-2008 13:31:27] LOG VERSION: 2.0 [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008 [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594) I've found a few threads on the internet with similar errors but not found a resolution. I'm at a loss how to proceed with troubleshooting. Thanks Joe Joe Precious Protronics Tel: 0845 458 3234 support at protronics.co.uk Fax: 0207 407 2441 -------------------------------------------------------------------------- Business Driven IT Microsoft Gold Certified Partner Cisco SMB Select Partner -------------------------------------------------------------------------- Accounts ? Networks ? Development ? Training -------------------------------------------------------------------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. Do not print this message unless it is necessary, consider the environment. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. N'imprimez ce message que si necessaire, pensez a l'environnement. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Fri Apr 4 15:11:20 2008 From: rupertt at gmail.com (Heiko) Date: Fri, 4 Apr 2008 15:11:20 +0200 Subject: best way to monitor 2nd nic and vlan IP Message-ID: <537dcd6b0804040611l6b13247w8d236c5ea83db2db@mail.gmail.com> Hello, I have some servers that use 2 Network Cards and also have some VLAN tagged on these devices, How can I configure nagios to check these without having to add a seperate host for each interface, vlan. I would like to click on the host and see all the info at once. thx and greetings Heiko ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 15:43:02 2008 From: jfaulkne at icontact.com (Jason L. Faulkner) Date: Fri, 4 Apr 2008 09:43:02 -0400 (EDT) Subject: best way to monitor 2nd nic and vlan IP In-Reply-To: <537dcd6b0804040611l6b13247w8d236c5ea83db2db@mail.gmail.com> References: <537dcd6b0804040611l6b13247w8d236c5ea83db2db@mail.gmail.com> Message-ID: <10936761.220201207316582972.JavaMail.root@mail.broadwick.com> The way I do this is by making a custom command, called something like "check_ping_ip" which allows me to specify the IP/DNS to ping as a command argument. -- Jason Faulkner Lead Systems Engineer iContact Corporation ----- Original Message ----- From: "Heiko" To: nagios-users at lists.sourceforge.net Sent: Friday, April 4, 2008 9:11:20 AM (GMT-0500) America/New_York Subject: [Nagios-users] best way to monitor 2nd nic and vlan IP Hello, I have some servers that use 2 Network Cards and also have some VLAN tagged on these devices, How can I configure nagios to check these without having to add a seperate host for each interface, vlan. I would like to click on the host and see all the info at once. thx and greetings Heiko ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 15:48:10 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 04 Apr 2008 15:48:10 +0200 Subject: nagios In-Reply-To: References: Message-ID: <47F6319A.9010101@googlemail.com> Pallav.S.Gupta at relianceada.com schrieb: > I am getting this error while compiling plugins. get openssl-devel for your distribution. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmw at tiger-computing.co.uk Fri Apr 4 15:58:51 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Fri, 4 Apr 2008 14:58:51 +0100 Subject: Notification - escalation question In-Reply-To: <47F15A8E.3010400@vanderkooij.org> References: <47F15A8E.3010400@vanderkooij.org> Message-ID: <20080404145851.40e520ff@tclmmw.in.tiger-computing.com> On Mon, 31 Mar 2008 23:41:34 +0200 Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > joop3 wrote: > > | This is what I would like to achieve: > | > | When a host goes down, > | send out one email to helpdesk. > | > | When the host is still down after 1 hour, > | send out one email to helpdesk manager. > > > .... > | define hostescalation { > | first_notification 12 > | last_notification 13 > > That means you want to use the 12th and 13th normal notification to be > used to escalate. > > But if you fire only 1 message how wil you escalate on the 12th and > 13th message? Try setting the first_notification to either 1 or 2. I've not tested this, it just seems to be logical. Regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrassic at gmail.com Fri Apr 4 16:21:03 2008 From: agrassic at gmail.com (Antonio Grassi) Date: Fri, 4 Apr 2008 11:21:03 -0300 Subject: NDOUtils Problem In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> <7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com> <4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> Message-ID: <7fb931000804040721q7ae047b3xd9b613f35b0e6739@mail.gmail.com> Joe, can you please paste your ndomod.cfg and ndo2db.cfg files (without comments)? 2008/4/4, Joe Precious : > > Hi > > > > I've enabled logging and it creates the debug file but there's nothing in > it which implies to me that ndo2db is not actually doing anything at all. I > guess this ties in with the errors that imply that ndomod can't connect to > the socket. > > > > I've checked the location of the socket in both configuration files is the > same, I've also confirmed it exists where it should and the permissions look > fine on it (the same as my other server where it works). > > > > Is there anyway I can test the connection to the socket? This is starting > to get a bit beyond my Linux knowledge. > > > > BTW I upgraded to 3.0.1 in case this helped but it didn't! > > > > Thanks > > > > Joe > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Antonio Grassi > *Sent:* 04 April 2008 13:19 > *To:* Nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] RE : NDOUtils Problem > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 4 16:22:05 2008 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 4 Apr 2008 10:22:05 -0400 Subject: Problem With Graphs in Pnp4nagios Message-ID: Hi there -- I have installed the Pnp4nagios software onto our Nagios 2.6 system. The server is using the php 5.1.6 release. As part of the installation procedure, I created an entry in the serviceextinfo.cfg file shown below: define serviceextinfo{ host_name gray service_description Web Server Status action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } The service description is a copy of the same line for the host in question within the services.cfg file. I ran the nagios -v nagios.cfg command to confirm there were no errors. There were several other checks associated with the host, but I did not include them in the serviceextinfo file. I restarted Nagios, and waited for an hour for graphs and other information to be generated on-screen. So far there has not been any information appearing on the php page. I checked the hostname directory under perfdata, and there are rrd and xml files being generated. Here is a screenshot of what is occurring: To verify that php is full operational, I installed the query.php, or Network Query, tool into the base directory of the Apache server, and I was able to see and use it without a problem. It appears there is a problem with php somewhere, but I am not sure where the problem lies. Does anyone have an idea as to what other step(s) do I need to take? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 55155 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrassic at gmail.com Fri Apr 4 16:24:21 2008 From: agrassic at gmail.com (Antonio Grassi) Date: Fri, 4 Apr 2008 11:24:21 -0300 Subject: NDOUtils Problem In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> <7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com> <4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> Message-ID: <7fb931000804040724y49e88bd8r10a2e13a6f9b8245@mail.gmail.com> Also, do those errors always arise, or are there ocasions in with the data is succesfully writen? 2008/4/4, Joe Precious : > > Hi > > > > I've enabled logging and it creates the debug file but there's nothing in > it which implies to me that ndo2db is not actually doing anything at all. I > guess this ties in with the errors that imply that ndomod can't connect to > the socket. > > > > I've checked the location of the socket in both configuration files is the > same, I've also confirmed it exists where it should and the permissions look > fine on it (the same as my other server where it works). > > > > Is there anyway I can test the connection to the socket? This is starting > to get a bit beyond my Linux knowledge. > > > > BTW I upgraded to 3.0.1 in case this helped but it didn't! > > > > Thanks > > > > Joe > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 16:28:25 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Fri, 4 Apr 2008 15:28:25 +0100 Subject: NDOUtils Problem References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk><7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com><4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> <7fb931000804040721q7ae047b3xd9b613f35b0e6739@mail.gmail.com> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E720299@PRO001.protronics.co.uk> Config files are below. I always get the errors ? nothing has been written to the database yet (NDOUtils was installed yesterday morning). Thanks ndomod.cfg:- instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock tcp_port=5668 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 ndo2db.cfg:- ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=nagios db_pass= max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 debug_level=-1 debug_verbosity=2 debug_file=/var/log/ndo2db.debug max_debug_file_size=1000000 From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi Sent: 04 April 2008 15:21 To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE : NDOUtils Problem Joe, can you please paste your ndomod.cfg and ndo2db.cfg files (without comments)? 2008/4/4, Joe Precious : Hi I've enabled logging and it creates the debug file but there's nothing in it which implies to me that ndo2db is not actually doing anything at all. I guess this ties in with the errors that imply that ndomod can't connect to the socket. I've checked the location of the socket in both configuration files is the same, I've also confirmed it exists where it should and the permissions look fine on it (the same as my other server where it works). Is there anyway I can test the connection to the socket? This is starting to get a bit beyond my Linux knowledge. BTW I upgraded to 3.0.1 in case this helped but it didn't! Thanks Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi Sent: 04 April 2008 13:19 To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE : NDOUtils Problem -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 16:39:11 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 04 Apr 2008 10:39:11 -0400 Subject: best way to monitor 2nd nic and vlan IP In-Reply-To: <537dcd6b0804040611l6b13247w8d236c5ea83db2db@mail.gmail.com> References: <537dcd6b0804040611l6b13247w8d236c5ea83db2db@mail.gmail.com> Message-ID: <1207319951.12773.88.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Fri, 2008-04-04 at 15:11 +0200, Heiko wrote: > Hello, > > I have some servers that use 2 Network Cards and also have some VLAN > tagged on these devices, That is the universal connumdrum of the nagios data structures revolving around hosts. If you were monitoring a router, you would indeed monitor ever interface. I would designate a "administrative" interface, by which you can check the status of the other interfaces on the system using NRPE remote checks and/or check_snmp on the interface MIBs. There's a thousand different ways that you can do it. ~BAS > How can I configure nagios to check these without having to add a > seperate host for each interface, vlan. > I would like to click on the host and see all the info at once. > > > thx and greetings > > > Heiko > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From newcombe at mordor.clayton.edu Fri Apr 4 16:48:18 2008 From: newcombe at mordor.clayton.edu (Dan Newcombe) Date: Fri, 04 Apr 2008 10:48:18 -0400 Subject: per host service notifications In-Reply-To: <200804032354.49516.cschneemann@suse.de> References: <47F540B0.9080906@mordor.clayton.edu> <200804032354.49516.cschneemann@suse.de> Message-ID: <47F63FB2.4060302@mordor.clayton.edu> Christian Schneemann wrote: > > That is the same question I sent to the list 3 hours ago. I simple removed the > contacts and contact_groups from the service definition. It seems that the > contacts and contact_groups defined for the host are used, But I could also > be a bug, I haven't tested it for a longer timeperiod, just a short test. > > Maybe you could give it a test too and we can combine our experiences? Or > anyone can advice us to the right manualpage? > Sorry I didn't see your post. The folder my nagios mail comes too was corrupted when I went to send mine. lol. I will try what you did and see if that works. Since I'm still in testing, I am more than glad to let it run like that for a longer time period. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 16:53:46 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Fri, 04 Apr 2008 08:53:46 -0600 Subject: Notification - escalation question In-Reply-To: References: <47F15A8E.3010400@vanderkooij.org> Message-ID: <1207320826.30524.29.camel@sidhqmis4grdv91> For Nagios 3.x: http://nagios.sourceforge.net/docs/3_0/escalations.html For Nagios 2.x: http://nagios.sourceforge.net/docs/2_0/escalations.html On Fri, 2008-04-04 at 05:37 +0000, joop3 wrote: > > Hmm, I was hoping someone could help. > > Basically I wan't one notification to the helpdesk > when a host goes down. > Then one notification, let's say 1 hour later to the > helpdesk manager. > > How can I accomplish this? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Fri Apr 4 17:07:28 2008 From: rupertt at gmail.com (Heiko) Date: Fri, 4 Apr 2008 17:07:28 +0200 Subject: best way to monitor 2nd nic and vlan IP In-Reply-To: <1207319951.12773.88.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <537dcd6b0804040611l6b13247w8d236c5ea83db2db@mail.gmail.com> <1207319951.12773.88.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <537dcd6b0804040807r230259a7waf81778f4f3e1a40@mail.gmail.com> Hello, thx for the replies, currently I use the way Jason discrebed. I just created a command that gets the IP, some more work to add new hosts/Interfaces but it works fine. define command{ command_name check_ping_vhost command_line $USER1$/check_icmp -H $ARG1$ -w $ARG2$ -c $ARG3$ } efine service{ host_name test service_description PING_v1 check_command check_ping_vhost!172.23.21.122!100.0,20%!500.0,60% max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,u,c,r,f contact_groups all } greetings Heiko On Fri, Apr 4, 2008 at 4:39 PM, Brian A. Seklecki wrote: > > On Fri, 2008-04-04 at 15:11 +0200, Heiko wrote: > > Hello, > > > > I have some servers that use 2 Network Cards and also have some VLAN > > tagged on these devices, > > That is the universal connumdrum of the nagios data structures revolving > around hosts. > > If you were monitoring a router, you would indeed monitor ever > interface. > > I would designate a "administrative" interface, by which you can check > the status of the other interfaces on the system using NRPE remote > checks and/or check_snmp on the interface MIBs. > > There's a thousand different ways that you can do it. > > ~BAS > > > > How can I configure nagios to check these without having to add a > > seperate host for each interface, vlan. > > I would like to click on the host and see all the info at once. > > > > > > thx and greetings > > > > > > Heiko > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Apr 4 17:09:11 2008 From: marc at ena.com (Marc Powell) Date: Fri, 4 Apr 2008 10:09:11 -0500 Subject: per host service notifications In-Reply-To: <47F63FB2.4060302@mordor.clayton.edu> References: <47F63FB2.4060302@mordor.clayton.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Dan Newcombe > Sent: Friday, April 04, 2008 9:48 AM > To: Christian Schneemann > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] per host service notifications > > Christian Schneemann wrote: > > > > That is the same question I sent to the list 3 hours ago. I simple removed > the > > contacts and contact_groups from the service definition. It seems that the > > contacts and contact_groups defined for the host are used, But I could also > > be a bug, I haven't tested it for a longer timeperiod, just a short test. > > > > Maybe you could give it a test too and we can combine our experiences? Or > > anyone can advice us to the right manualpage? > > > Sorry I didn't see your post. The folder my nagios mail comes too was > corrupted when I went to send mine. lol. > > I will try what you did and see if that works. Since I'm still in > testing, I am more than glad to let it run like that for a longer time > period. I can't find reference to it now but I can't shake the nagging feeling that I saw this in a changelog or email as a new feature of nagios-3. Is that what you are using? Perhaps my memory hiccup will jog someone else's... -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From newcombe at mordor.clayton.edu Fri Apr 4 17:20:22 2008 From: newcombe at mordor.clayton.edu (Dan Newcombe) Date: Fri, 04 Apr 2008 11:20:22 -0400 Subject: per host service notifications In-Reply-To: References: Message-ID: <47F64736.9060203@mordor.clayton.edu> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Dan Newcombe >> Sent: Friday, April 04, 2008 9:48 AM >> To: Christian Schneemann >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] per host service notifications >> >> Christian Schneemann wrote: >> >>> That is the same question I sent to the list 3 hours ago. I simple >>> > removed > >> the >> >>> contacts and contact_groups from the service definition. It seems >>> > that the > >>> contacts and contact_groups defined for the host are used, But I >>> > could also > >>> be a bug, I haven't tested it for a longer timeperiod, just a short >>> > test. > >>> Maybe you could give it a test too and we can combine our >>> > experiences? Or > >>> anyone can advice us to the right manualpage? >>> >>> >> Sorry I didn't see your post. The folder my nagios mail comes too was >> corrupted when I went to send mine. lol. >> >> I will try what you did and see if that works. Since I'm still in >> testing, I am more than glad to let it run like that for a longer time >> period. >> > > I can't find reference to it now but I can't shake the nagging feeling > that I saw this in a changelog or email as a new feature of nagios-3. Is > that what you are using? Perhaps my memory hiccup will jog someone > else's... > I removed all the contact_groups options from the service definition, the template for that service and the template for the host. The only place a contactgroup appears is in the file that defines the host. I receive a warning when running a sanity check that there are no default contact groups defined for that service on that host. When downing the service, no notification is sent out. I added the contact_groups back to the service definition and a notification was sent out. This was done just to verify that notifications were working. So it appears in my case that this doesn't work :( This is on v2.6 from the Debian etch release. I just found this in the v3.0 upgrade notes: Services now inherit contact groups, notification interval, and notification period from their associated host if not otherwise specified. I guess I see an upgrade in my near future :| ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joop3 at gmx.net Fri Apr 4 17:41:34 2008 From: joop3 at gmx.net (joop3) Date: Fri, 4 Apr 2008 15:41:34 +0000 (UTC) Subject: Notification - escalation question References: <47F15A8E.3010400@vanderkooij.org> <20080404145851.40e520ff@tclmmw.in.tiger-computing.com> Message-ID: > > On Mon, 31 Mar 2008 23:41:34 +0200 > Hugo van der Kooij vanderkooij.org> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > joop3 wrote: > > > > | This is what I would like to achieve: > > | > > | When a host goes down, > > | send out one email to helpdesk. > > | > > | When the host is still down after 1 hour, > > | send out one email to helpdesk manager. > > > > > > .... > > | define hostescalation { > > | first_notification 12 > > | last_notification 13 > > > > That means you want to use the 12th and 13th normal notification to be > > used to escalate. > > > > But if you fire only 1 message how wil you escalate on the 12th and > > 13th message? > > Try setting the first_notification to either 1 or 2. > > I've not tested this, it just seems to be logical. > > Regards, > > Matt > Hmm, OF course I've read the docs before even thinking of posting a message. It looks like I'm missing some logic here. I made a normal notification that sends out only one mail, which I want. To accomplish this, I set the notification interval to '0' So how then is the logic when for that same outage I want an escalation 1 hour later? Is this only possible by enabling more notification thru the normal notification scheme? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gene at ots.utsystem.edu Fri Apr 4 19:19:34 2008 From: gene at ots.utsystem.edu (Gene Titus) Date: Fri, 04 Apr 2008 12:19:34 -0500 Subject: check_snmp and negative numbers. Message-ID: <47F66326.3050202@ots.utsystem.edu> I'm trying to use check_snmp to look at light values on fiber comnnections measured in dBM. The values are negative. When I run check_snmp on them I get positive values. I don't mind working with positive values with warn /critical setting, but it would be nice to know if check_snmp will always convert negative to positive or if in the future, negative values will be allowed and all my fiber connectios will go critical?? Thanks. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carl.Friend at mathworks.com Fri Apr 4 19:25:02 2008 From: Carl.Friend at mathworks.com (Carl Friend) Date: Fri, 4 Apr 2008 13:25:02 -0400 Subject: Scheduled host downtime and "unhandled services" in "Tactical Overview" In-Reply-To: <47F64736.9060203@mordor.clayton.edu> References: <47F64736.9060203@mordor.clayton.edu> Message-ID: <0528A1CB48AB5B4FA0D8FD7E0D94D81D3EF0DBF852@EXCHANGE-AH.ad.mathworks.com> G'day folks, My immediate Management have begun to take notice of the Nagios implementation we've been running for the past two years, and now want to use it as a "management dashboard" to identify potential problems. Now, whilst Nagios is a superb tool for the technician, it's not so hot for non-technical folks who, in this case, tend to lose control of their bodily functions when they see something in red on a screen. Here's the quandry: If we put a host into "scheduled downtime" one would expect that the services would go into the same state, and, in point of fact, they *do* from the standpoint of notifications; however, in the "Tactical Overview" page, services on hosts that are in scheduled downtime show up as "unhandled" and are in that nice bright red colour that makes Managers go positively bats. Is there a way to have the "host downtime" automatically set the services on that host for scheduled downtime as well? I looked through the doco, but nothing lept out at me, and I figured it'd be easier to ask than to immediately go and hack code. Thanks in advance! Cheers. +-----------------------------------------+----------------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts, USA | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +----------------------------+ | http://users.rcn.com/crfriend/museum | ICBM: +42:18:00 -71:21:03 | +-----------------------------------------+----------------------------+ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 19:42:45 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Fri, 04 Apr 2008 11:42:45 -0600 Subject: Scheduled host downtime and "unhandled services" in "Tactical Overview" In-Reply-To: <0528A1CB48AB5B4FA0D8FD7E0D94D81D3EF0DBF852@EXCHANGE-AH.ad.mathworks.com> References: <47F64736.9060203@mordor.clayton.edu> <0528A1CB48AB5B4FA0D8FD7E0D94D81D3EF0DBF852@EXCHANGE-AH.ad.mathworks.com> Message-ID: <1207330965.868.31.camel@sidhqmis4grdv91> It's not automatic, but you can set downtime for all service on a host using external commands. Not sure how it would be done in the GUI, or if it can be done that way. http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=122 I have written a utility that will allow you to do it from the cmdline: http://www.sweetdeliah.com/nagios/downtime/ enjoy On Fri, 2008-04-04 at 13:25 -0400, Carl Friend wrote: > G'day folks, > > My immediate Management have begun to take notice of the Nagios > implementation we've been running for the past two years, and now > want to use it as a "management dashboard" to identify potential > problems. Now, whilst Nagios is a superb tool for the technician, > it's not so hot for non-technical folks who, in this case, tend > to lose control of their bodily functions when they see something > in red on a screen. > > Here's the quandry: If we put a host into "scheduled downtime" > one would expect that the services would go into the same state, > and, in point of fact, they *do* from the standpoint of notifications; > however, in the "Tactical Overview" page, services on hosts that are > in scheduled downtime show up as "unhandled" and are in that nice > bright red colour that makes Managers go positively bats. > > Is there a way to have the "host downtime" automatically set the > services on that host for scheduled downtime as well? I looked > through the doco, but nothing lept out at me, and I figured it'd > be easier to ask than to immediately go and hack code. > > Thanks in advance! > > Cheers. > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrassic at gmail.com Fri Apr 4 19:53:01 2008 From: agrassic at gmail.com (Antonio Grassi) Date: Fri, 4 Apr 2008 14:53:01 -0300 Subject: NDOUtils Problem In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E720299@PRO001.protronics.co.uk> References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> <7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com> <4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> <7fb931000804040721q7ae047b3xd9b613f35b0e6739@mail.gmail.com> <4DF7CF439F31164B96FC5D175CDF056E720299@PRO001.protronics.co.uk> Message-ID: <7fb931000804041053j386f906eu723a08e63def0f7d@mail.gmail.com> I assume, as you have said, that /usr/local/nagios/var/ndo.sock has write permissions for the user/group that Nagios daemon runs as. In the file src/io.c, line 225, is the function ndo_sink_write, wich is returning the value NDO_ERROR and causing the function ndomod_write_to_sink in file src/ndomod.c to log the error "Error writing to data sink!" (that same function is also the one that succesfully reconnects to data sink). Maybe you can get more info about the problem, examining the errno variable after the "write" call in ndo_sink_write. You can modify the line 733 in ndomod.c for something like this: asprintf(&temp_buffer,"ndomod: Error writing to data sink (%d - %s)! Some output may get lost. %lu queued items to flush.",errno,strerror(errno), sinkbuf.items); The function strerror gives you a very short description of the error, and is defined in string.h The error codes should be defined in /usr/include/asm-generic/errno.h If the permissions are ok (which seems to be the case due to the unix socket being opened for writing succesfully), maybe there is a problem with ndo2db disconnecting for some reason in the other extreme of the socket. You can also use netstat -a to see if the ndo2db daemon is listening on the specified socket, before and after getting up nagios. Also, I think that the ndo2db daemon should at least log a query like "SELECT instance_id FROM ...", which is one of the first things that ndo2db does after connecting to the database (in ndo2db_db_hello() in src/db.c), so maybe it's the ndo2db daemon failing to connect to database (or to listen on the unix socket). The function that connects to the database is ndo2db_db_connect, which sends (un)success messages to syslog. Well, I've no more ideas at the moment. 2008/4/4, Joe Precious : > > Config files are below. I always get the errors ? nothing has been > written to the database yet (NDOUtils was installed yesterday morning). > > > > Thanks > > > > ndomod.cfg:- > > > > instance_name=default > > output_type=unixsocket > > output=/usr/local/nagios/var/ndo.sock > > tcp_port=5668 > > output_buffer_items=5000 > > buffer_file=/usr/local/nagios/var/ndomod.tmp > > file_rotation_interval=14400 > > file_rotation_timeout=60 > > reconnect_interval=15 > > reconnect_warning_interval=15 > > data_processing_options=-1 > > config_output_options=2 > > > > ndo2db.cfg:- > > > > ndo2db_user=nagios > > ndo2db_group=nagios > > socket_type=unix > > socket_name=/usr/local/nagios/var/ndo.sock > > tcp_port=5668 > > db_servertype=mysql > > db_host=localhost > > db_port=3306 > > db_name=nagios > > db_prefix=nagios_ > > db_user=nagios > > db_pass= > > max_timedevents_age=1440 > > max_systemcommands_age=10080 > > max_servicechecks_age=10080 > > max_hostchecks_age=10080 > > max_eventhandlers_age=44640 > > debug_level=-1 > > debug_verbosity=2 > > debug_file=/var/log/ndo2db.debug > > max_debug_file_size=1000000 > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Antonio Grassi > *Sent:* 04 April 2008 15:21 > *To:* Nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] RE : NDOUtils Problem > > > > Joe, can you please paste your ndomod.cfg and ndo2db.cfg files (without > comments)? > > 2008/4/4, Joe Precious : > > Hi > > > > I've enabled logging and it creates the debug file but there's nothing in > it which implies to me that ndo2db is not actually doing anything at all. I > guess this ties in with the errors that imply that ndomod can't connect to > the socket. > > > > I've checked the location of the socket in both configuration files is the > same, I've also confirmed it exists where it should and the permissions look > fine on it (the same as my other server where it works). > > > > Is there anyway I can test the connection to the socket? This is starting > to get a bit beyond my Linux knowledge. > > > > BTW I upgraded to 3.0.1 in case this helped but it didn't! > > > > Thanks > > > > Joe > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Antonio Grassi > *Sent:* 04 April 2008 13:19 > *To:* Nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] RE : NDOUtils Problem > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 19:58:24 2008 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Fri, 4 Apr 2008 13:58:24 -0400 Subject: aix/hpux/sun nrpe nsca nagiosplugin binaries Message-ID: <2274b9c30804041058s3bef9cfjaeb56ef40b23549f@mail.gmail.com> Hi, I finally got around to compiling binaries for some of the platforms we use: NRPE 2.12 NSCA 2.7.2 Nagios-Plugins-1.4.11 AIX 5.3 HP-UX 10.20, 11.00 SunOS 5.8, 5.10 Enjoy! Kyle ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrassic at gmail.com Fri Apr 4 20:02:00 2008 From: agrassic at gmail.com (Antonio Grassi) Date: Fri, 4 Apr 2008 15:02:00 -0300 Subject: NDOUtils Problem In-Reply-To: <4DF7CF439F31164B96FC5D175CDF056E720299@PRO001.protronics.co.uk> References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk> <7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com> <4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk> <7fb931000804040721q7ae047b3xd9b613f35b0e6739@mail.gmail.com> <4DF7CF439F31164B96FC5D175CDF056E720299@PRO001.protronics.co.uk> Message-ID: <7fb931000804041102k37c008d0u8f1620299605edfd@mail.gmail.com> One last thing: does the ndo2db daemon have permission to write to /var/log/ndo2db.debug? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 20:09:07 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 4 Apr 2008 11:09:07 -0700 Subject: Notification - escalation question In-Reply-To: References: <47F15A8E.3010400@vanderkooij.org> <20080404145851.40e520ff@tclmmw.in.tiger-computing.com> Message-ID: <20080404180907.GE30359@bakgwai.americas.hpqcorp.net> Moin joop3! joop3 schrieb am Friday, den 04. April 2008: > > > > On Mon, 31 Mar 2008 23:41:34 +0200 > > Hugo van der Kooij vanderkooij.org> wrote: > > OF course I've read the docs before even > thinking of posting a message. > > It looks like I'm missing some logic here. > > I made a normal notification that sends out only one > mail, which I want. To accomplish this, I set the > notification interval to '0' > > So how then is the logic when for that same outage I want > an escalation 1 hour later? Set your notification interval to 60, and set up an escalation for the second notification. Your notification interval of 0 will effective stop escalations from ever happening, since there's no second notification to escalate. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joop3 at gmx.net Fri Apr 4 21:55:58 2008 From: joop3 at gmx.net (joop3) Date: Fri, 4 Apr 2008 19:55:58 +0000 (UTC) Subject: Notification - escalation question References: <47F15A8E.3010400@vanderkooij.org> <20080404145851.40e520ff@tclmmw.in.tiger-computing.com> <20080404180907.GE30359@bakgwai.americas.hpqcorp.net> Message-ID: Patrick Morris hp.com> writes: > > Moin joop3! > > joop3 schrieb am Friday, den 04. April 2008: > > > > > > > On Mon, 31 Mar 2008 23:41:34 +0200 > > > Hugo van der Kooij vanderkooij.org> wrote: > > > > OF course I've read the docs before even > > thinking of posting a message. > > > > It looks like I'm missing some logic here. > > > > I made a normal notification that sends out only one > > mail, which I want. To accomplish this, I set the > > notification interval to '0' > > > > So how then is the logic when for that same outage I want > > an escalation 1 hour later? > > Set your notification interval to 60, and set up an escalation for the > second notification. Your notification interval of 0 will effective > stop escalations from ever happening, since there's no second > notification to escalate. > Hello Patrick, Aha, I start to understand it. So the notification interval a bit higher to 60, and the escalation on 2. But what will happen then after the escalation, then after an hour (suppose the outage is still there) will the helpdesk be notified again? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.calcote at gmail.com Fri Apr 4 22:50:28 2008 From: john.calcote at gmail.com (John Calcote) Date: Fri, 04 Apr 2008 14:50:28 -0600 Subject: DNX version 0.17 released! Now officially supports Nagios 3.x Message-ID: <47F69494.1040303@gmail.com> Hi everyone, Just a quick note to let you know that DNX version 0.17 is out the door, with official support for Nagios 3, including versions 3.0 and 3.0.1. The following fixes an enhancments are available in DNX 0.17: - Fixed race condition and deadlock in worker cleanup code in client. - Added --enable-debug-heap option to configure script. - Added --enable-debug-locks option to configure script. - Added additional text to configure output to explain build process. - Added official support for Nagios 3.x through 3.0.1. - Added detailed DNX build and installation information to the INSTALL document. - Enhanced --help text in dnxstats utility. - Enhanced logging support. - Fixed defect in config parser for boolean type. - Added escaped XML string code - thanks to William Leibzon. - Enhanced Autotools build system in minor ways. I'm happy to say that this version of DNX client has been up and running on three test nodes in our 12,000 check stage system for over 24 hours now, with a current total check service of over 150,000 checks. This is the most stable DNX system yet. Enjoy! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 5 00:14:10 2008 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 4 Apr 2008 18:14:10 -0400 Subject: Nagios 3.0 Scheduling queue not progressing Message-ID: <91eedcbf0804041514p4d4f706cua415b4ab34d53281@mail.gmail.com> Hi everyone, I recently upgraded from Nagios 2.9 to 3.0 on Solaris 10 x86. I've run into an issue where nothing is being checked and the scheduling queue appears stuck. No matter how long I let Nagios run for, the scheduling queue always appears the same. I've enabled debugging and it appears that services are attempting to be checked. However, I can find no evidence of Nagios fork()ing to actually run the check. Any ideas? [1207346965.005764] [008.0] [pid=27581] ** Timed Event ** Type: 0, Run Time: Fri Apr 4 18:09:25 2008 [1207346965.005768] [008.0] [pid=27581] ** Service Check Event ==> Host: 'mtdpr1', Service: 'memory', Options: 0, Latency: 0.005000 sec [1207346965.005778] [001.0] [pid=27581] run_scheduled_service_check() start [1207346965.005783] [016.0] [pid=27581] Attempting to run scheduled check of service 'memory' on host 'mtdpr1': check options=0, latency=0.005000 [1207346965.005789] [001.0] [pid=27581] run_async_service_check() [1207346965.005793] [001.0] [pid=27581] check_service_check_viability() [1207346965.005798] [001.0] [pid=27581] check_time_against_period() [1207346965.005817] [001.0] [pid=27581] check_service_dependencies() [1207346965.005831] [016.0] [pid=27581] Checking service 'memory' on host 'mtdpr1'... [1207346965.005854] [001.0] [pid=27581] get_raw_command_line() [1207346965.005863] [001.0] [pid=27581] process_macros() [1207346965.005870] [001.0] [pid=27581] process_macros() [1207346965.006059] [016.1] [pid=27581] Check result output will be written to '/opt/FONnagios/var/spool/checkresults/checklEaO31' (fd=8) /opt/FONnagios/var/spool/checkresults/checklEaO31: ### Active Check Result File ### file_time=1207346965 ### Nagios Service Check Result ### # Time: Fri Apr 4 18:09:25 2008 host_name=mtdpr1 service_description=memory check_type=0 check_options=0 scheduled_check=1 reschedule_check=1 latency=0.005000 start_time=1207346965.5895 Thanks, Mike ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 5 00:18:41 2008 From: Karl.Yost at iqor.com (Yost, Karl) Date: Fri, 4 Apr 2008 18:18:41 -0400 Subject: Nagios 3.0 Scheduling queue not progressing Message-ID: <88ea01c896a1$d7d4d246$3e03fa0a@us.ad.irmc.com> I had the same thing happen on a 2.10 install, the issue was epn and a service check that didnt work with epn. Not sure if that will help or not. -----Original Message----- From: Mike Emigh Sent: Friday, April 04, 2008 6:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3.0 Scheduling queue not progressing Hi everyone, I recently upgraded from Nagios 2.9 to 3.0 on Solaris 10 x86. I've run into an issue where nothing is being checked and the scheduling queue appears stuck. No matter how long I let Nagios run for, the scheduling queue always appears the same. I've enabled debugging and it appears that services are attempting to be checked. However, I can find no evidence of Nagios fork()ing to actually run the check. Any ideas? [1207346965.005764] [008.0] [pid=27581] ** Timed Event ** Type: 0, Run Time: Fri Apr 4 18:09:25 2008 [1207346965.005768] [008.0] [pid=27581] ** Service Check Event ==> Host: 'mtdpr1', Service: 'memory', Options: 0, Latency: 0.005000 sec [1207346965.005778] [001.0] [pid=27581] run_scheduled_service_check() start [1207346965.005783] [016.0] [pid=27581] Attempting to run scheduled check of service 'memory' on host 'mtdpr1': check options=0, latency=0.005000 [1207346965.005789] [001.0] [pid=27581] run_async_service_check() [1207346965.005793] [001.0] [pid=27581] check_service_check_viability() [1207346965.005798] [001.0] [pid=27581] check_time_against_period() [1207346965.005817] [001.0] [pid=27581] check_service_dependencies() [1207346965.005831] [016.0] [pid=27581] Checking service 'memory' on host 'mtdpr1'... [1207346965.005854] [001.0] [pid=27581] get_raw_command_line() [1207346965.005863] [001.0] [pid=27581] process_macros() [1207346965.005870] [001.0] [pid=27581] process_macros() [1207346965.006059] [016.1] [pid=27581] Check result output will be written to '/opt/FONnagios/var/spool/checkresults/checklEaO31' (fd=8) /opt/FONnagios/var/spool/checkresults/checklEaO31: ### Active Check Result File ### file_time=1207346965 ### Nagios Service Check Result ### # Time: Fri Apr 4 18:09:25 2008 host_name=mtdpr1 service_description=memory check_type=0 check_options=0 scheduled_check=1 reschedule_check=1 latency=0.005000 start_time=1207346965.5895 Thanks, Mike ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 5 00:53:00 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 4 Apr 2008 15:53:00 -0700 Subject: Notification - escalation question In-Reply-To: References: <47F15A8E.3010400@vanderkooij.org> <20080404145851.40e520ff@tclmmw.in.tiger-computing.com> <20080404180907.GE30359@bakgwai.americas.hpqcorp.net> Message-ID: <20080404225300.GF30359@bakgwai.americas.hpqcorp.net> Moin joop3! joop3 schrieb am Friday, den 04. April 2008: > Patrick Morris hp.com> writes: > > > > > Moin joop3! > > > > joop3 schrieb am Friday, den 04. April 2008: > > > > > > > > > > On Mon, 31 Mar 2008 23:41:34 +0200 > > > > Hugo van der Kooij vanderkooij.org> wrote: > > > > > > OF course I've read the docs before even > > > thinking of posting a message. > > > > > > It looks like I'm missing some logic here. > > > > > > I made a normal notification that sends out only one > > > mail, which I want. To accomplish this, I set the > > > notification interval to '0' > > > > > > So how then is the logic when for that same outage I want > > > an escalation 1 hour later? > > > > Set your notification interval to 60, and set up an escalation for the > > second notification. Your notification interval of 0 will effective > > stop escalations from ever happening, since there's no second > > notification to escalate. > > > Hello Patrick, > > Aha, I start to understand it. So the notification interval a > bit higher to 60, and the escalation on 2. > > But what will happen then after the escalation, > then after an hour (suppose the outage is still there) will > the helpdesk be notified again? That depends on how you set up your escalation. It sounds like you want want two escalations: one from notification 1 to notification 1, and a second from notification 2 to notification 2. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 5 08:45:34 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Sat, 5 Apr 2008 12:15:34 +0530 Subject: monitoring windows NT workstation. Message-ID: Hi All I have some servers in NT 4 , in which nsclient++ can't be installed , So how can i make nagios to monitor those NT sytems. Pls help. 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 stava at telcotec.se Sat Apr 5 08:50:24 2008 From: stava at telcotec.se (Lars Stavholm) Date: Sat, 05 Apr 2008 08:50:24 +0200 Subject: monitoring windows NT workstation. In-Reply-To: References: Message-ID: <47F72130.8080102@telcotec.se> Pallav.S.Gupta at relianceada.com wrote: > > Hi All > > I have some servers in NT 4 , in which nsclient++ can't be installed , > So how can i make nagios to monitor those NT sytems. SNMP? /L > 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 the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 6 21:10:50 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 06 Apr 2008 15:10:50 -0400 Subject: smart monitoring and Dell PERC RAID? In-Reply-To: <8855dbd90803311525x73ebf33ax74668d82eb830777@mail.gmail.com> References: <8855dbd90803311525x73ebf33ax74668d82eb830777@mail.gmail.com> Message-ID: <1207509050.2821.133.camel@localhost.localdomain> On > OMSA contains a program for monitoring PERC controllers. It shouldn't > be hard to wrap a nagio check around it. In fact, there's a number of OMSA just wraps around megacli(8), megarc(8), and IPMI. Check nagios exchange for usage there. ~BAS > user contributed checks already at: > > http://new.nagiosexchange.org/cgi-bin/page.cgi?g=Imported_projects%2FCheck_Plugins%2FHardware%2FDELL_Server%2Findex.html;d=1 > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thurgroup at gmail.com Sun Apr 6 22:11:43 2008 From: thurgroup at gmail.com (Roger Dierauer) Date: Sun, 6 Apr 2008 22:11:43 +0200 Subject: Unable to monitor remote hosts with nrpe In-Reply-To: References: Message-ID: hi you have to configure (normaly) /usr/local/nagios/etc/nrpe.cfg file... there is the config for the check commands kind regards Roger 2008/4/4, Rodrick Brown : > > I recently built a nagios 3.0 server and having a bit of problem getting > remote hosts monitored correctly with nrpe. > > > > NRPE seems to be configured correctly on the local and remote host. > > [root at nagiosbox objects]# /usr/local/nagios/libexec/check_nrpe -H > nycplx01a -c check_load -t 30 > > OK - load average: 0.08, 0.02, 0.01|load1=0.080;15.000;30.000;0; > load5=0.020;10.000;25.000;0; load15=0.010;5.000;20.000;0; > > > > I added the following entries to nagios.cfg > > cfg_file=/usr/local/nagios/etc/objects/linuxhosts.cfg > > cfg_file=/usr/local/nagios/etc/objects/ballista-host.cfg > > > > I created a template host definition file. > > --- ballista-host.cfg --- > > define host { > > name ballista-host > > use linux-server > > check_period 24x7 > > retry_interval 5 > > max_check_attempts 10 > > check_command check-host-alive > > notification_period 24x7 > > notification_interval 30 > > notification_options d,r > > contact_groups admins > > register 0 > > } > > > > Here is the definition file I'm using to define my hosts. > > --- linux-hosts.cfg --- > > > > [root at nyadmlx01 objects]# cat linuxhosts.cfg > > define host { > > use ballista-host > > host_name nycplx01a > > alias nycplx01a-eth1 > > address 10.187.11.101 > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > define host { > > use ballista-host > > host_name nycplx01b > > alias nycplx01b-eth1 > > address 10.187.11.201 > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > define hostgroup { > > hostgroup_name Ballista_ECN > > alias Ballista_ECN Linux Servers ; > Long name of the group > > members nycplx01a,nycplx01b > > } > > > > define service { > > use > generic-service > > host_name nycplx01a,nycplx01b > > service_description CPU Load > > check_command check_nrpe!check_load ? No > matter what check_nrpe I use here I get configuration problems > > } > > > > Checking services... > > Error: Service check command 'check_nrpe' specified in service 'CPU Load' > for host 'nycplx01a' not defined anywhere! > > Error: Service check command 'check_nrpe' specified in service 'CPU Load' > for host 'nycplx01b' not defined anywhere! > > Checked 10 services. > > > > If anyone could help me with getting remote checks to work using nrpe I > would greatly appricate it thanks. > > > > --- > > Rodrick R. Brown > > Director of Systems Engineering > > Ballista Securities LLC > > 120 Wall St. Suite 2400 > > C: 347 702 0012 | O: 646 307 4709 > > http://www.ballistasec.com > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ThurGroup Informatik Dierauer Roger Dierauer eidg. Informatiker mit FA VMware Certified Professional Egelsee Strasse 20a 9535 Wilen bei Wil Mobile: +41 79 216 34 86 Fax: +41 71 911 81 80 info at thurgroup.ch http://thurgroup.ch ==> Online-Shop mit IT - Bedarf zu fairen Preisen und schneller Lieferung http://shop.thurgroup.ch <== -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 dale at chatham.org Sun Apr 6 22:53:43 2008 From: dale at chatham.org (Dale J. Chatham) Date: Sun, 06 Apr 2008 15:53:43 -0500 Subject: Unable to monitor remote hosts with nrpe In-Reply-To: References: Message-ID: <47F93857.4070800@chatham.org> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 kelly.terry.jones at gmail.com Mon Apr 7 01:24:18 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sun, 6 Apr 2008 16:24:18 -0700 Subject: Want to test machine if EITHER of two other machines is up Message-ID: <26face530804061624x5bb56f6haf7700fc98e67aaa@mail.gmail.com> I use vMotion to auto-move several VMs between two VM servers: vm1 and vm2. I want to monitor these VMs if *either* of vm1 *or* vm2 is up, not necessarily both. Is there any easy way to do this? "parents vm1,vm2" requires both to be up. My hack solution was to create a fake "vm-either" machine whose check command is effectively "ping vm1 || ping vm2", and then make vm-either the parent of all my VMs. Is there a better way? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Mon Apr 7 01:25:23 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sun, 6 Apr 2008 16:25:23 -0700 Subject: Nagios command-line tools Message-ID: <26face530804061625p6c3c0224y448a2ac91d51f330@mail.gmail.com> Nagios has a great web interface. I sometimes want the information from that interface in command-line format for other scripts. Does nagios have command-line tools that will: % Return all the children/descendants of machine X. % Return all services being tested on machine X. % Return all services in servicegroup X. etc...? I realize /var/spool/nagios/objects.cache has all this info (and status.dat even has the current status), and my current hack is to parse that file, but is there an easier/better way to get this info? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Mon Apr 7 01:26:48 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sun, 6 Apr 2008 16:26:48 -0700 Subject: Escalation notification time shorter than service check time: bug? Message-ID: <26face530804061626w34c52557w1badbeb98d0c9a63@mail.gmail.com> I did this: define serviceescalation { servicegroup_name really-important-services first_notification 1 last_notification 5 contact_groups level1-oncall notification_interval 5 } define serviceescalation { servicegroup_name really-important-services first_notification 6 last_notification 0 contact_groups level1-oncall,level2-oncall notification_interval 5 } I wanted level1-oncall notified every 5m for 25m when one of really-important-services went bad, and then level1-oncall and level2-oncall notified every 5m after 30m. However, since my service check interval is 20m, level2-oncall didn't get notified until 6*20m or 120m later. Nagios didn't warn me about this when I restarted it. Is this a known bug? Intended behavior? Did I confuse nagios by using a servicegroup instead of a single service? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 7 05:30:08 2008 From: ANGC0020 at ntu.edu.sg (#ANG CHIN TECK#) Date: Mon, 7 Apr 2008 11:30:08 +0800 Subject: How to install Nagios on Windows? Message-ID: Hi all, Just wondering, besides using cygwin and vmware, are there any other ways to install nagios on Windows? Thanks. Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 robby.kahlon at cubic.com Mon Apr 7 08:54:19 2008 From: robby.kahlon at cubic.com (Kahlon, Robby) Date: Sun, 6 Apr 2008 23:54:19 -0700 Subject: Port Numbers required for NAGIOS Message-ID: <28919A12B5A1504CB3599372AA286FC601065433@bb-cts-ex1.cts.cubic.cub> Max, Thanks a lot for the advice. I will try it. -Robby -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Max Sent: Friday, 4 April 2008 12:20 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Port Numbers required for NAGIOS Hi, On Thu, Apr 3, 2008 at 9:29 PM, Kahlon, Robby wrote: > The Windows 2003 server which I need to minitor and the Nagios server > are on two different subnets. All of the traffic from Nagios server to > Windows 2003 server has to go via a Cisco firewall. > > Now, which ports do I need to open in the firewall so that Nagios server > can communicate with the Windows 2003 server (Nagios Client)? If you are using NRPE, you will need to open TCP port 5666 http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf If you are using an SNMP agent on the Windows host, you will need to open UDP 161 for SNMP GET and WALK requests. Use SNMP v3 if it is available for your agent. If you want to send SNMP traps from your Windows host to Nagios, you will need to open an ACL orginating from the Windows server and terminating at the Nagios server on port UDP 162. Use SNMP v3 if it is available with the agent you are using. if you are submitting passive checks from the Windows host to the Nagios server using send_nsca and the NSCA daemon, you will need to open an ACL originating from the Windows server and terminating at the Nagios server on port TCP 5667. - Max ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 7 11:39:09 2008 From: ANGC0020 at ntu.edu.sg (#ANG CHIN TECK#) Date: Mon, 7 Apr 2008 17:39:09 +0800 Subject: How do I display multiple line check results for NSCA? Message-ID: Hi all, I am using NSCA to do passive checks. Nagios web interface only displays the first line of the multiple-line results sent back to Nagios. But when i use nrpe to do active checks, all the lines are displayed. Is it possible to configure the external commands or NSCA to allow displaying of multiple line output? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 julien.dehee at avedya.com Mon Apr 7 12:10:27 2008 From: julien.dehee at avedya.com (Julien Dehee) Date: Mon, 7 Apr 2008 12:10:27 +0200 Subject: Configuring tricky escalations Message-ID: Hi, I'm using Nagios in a production environment, and I'm trying to configure some complex setup, which I'll try to explain here : - Munin is sending to Nagios NSCA exports to tell when a server run out of disk space. We have in services.cfg this configuration : define service{ use crit-service # this is a service which will send us SMS notifications host_name serverOne, serverTwo hostgroup_name groupofServers1, groupofServers2 service_description df max_check_attempts 1 check_command check_none active_checks_enabled 0 } This is a typical passive checks driven service. we also want to send notification first to somebody, and 10 minutes later to the whole admin team : here is the escalation.cfg for the "df" service and (for one of the servers, this is repeated for each server or group of server): define serviceescalation{ service_description df host_name someserver first_notification 1 last_notification 0 notification_interval 10 contact_groups some_guy } define serviceescalation{ service_description df host_name someserver first_notification 2 last_notification 0 notification_interval 10 contact_groups whole_admin_team } This is working just fine. Now the tricky part : we would like to send notification for DF WARNINGS only during workhours, and the rest (u,c,r) in the 24x7 period. I tried to create more escalations, specific with "timeperiod" and "escalation_options" but I can't make it. Will you find the solution ? thanks in advance for your help. Julien Dehee. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 Edgar.Matzinger at Valid.nl Mon Apr 7 12:57:07 2008 From: Edgar.Matzinger at Valid.nl (Edgar Matzinger) Date: Mon, 7 Apr 2008 12:57:07 +0200 Subject: Configuring tricky escalations In-Reply-To: References: Message-ID: Hi Julien, > This is working just fine. Now the tricky part : we would > like to send notification for DF WARNINGS only during > workhours, and the rest (u,c,r) in the 24x7 period. > I tried to create more escalations, specific with > "timeperiod" and "escalation_options" but I can't make it. > > Will you find the solution ? thanks in advance for your help. you have to specify in the contacts or contacts group the notification period, i.e. when *they* want to be notified. HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Mon Apr 7 14:15:51 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 7 Apr 2008 17:45:51 +0530 Subject: nrpe not starting on gentoo Message-ID: <6b16fb4c0804070515p2c21f122tcf9ad8920d8c756e@mail.gmail.com> /etc/init.d/nrpe start * Starting nrpe ... * Failed to Start nrpe [ !! ] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 Mon Apr 7 15:58:44 2008 From: JoeP at protronics.co.uk (Joe Precious) Date: Mon, 7 Apr 2008 14:58:44 +0100 Subject: NDOUtils Problem References: <4DF7CF439F31164B96FC5D175CDF056E720282@PRO001.protronics.co.uk><7fb931000804040519m43a4f545o75e9639714f261a3@mail.gmail.com><4DF7CF439F31164B96FC5D175CDF056E72028F@PRO001.protronics.co.uk><7fb931000804040721q7ae047b3xd9b613f35b0e6739@mail.gmail.com><4DF7CF439F31164B96FC5D175CDF056E720299@PRO001.protronics.co.uk> <7fb931000804041053j386f906eu723a08e63def0f7d@mail.gmail.com> Message-ID: <4DF7CF439F31164B96FC5D175CDF056E7202C9@PRO001.protronics.co.uk> This is all starting to get a bit too complex for me! Anyway, I?ve managed to narrow down the problem a bit. I did a fresh install of Ubuntu 7.10 Server with Nagios and NDOUtils (latest versions) and get the same problem exactly. I then did a fresh install of Ubuntu 6.06 Server with Nagios and NDOUtils and it works perfectly. So there?s obviously something in Ubuntu 7.10 causing the problem. I guess the next step would be to go through all the components and check for version differences, but I?m not really sure I can be bothered - I think I?ll just stick with Ubuntu 6.06 for now. Thanks for all the help anyway! Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi Sent: 04 April 2008 18:53 To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE : NDOUtils Problem I assume, as you have said, that /usr/local/nagios/var/ndo.sock has write permissions for the user/group that Nagios daemon runs as. In the file src/io.c, line 225, is the function ndo_sink_write, wich is returning the value NDO_ERROR and causing the function ndomod_write_to_sink in file src/ndomod.c to log the error "Error writing to data sink!" (that same function is also the one that succesfully reconnects to data sink). Maybe you can get more info about the problem, examining the errno variable after the "write" call in ndo_sink_write. You can modify the line 733 in ndomod.c for something like this: asprintf(&temp_buffer,"ndomod: Error writing to data sink (%d - %s)! Some output may get lost. %lu queued items to flush.",errno,strerror(errno), sinkbuf.items); The function strerror gives you a very short description of the error, and is defined in string.h The error codes should be defined in /usr/include/asm-generic/errno.h If the permissions are ok (which seems to be the case due to the unix socket being opened for writing succesfully), maybe there is a problem with ndo2db disconnecting for some reason in the other extreme of the socket. You can also use netstat -a to see if the ndo2db daemon is listening on the specified socket, before and after getting up nagios. Also, I think that the ndo2db daemon should at least log a query like "SELECT instance_id FROM ...", which is one of the first things that ndo2db does after connecting to the database (in ndo2db_db_hello() in src/db.c), so maybe it's the ndo2db daemon failing to connect to database (or to listen on the unix socket). The function that connects to the database is ndo2db_db_connect, which sends (un)success messages to syslog. Well, I've no more ideas at the moment. 2008/4/4, Joe Precious : Config files are below. I always get the errors ? nothing has been written to the database yet (NDOUtils was installed yesterday morning). Thanks ndomod.cfg:- instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock tcp_port=5668 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 ndo2db.cfg:- ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=nagios db_pass= max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 debug_level=-1 debug_verbosity=2 debug_file=/var/log/ndo2db.debug max_debug_file_size=1000000 From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi Sent: 04 April 2008 15:21 To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE : NDOUtils Problem Joe, can you please paste your ndomod.cfg and ndo2db.cfg files (without comments)? 2008/4/4, Joe Precious : Hi I've enabled logging and it creates the debug file but there's nothing in it which implies to me that ndo2db is not actually doing anything at all. I guess this ties in with the errors that imply that ndomod can't connect to the socket. I've checked the location of the socket in both configuration files is the same, I've also confirmed it exists where it should and the permissions look fine on it (the same as my other server where it works). Is there anyway I can test the connection to the socket? This is starting to get a bit beyond my Linux knowledge. BTW I upgraded to 3.0.1 in case this helped but it didn't! Thanks Joe From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Grassi Sent: 04 April 2008 13:19 To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE : NDOUtils Problem ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 lavalamp at spiritual-machines.org Mon Apr 7 17:53:57 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Mon, 07 Apr 2008 11:53:57 -0400 Subject: checkcommands.conf templates for check_postgres.pl Message-ID: <1207583637.12507.53.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> [may be more nagiosplug-devel@ related, but hey!] It probably wouldn't be a bad idea to include some checkcommands.conf templates and example service or hostgroup examples. See below. ---- Templates ---- define command { command_name check_postgres_size command_line $USER2$/check_postgres.pl -H $HOSTADDRESS$ -u pgsql -db postgres --action database_size -w $ARG1$ -c $ARG2$ } define command { command_name check_postgres_time command_line $USER2$/check_postgres.pl -H $HOSTADDRESS$ -u pgsql -db postgres --action timesync -w $ARG1$ -c $ARG2$ } define command { command_name check_postgres_backends command_line $USER2$/check_postgres.pl -H $HOSTADDRESS$ -u pgsql -db postgres --action backends -w $ARG1$ -c $ARG2$ } define command { command_name check_postgres_last_vacuum command_line $USER2$/check_postgres.pl -H $HOSTADDRESS$ -u pgsql -db postgres --action last_vacuum -w $ARG1$ -c $ARG2$ } define command { command_name check_postgres_bloat command_line $USER2$/check_postgres.pl -H $HOSTADDRESS$ -u pgsql -db postgres --action bloat -w $ARG1$ -c $ARG2$ } define command { command_name check_postgres_settings_checksum command_line $USER2$/check_postgres.pl -H $HOSTADDRESS$ -u pgsql -db postgres --action settings_checksum -c $ARG1$ } define command { command_name check_postgres_locks command_line $USER2$/check_postgres.pl -H $HOSTADDRESS$ -u pgsql -db postgres --action locks -w $ARG1$ -c $ARG2$ } ---- Service Check Examples ---- [Host Definition] define service{ use generic-other host_name dbhost.gtld service_description dbhost PostgreSQL Service Database Usage Size check_command check_postgres_size!256000000! 512000000 } define service{ use generic-other host_name dbhost.gtld service_description dbhost PostgreSQL Service Database Locks check_command check_postgres_locks!2!3 } define service{ use generic-other host_name dbhost.gtld service_description dbhost PostgreSQL Service Last Vacuum check_command check_postgres_last_vacuum!600! 900 } define service{ use generic-other host_name dbhost.gtld service_description dbhost PostgreSQL Service Database Configuration Checksum check_command check_postgres_settings_checksum!654104dd9397d7032c275a165c33d6e0 } define service{ use generic-other host_name dbhost.gtld service_description dbhost PostgreSQL Service Database Bloat check_command check_postgres_bloat!3000000! 9000000 } define service{ use generic-other host_name dbhost.gtld service_description dbhost PostgreSQL Service Active Backend Threads check_command check_postgres_backends!40!60 } define service{ use generic-other host_name dbhost.gtld service_description dbhost PostgreSQL Service NTP Jitter check_command check_postgres_time!1!2 } -- Sent via pgsql-admin mailing list (pgsql-admin at postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin From Garry.Cook at arcadis-us.com Mon Apr 7 16:35:29 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Mon, 7 Apr 2008 08:35:29 -0600 Subject: Monitoring Windows Servers - Comparing Options In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A10B3BB69@CorpExMBS1.arcadis-us.com> References: <1689390EF608584D85BA56D958A5D1E45A10B3BB69@CorpExMBS1.arcadis-us.com> Message-ID: <1689390EF608584D85BA56D958A5D1E45A10BCAC3E@CorpExMBS1.arcadis-us.com> No input from anyone? One of the selling points to move away from proprietary solutions and towards OSS was the helpfulness of the community and mailing list. I know I don't have a 'problem' listed below that can easily be solved, but surely there are some opinions out there? Thanks, Garry -----Original Message----- Sent: Tuesday, April 01, 2008 10:09 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Windows Servers - Comparing Options For the past few years Nagios has been the most important tool for monitoring my network and Linux servers. I now have 'buy in' from the department handling the Windows Servers to at least show them how Nagios can help them to stay on top of issues, without all of the false positive alerts that they get from current tools, which can cause people to want to ignore most issues. So, my question is, what is the best option for monitoring Windows Servers and why? An important factor to consider is that I will probably not have Administrative access to any of the Windows Servers that I will be monitoring. I'm currently considering three options for the reasons shown below (in order of preference): 1) WMI checks Pros -Complete control of NRPE service on 'my' Windows Server (Can this be distributed over two boxes?) -Complete control of check commands on Nagios Server Cons -NRPE service must be run from an account with access to all Windows Servers. 2) Agent checks - NRPE-NT or some other current Windows Agent Pros -??? Cons -Requires an agent setup and running on every Windows Server -No direct control of agents/check commands 3) SNMP based checks Pros -Complete control over check commands on Nagios Server Cons -No direct control of SNMP Community Strings/ACL allowing access from Nagios -No direct control of SNMP service How do you do it? Are there any other Pros & Cons that I might be missing? Do you think I should consider a process/utility not listed? I'm open to suggestions on which agent is best, but I can probably determine this from list archives and testing. At this time I'm more interested in which high-level option would be the best fit. Perhaps there is a good reason to use more than one of the above options, and I'm just not aware of it yet. Any input would be greatly appreciated. Thank you, Garry W. Cook, CCNA Network Systems Specialist ARCADIS U.S., Inc. NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msh.computing at gmail.com Mon Apr 7 22:03:01 2008 From: msh.computing at gmail.com (Steve Kieu) Date: Tue, 8 Apr 2008 08:03:01 +1200 Subject: Nagios command-line tools In-Reply-To: <26face530804061625p6c3c0224y448a2ac91d51f330@mail.gmail.com> References: <26face530804061625p6c3c0224y448a2ac91d51f330@mail.gmail.com> Message-ID: I remember that I have done it querying mysql db and using ndo for nagios. On Mon, Apr 7, 2008 at 11:25 AM, Kelly Jones wrote: > Nagios has a great web interface. I sometimes want the information > from that interface in command-line format for other scripts. > > Does nagios have command-line tools that will: > > % Return all the children/descendants of machine X. > > % Return all services being tested on machine X. > > % Return all services in servicegroup X. > > etc...? > > I realize /var/spool/nagios/objects.cache has all this info (and > status.dat even has the current status), and my current hack is to > parse that file, but is there an easier/better way to get this info? > > -- > We're just a Bunch Of Regular Guys, a collective group that's trying > to understand and assimilate technology. We feel that resistance to > new ideas and technology is unwise and ultimately futile. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Steve Kieu Mob: (+64) 021 250 6437 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 smalenshek at skyline-ats.com Mon Apr 7 22:52:16 2008 From: smalenshek at skyline-ats.com (Stephen Malenshek) Date: Mon, 7 Apr 2008 14:52:16 -0600 Subject: PNP Templates Message-ID: <005501c898f1$444c71e0$280a960a@gabriel> I am sure that this has been discussed, but I am unable to find anything regarding it. I want, like in disk usage graphs, to display the name for the /usr partition as /usr instead of _user. Thanks for your time in advance. Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 GJFRATER at bechtel.com Mon Apr 7 23:03:54 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Mon, 7 Apr 2008 14:03:54 -0700 Subject: Monitoring Windows Servers - Comparing Options In-Reply-To: References: Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20C62@wtps0171.amers.ibechtel.com> >No input from anyone? One of the selling points to move away from proprietary solutions and towards OSS was the helpfulness of the >>>>community and mailing list. I know I don't have a 'problem' listed below that can easily be solved, but surely there are some opinions out there? Alright, I'll respond. Most of the time I usually just lurk here, most questions are usually answered quite well by others in a relatively short time. This is my 2 cents. See response below amongst your first post questions. >So, my question is, what is the best option for monitoring Windows Servers and why? >An important factor to consider is that I will probably not have Administrative access to any of the Windows Servers that I will be >monitoring. >I'm currently considering three options for the reasons shown below (in order of preference): >1) WMI checks > Pros > -Complete control of NRPE service on 'my' Windows Server > (Can this be distributed over two boxes?) > -Complete control of check commands on Nagios Server WMI provides a very thorough list of things you can check It's built into the OS, i.e. no install or configuration required > Cons > -NRPE service must be run from an account with access to all Windows Servers. WMI can fail. From time to time we have a server with WMI problems, we've been able to fix WMI at times, other times we've had to rebuild the OS, in those cases you would not have any monitoring. WMI is used by other things as well, and is susceptible to getting corrupted or reconfigured by something (or in our case someone) else. I think we've resolved most of our issues with WMI, however I learned that if it's broken, it does not matter why you can't use it to monitor anything until it's fixed. WMI requires common MS technology such as common MS network ports and Windows (AD) user accounts for security. This is not a problem for the most part but increases the risk when monitoring a DMZ for example and means your monitoring is dependant upon AD and thus anything AD needs (like DNS), etc. If AD or DNS goes down you've got bigger problems than whether or not your Nagios agents are working, however it that is how you watch everything then when they fail will you know it? >2) Agent checks - NRPE-NT or some other current Windows Agent > Pros Your not relying on a MS technology. Obviously the OS has to be available but your not dependant upon WMI or .NET or MDAC, etc. This may sound ironic but having your monitoring system as independent of the system it's watching as possible the better (IMO). Flexibility/Extensibility. For example the agent we use (nscp) (found here: http://trac.nakednuns.org/nscp - don't ask me about the URL I don't know why it is what it is - it seems safe though) is very flexible supporting both the original NSClient on the Nagios server side or NRPE and can check pretty much anything (including, WMI, perfmon, event logs, plus some built in checks and custom scripts). The documentation is not one of it's strong points, but it is very capable and reliable. I've struggled at times getting a particular type of check working because I could not understand the docs. I have not run into any problems with it in terms of crashes or memory leaks, etc. After about two years of using it (various versions) I can only think of twice when it has either generated an error or stopped running and that covers over 200 Windows boxes. It can be installed and uninstalled without server reboots. It just works, I like it. Better docs would be nice though. I'm not trying to sell you on this particular agent or even agents in general, this is my experience. > Cons > -Requires an agent setup and running on every Windows Server > -No direct control of agents/check commands Some checks via an agent (like custom scripts) are not as quick as SNMP (and probably WMI). >3) SNMP based checks > Pros > -Complete control over check commands on Nagios Server SNMP checks are very fast Once configured no changes are required on the server (i.e. SNMP does not require version upgrades, etc.) > Cons > -No direct control of SNMP Community Strings/ACL allowing access from Nagios > -No direct control of SNMP service The values exposed via SNMP on Windows servers is limited. You can do basic monitoring disks, ram, cpu, etc. But not advanced things such as CPU user mode vs. kernel mode usage. You can get an SNMP extension such as SNMP-Informant (http://www.snmp-informant.com/) to resolve this issue. SNMP can fail. We have a small portion of our servers both 2000 and 2003 where SNMP service won't stay running. We do some SNMP monitoring but not a lot, I've not solved this one yet. >How do you do it? Are there any other Pros & Cons that I might be missing? Do you think I should consider a process/utility not listed? > >I'm open to suggestions on which agent is best, but I can probably determine this from list archives and testing. At this time I'm more >interested in which high-level option would be the best fit. >Perhaps there is a good reason to use more than one of the above options, and I'm just not aware of it yet. > >Any input would be greatly appreciated. Agent based monitoring has been the most reliable for us. It does require an agent install and config initially, though this has not been a big deal for us. Agents are also extensible, NSCP is now able to monitor Event Logs, it could not do that when we started using it. As a general rule we don't rely on just one mechanism, our primary is by agent but we also use SNMP when it makes sense. Hope that helps. Regards, -greg Sys Admin ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.calcote at gmail.com Mon Apr 7 23:57:33 2008 From: john.calcote at gmail.com (John Calcote) Date: Mon, 7 Apr 2008 15:57:33 -0600 Subject: DNX Version 0.18 Released! Message-ID: <3ee91eb90804071457l35fc4057rf7bb87a23065a7ac@mail.gmail.com> Hi everyone, I'm pleased to announce the release of version 0.18 of the Distributed Nagios eXecutor (DNX) project. I sincerely apologize for the short time period between versions 0.17 and 0.18 (about 4 days!), but I felt that it was critical that the most significant changes between these two versions be made available to the public as soon as possible. Besides the excellent fixes, enhancements, and changes found in 0.17, version 0.18 also includes the following changes: - Fixed problem where dnxClient would stop processing jobs after a while, thread pool bug - all threads would terminate - thanks to Alessandro Ren, Jesse Caldwell and William Leibzon! - Added code to fix TIME_WAIT state issues on restart. - Added code to display the same version information from dnxstats as from command line. - Added code to have server return human-readable "OK" message on dnxstats commands that didn't previously have reply text. Currently, I believe that this release has no more major defects (obviously this belief is subject to change). We on the DNX project team fully intend to continue adding functionality, both to meet our original design goals, and to add features requested on the dnx-devel and dnx-users mailing lists. Nevertheless, we feel this is the most stable DNX release to date. http://dnx.sourceforge.net http://www.sourceforge.net/projects/dnx Please download and enjoy! John ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 8 06:59:01 2008 From: michael at medin.name (Michael Medin) Date: Tue, 08 Apr 2008 06:59:01 +0200 Subject: Monitoring Windows Servers - [New domain name for nsclient++] In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B20C62@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B20C62@wtps0171.amers.ibechtel.com> Message-ID: <47FAFB95.20006@medin.name> > (found here: http://trac.nakednuns.org/nscp - don't ask me about the URL > I don't know why it is what it is - it seems safe though) > LOL, everyone seems to mention this lately, well, here is my official apology to anyone who has taken offense for the domain name *SORRY* Anyways, try: http://NSCLIENT.ORG, http://nsclient.com or http://nsclient.net hopefully these are "better" (if anyone want to know the reason for using the old one there is a post on the forum about it http://nsclient.org/nscp/discussion/2/120 ) The preferable domain is nsclient.ORG but since go-daddy was so damn cheep (anyone know why? I pay 10 times as much for my "previous domains") I got the others when I was at it... And if any apache2 configure gurus knows how to combine location (I use a location with mod python inside it to "call trac") and mod_rewrite let me know cause I would have preferred to drop the "trailing /nscp" but alas apache was giving me attitude... // Michael Medin ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 08:59:45 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Tue, 8 Apr 2008 12:29:45 +0530 Subject: Help : NDOUtils not able to find mysql Message-ID: Hi All I have installed mysql in /usr/bin/mysql now when i try to install ndo utils it gives me the error *** MySQL include file could not be located... ********************** You chose to compile NDBXT with MySQL support, but I was unable to locate on your system. If the include file is installed, use the --with-mysql-inc argument to specify the location of the MySQL include file. ******************************************************************** I have checked , mysql is installed and running succesfully when i type this command sudo netstat -tap | grep mysql i get o/p tcp 0 0 localhost.localdomain:mysql *:* LISTEN - Please help. root at nagios:~/monitoring/ndoutils-1.4b7# ./configure --with-mysql-lib=/usr/bin/mysql checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for sys/wait.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for getopt_long... yes checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lwrap... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for strtof... yes checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for compress in -lz... yes checking for mysql_store_result in -lmysqlclient... no checking for mysql_connect in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql ******************************************************************** checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no *** MySQL include file could not be located... ********************** You chose to compile NDBXT with MySQL support, but I was unable to locate on your system. If the include file is installed, use the --with-mysql-inc argument to specify the location of the MySQL include file. ******************************************************************** checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating subst config.status: creating include/config.h *** Configuration summary for ndoutils 1.4b7 10-31-2007 ***: General Options: ------------------------- NDO2DB user: nagios NDO2DB group: nagios Review the options above for accuracy. If they look okay, type 'make' to compile the NDO utilities. 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 adesperateuser at googlemail.com Tue Apr 8 09:35:11 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 08 Apr 2008 09:35:11 +0200 Subject: Help : NDOUtils not able to find mysql In-Reply-To: References: Message-ID: <47FB202F.7030000@googlemail.com> Pallav.S.Gupta at relianceada.com schrieb: > *** MySQL include file could not be located... ********************** Install mysql-devel or mysql-dev. The files are needed to add mysql-Support when compiling other apps like ndo-utils. Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.dehee at avedya.com Tue Apr 8 10:08:44 2008 From: julien.dehee at avedya.com (Julien Dehee) Date: Tue, 8 Apr 2008 10:08:44 +0200 Subject: Configuring tricky escalations In-Reply-To: References: Message-ID: Thank you ! I was stuck in the escalation oriented mindset, of course it works with adding more specific contacts. Julien. On Mon, Apr 7, 2008 at 12:57 PM, Edgar Matzinger wrote: > Hi Julien, > > > This is working just fine. Now the tricky part : we would > > like to send notification for DF WARNINGS only during > > workhours, and the rest (u,c,r) in the 24x7 period. > > I tried to create more escalations, specific with > > "timeperiod" and "escalation_options" but I can't make it. > > > > Will you find the solution ? thanks in advance for your help. > > you have to specify in the contacts or contacts group the notification > period, i.e. when *they* want to be notified. > > HTH, cu l8r, Edgar. > -- > |\ /| : : Addr: Valid Eindhoven B.V. > / | \/ | : Edgar R. Matzinger : t.a.v. E.R. > Matzinger > / | | : : Paradijslaan 36 > \ /| /\| : : 5611 KN Eindhoven > \/ / \ : Valid Eindhoven BV : > \ /\ / : : > \/ |\/ : : > | : : > Disclaimer: Any comments, opinions made are mine, etc ... > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 adesperateuser at googlemail.com Tue Apr 8 12:03:25 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 08 Apr 2008 12:03:25 +0200 Subject: Help : NDOUtils not able to find mysql In-Reply-To: References: Message-ID: <47FB42ED.4070401@googlemail.com> Pallav.S.Gupta at relianceada.com schrieb: > How to do that ? > as i could not find any packages apt-cache search mysql-dev Pallav, please keep it on the list. The packet on my ubuntu-system is "libmysqlclient15-dev" root at cnagios:~# aptitude search mysql | grep dev [ ... ] v libmysqlclient-dev - i libmysqlclient15-dev - MySQL database development files Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hs at schlittermann.de Tue Apr 8 12:50:01 2008 From: hs at schlittermann.de (Heiko Schlittermann) Date: Tue, 8 Apr 2008 12:50:01 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! Message-ID: <20080408105001.GK21241@schlittermann.de> Hello, (using 3.0.1) I've a list of hosts, these hosts are not available for ping, but normal service checks (SSH, SMTP, ...) work. Nagios reports theses hosts beeing down! Ugly! If I remember well, older nagios versions "knew" that's enough to see one service on a host to know this host has to be up. The host check_command is the normale 'check-host-alive' (which is pinging), the check_interval is 0 -- why does nagios want to check that host? The check_command is inherited from some template, if I try to override it with no value, nagios complains: Error: Host check command '(null)' specified for host 'diwi/diw' is not defined anywhere So - please, could anybody point to my stupidity? Thanks. Best regards from Dresden Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B - -------------- 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 Pallav.S.Gupta at relianceada.com Tue Apr 8 12:56:36 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Tue, 8 Apr 2008 16:26:36 +0530 Subject: Help : NDOUtils not able to find mysql In-Reply-To: <47FB42ED.4070401@googlemail.com> References: <47FB42ED.4070401@googlemail.com> Message-ID: Thanks Marcus it worked !!! Marcus Sent by: nagios-users-bounces at lists.sourceforge.net 04/08/2008 03:33 PM To nagios cc Subject Re: [Nagios-users] Help : NDOUtils not able to find mysql Pallav.S.Gupta at relianceada.com schrieb: > How to do that ? > as i could not find any packages apt-cache search mysql-dev Pallav, please keep it on the list. The packet on my ubuntu-system is "libmysqlclient15-dev" root at cnagios:~# aptitude search mysql | grep dev [ ... ] v libmysqlclient-dev - i libmysqlclient15-dev - MySQL database development files Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 hs at schlittermann.de Tue Apr 8 14:21:08 2008 From: hs at schlittermann.de (Heiko Schlittermann) Date: Tue, 8 Apr 2008 14:21:08 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: References: Message-ID: <20080408122108.GP21241@schlittermann.de> Hello, Valdinger, Stephen (DOV, MSX) (Di 08 Apr 2008 13:58:36 CEST): > Just rewrite the check-host-alive plugin for the unpingable hosts to something bogus like check_null for some bogus output. Or use a different check command other than a ping for the check-host alive. Thank you for your response. But - a bogus check returning "OK" would be wrong too, because the host *can* be down. The host should assumed to be UP if *any* service check on this host was successful. The host should assumed to be DOWN, if all service checks failed. Any suggestion anybody? Best regards from Dresden Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B - -------------- 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 wojciech at kocjan.org Tue Apr 8 14:34:38 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Tue, 08 Apr 2008 14:34:38 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408122108.GP21241@schlittermann.de> References: <20080408122108.GP21241@schlittermann.de> Message-ID: Dnia 08-04-2008 o 14:21:08 Heiko Schlittermann napisa?(a): > Hello, > > Valdinger, Stephen (DOV, MSX) (Di 08 Apr 2008 > 13:58:36 CEST): >> Just rewrite the check-host-alive plugin for the unpingable hosts to >> something bogus like check_null for some bogus output. Or use a >> different check command other than a ping for the check-host alive. > > Thank you for your response. > > But - a bogus check returning "OK" would be wrong too, because the host > *can* be down. > > The host should assumed to be UP if *any* service check on this host was > successful. The host should assumed to be DOWN, if all service checks > failed. > > Any suggestion anybody? That one would be non-trivial, but perhaps the check command could read current status for the host and only do test if there are no services currently in OK state? Otherwise it would return the host is UP. -- Wojciech Kocjan ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hs at schlittermann.de Tue Apr 8 16:04:01 2008 From: hs at schlittermann.de (Heiko Schlittermann) Date: Tue, 8 Apr 2008 16:04:01 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: References: <20080408122108.GP21241@schlittermann.de> Message-ID: <20080408140401.GR21241@schlittermann.de> Wojciech Kocjan (Di 08 Apr 2008 14:34:38 CEST): > Dnia 08-04-2008 o 14:21:08 Heiko Schlittermann > napisa?(a): > > That one would be non-trivial, but perhaps the check command could read > current status for the host and only do test if there are no services > currently in OK state? Otherwise it would return the host is UP. > That's it. Is there any easy to access interface where I can read the status of service checks of the host in question? Best regards from Dresden Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B - -------------- 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 Tue Apr 8 16:43:35 2008 From: marc at ena.com (Marc Powell) Date: Tue, 8 Apr 2008 09:43:35 -0500 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408140401.GR21241@schlittermann.de> References: <20080408140401.GR21241@schlittermann.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Heiko Schlittermann > > That one would be non-trivial, but perhaps the check command could read > > current status for the host and only do test if there are no services > > currently in OK state? Otherwise it would return the host is UP. > > > > That's it. Is there any easy to access interface where I can read the > status of service checks of the host in question? Using the check_cluster(2) plugin for your host check perhaps? I don't use the plugin myself but the concepts are the same... -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 8 17:04:51 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Tue, 8 Apr 2008 08:04:51 -0700 Subject: Monitoring Windows Servers - [New domain name for nsclient++] In-Reply-To: <47FAFB95.20006@medin.name> References: <872CB0AEB377C240A112DD7C10B2592904B20C62@wtps0171.amers.ibechtel.com> <47FAFB95.20006@medin.name> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20C68@wtps0171.amers.ibechtel.com> -----Original Message----- From: Michael Medin [mailto:michael at medin.name] Sent: Monday, April 07, 2008 9:59 PM To: Frater, Greg J Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Servers - [New domain name for nsclient++] >> (found here: http://trac.nakednuns.org/nscp - don't ask me about the >> URL I don't know why it is what it is - it seems safe though) >> >LOL, everyone seems to mention this lately, well, here is my official apology to anyone who has taken offense for the domain name *SORRY* >Anyways, try: http://NSCLIENT.ORG, http://nsclient.com or http://nsclient.net hopefully these are "better" (if anyone want to know the >reason for using the old one there is a post on the forum about it http://nsclient.org/nscp/discussion/2/120 ) All I know is I got a visit from our security guy asking for an explanation of my visits to that site. >The preferable domain is nsclient.ORG but since go-daddy was so damn cheep (anyone know why? I pay 10 times as much for my "previous >domains") I got the others when I was at it... Excellent, I will use the new domain (though I must admit nakednuns is pretty memorable). >And if any apache2 configure gurus knows how to combine location (I use a location with mod python inside it to "call trac") and mod_rewrite let me know cause I would have preferred to drop the "trailing /nscp" but alas apache was giving me attitude... I would not be of much help here, I'm not an Apache guy. -greg ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rusty.hall at healthvision.com Tue Apr 8 17:49:14 2008 From: rusty.hall at healthvision.com (Rusty Hall) Date: Tue, 8 Apr 2008 10:49:14 -0500 Subject: nagios 3.01 and NDOUtils Message-ID: I have nagios 3.01 and the latest version of ndoutils, nagvis and pnp4nagios installed on redhat 5.1. Everything runs on the same server including mysql . After a restart of nagios everything runs fine for about 5 minutes then I get the dreaded message "NDO claims that nagios did no status Update for more than 180 seconds. Make sure that nagios and ndo2db are running". The only way to get it back and running is do rm /usr/local/nagios/var/ndo.sock and then restart and again it works for about 5 minutes. I have double and triple check the config files in ndoutils, but I fear the issue is actually in nagios itself, because if I tail /usr/local/nagios/var/nagios.log I see a bunch stale service checks being queued up. Any help would be greatly appreciated -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 webknowledge at gmail.com Tue Apr 8 19:30:06 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 8 Apr 2008 14:30:06 -0300 Subject: nagios 3.01 and NDOUtils In-Reply-To: References: Message-ID: <2dfcbd1b0804081030s29d35f41t1ea180347efff339@mail.gmail.com> There is a thread about creating some indexes, search on. On Tue, Apr 8, 2008 at 12:49 PM, Rusty Hall wrote: > I have nagios 3.01 and the latest version of ndoutils, > nagvis and pnp4nagios installed on redhat 5.1. Everything runs on the same > server including mysql . After a restart of nagios everything runs fine > for about 5 minutes then I get the dreaded message "*NDO claims that > nagios did no status Update for more than 180 seconds. Make sure that nagios > and ndo2db are running"*. The only way to get it back and running is do > rm /usr/local/nagios/var/ndo.sock and then restart and again it works for > about 5 minutes. I have double and triple check the config files in > ndoutils, but I fear the issue is actually in nagios itself, because if I > tail /usr/local/nagios/var/nagios.log I see a bunch stale service checks > being queued up. > > > > Any help would be greatly appreciated > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 israel at frontierflying.com Tue Apr 8 19:32:25 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 8 Apr 2008 09:32:25 -0800 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408105001.GK21241@schlittermann.de> References: <20080408105001.GK21241@schlittermann.de> Message-ID: On Apr 8, 2008, at 2:50 AM, Heiko Schlittermann wrote: > Hello, > > (using 3.0.1) > > I've a list of hosts, these hosts are not available for ping, but > normal > service checks (SSH, SMTP, ...) work. Nagios reports theses hosts > beeing > down! Ugly! > > If I remember well, older nagios versions "knew" that's enough to see > one service on a host to know this host has to be up. To a degree, yes- if you aren't actively checking the host (as would appear to be the case from your next paragraph), then as long as all services on the host are listed as ok, nagios assumes the host is still ok (at least once running, I don't know how it behaves on the initial check). However, should any of the services go into a non-ok state, nagios will immediately check the host (using the host check_command), wherupon, in your case, it would determine the host to be down since it can't ping. The state of the other services does not affect this process, so any other services do not change state. > The host check_command is the normale 'check-host-alive' (which is > pinging), the check_interval is 0 -- why does nagios want to check > that > host? Because at some point one or more of the services went into a non-ok state. > The check_command is inherited from some template, if I try to > override > it with no value, nagios complains: > > Error: Host check command '(null)' specified for host 'diwi/diw' is > not defined anywhere Yep- you can't have no value in the check_command directive. If you just want to assume the host is up all the time, you can use the check_dummy plugin (after defining a check_dummy command in your checkcommands.cfg, naturally). Otherwise you'll need to figure out some check Nagios can perform to determine if the host is running, even if that check is just checking one of the services again or something. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > > So - please, could anybody point to my stupidity? > > Thanks. > > > Best regards from Dresden > Viele Gr??e aus Dresden > Heiko Schlittermann > -- > SCHLITTERMANN.de ---------------------------- internet & unix > support - > Heiko Schlittermann HS12-RIPE > ----------------------------------------- > gnupg encrypted messages are welcome - key ID: 48D0359B > --------------- > gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 > 359B - > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 19:36:14 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 8 Apr 2008 09:36:14 -0800 Subject: Nagios 3 status map options? In-Reply-To: <291D3C0B-BF5A-4A27-8186-51E82A7C30FB@frontierflying.com> References: <291D3C0B-BF5A-4A27-8186-51E82A7C30FB@frontierflying.com> Message-ID: <26239C4C-0ED3-4A45-A78C-763E9570DF5D@frontierflying.com> No replies? Am I the only one who wants to use a graphical network overview with Nagios 3? Or is it just that everyone else uses Nagvis? ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Apr 2, 2008, at 9:57 AM, Israel Brewster wrote: > I have been using Nexsm with nagios 2 for some time now, and have been > reasonably happy with it. Unfortunately, I now want to update to > nagios 3 for a number of reasons, but Nexsm doesn't support Nagios 3 > and the developer says he probably won't have time to update it for a > while. Therefore, I am wondering what alternatives might be out there > that do work with Nagios 3? > > I tried Nagvis a while ago (while still on 2, haven't tried the latest > version or on 3), but it proved to be too much of a pain to get > configured the way I needed, as I would have had to add each host and > link between hosts manually, as well as the fact that at least with > the version I was using, the only way to move a host was to edit the > coordinates manually. So what other good and relatively easy to > configure options are there? Thanks for any suggestions! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 8 20:59:39 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Tue, 8 Apr 2008 15:59:39 -0300 Subject: nagios to monitor several switch ports Message-ID: <057d01c899aa$b2bdc390$18394ab0$@ca> I would like to have Nagios alert on the status of individual switch ports - link up/down, traffic, etc. Is there a way to do this other than creating a separate host or service for each port. There are 1000's of ports on our network and this doesn't seem practical. What I would like is for a host switch to show as "warning" (or "critical") if one or more switch port is down / exceeding a traffic limit and showing "ok" only if ALL ports are up, etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 Apr 8 21:14:21 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 8 Apr 2008 21:14:21 +0200 Subject: nagios to monitor several switch ports In-Reply-To: <057d01c899aa$b2bdc390$18394ab0$@ca> References: <057d01c899aa$b2bdc390$18394ab0$@ca> Message-ID: <200804082114.21755.cschneemann@suse.de> Am Dienstag 08 April 2008 schrieb Kevin Manuel: > I would like to have Nagios alert on the status of individual switch ports > - link up/down, traffic, etc. Is there a way to do this other than creating > a separate host or service for each port. There are 1000's of ports on our > network and this doesn't seem practical. What kind of switches do you have? I don't know if there is a plugin for such a test, but I think it can easily be written using SNMP and a scriptinglanguage of your choice. > > > > What I would like is for a host switch to show as "warning" (or "critical") > if one or more switch port is down / exceeding a traffic limit and showing > "ok" only if ALL ports are up, etc. Even if I don't understand why you want to monitor that, SNMP is your friend here. You just need the according MIB according to your switch. Greetings, -- 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 8 21:30:58 2008 From: kmanuel at unb.ca (Kevin Manuel) Date: Tue, 8 Apr 2008 16:30:58 -0300 Subject: nagios to monitor several switch ports In-Reply-To: <200804082114.21755.cschneemann@suse.de> References: <057d01c899aa$b2bdc390$18394ab0$@ca> <200804082114.21755.cschneemann@suse.de> Message-ID: <059401c899af$12837230$378a5690$@ca> We have Nortel switches. Just to complicate things further, I am using RMON snmp traps to alert Nagios when an event occurs on one of the switches (i.e. broadcast packets exceed a certain threshold). A summary of my setup: - when a certain threshold is exceeded, the port will trigger an alarm and send an snmp trap to our management server - snmptrapd (a net-snmp daemon) is running on the management server and receives the trap and passes it to my Perl "trap-handler" script - the "trap-handler" script translates the snmp trap and updates Nagios according (through a passive check) The problem is, for example, say 3 ports go down on a single switch and only one comes back up, this "clears" the service alert in Nagios even though 2 ports are still down. One was around this would be to have a service for each port but as I mentioned previously, I'm hoping to figure out another way to do it. (I hope I explained that well enough but I'm sure I lost a lot of you ....) -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: April-08-08 4:14 PM To: nagios-users at lists.sourceforge.net; kmanuel at unb.ca Subject: Re: [Nagios-users] nagios to monitor several switch ports Am Dienstag 08 April 2008 schrieb Kevin Manuel: > I would like to have Nagios alert on the status of individual switch ports > - link up/down, traffic, etc. Is there a way to do this other than creating > a separate host or service for each port. There are 1000's of ports on our > network and this doesn't seem practical. What kind of switches do you have? I don't know if there is a plugin for such a test, but I think it can easily be written using SNMP and a scriptinglanguage of your choice. > > > > What I would like is for a host switch to show as "warning" (or "critical") > if one or more switch port is down / exceeding a traffic limit and showing > "ok" only if ALL ports are up, etc. Even if I don't understand why you want to monitor that, SNMP is your friend here. You just need the according MIB according to your switch. Greetings, -- 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 Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 8 21:30:43 2008 From: andyford at agedwards.com (Ford, Andy) Date: Tue, 8 Apr 2008 14:30:43 -0500 Subject: nagios to monitor several switch ports In-Reply-To: <200804082114.21755.cschneemann@suse.de> References: <057d01c899aa$b2bdc390$18394ab0$@ca> <200804082114.21755.cschneemann@suse.de> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F1D4@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 Christian Schneemann > Sent: Tuesday, April 08, 2008 2:14 PM > To: nagios-users at lists.sourceforge.net; kmanuel at unb.ca > Subject: Re: [Nagios-users] nagios to monitor several switch ports > > Am Dienstag 08 April 2008 schrieb Kevin Manuel: > > I would like to have Nagios alert on the status of > individual switch ports > > - link up/down, traffic, etc. Is there a way to do this > other than creating > > a separate host or service for each port. There are 1000's > of ports on our > > network and this doesn't seem practical. > > What I would like is for a host switch to show as "warning" > (or "critical") > > if one or more switch port is down / exceeding a traffic > limit and showing > > "ok" only if ALL ports are up, etc. I think that the reason this kind of thing doesn't exist is that it's more practical to do it on the server. I.E. monitor the network status and traffic from your server's point of view. It's more practical because it's easier to maintain a list of your servers than to keep Nagios configured to know which switch ports should be active. Also set up the switch (should be the default) to send link up/down traps and have Nagios watch for them so you can quickly correlate your server network status and know if the switch is the problem when the server alarms. Andy Ford Wachovia Securities Information Security 314-955-6647 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hs at schlittermann.de Tue Apr 8 21:43:50 2008 From: hs at schlittermann.de (Heiko Schlittermann) Date: Tue, 8 Apr 2008 21:43:50 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: References: <20080408105001.GK21241@schlittermann.de> Message-ID: <20080408194350.GZ21241@schlittermann.de> Hello Israel, Israel Brewster (Di 08 Apr 2008 19:32:25 CEST): > On Apr 8, 2008, at 2:50 AM, Heiko Schlittermann wrote: > >Hello, > > > >(using 3.0.1) > > > >I've a list of hosts, these hosts are not available for ping, but > >normal > >service checks (SSH, SMTP, ...) work. Nagios reports theses hosts > >beeing > >down! Ugly! > > > >If I remember well, older nagios versions "knew" that's enough to see > >one service on a host to know this host has to be up. > > To a degree, yes- if you aren't actively checking the host (as would > appear to be the case from your next paragraph), then as long as all > services on the host are listed as ok, nagios assumes the host is > still ok (at least once running, I don't know how it behaves on the > initial check). However, should any of the services go into a non-ok > state, nagios will immediately check the host (using the host > check_command), wherupon, in your case, it would determine the host to > be down since it can't ping. The state of the other services does not > affect this process, so any other services do not change state. That's an interesting detail: if ANY of the service checks fails, a host scheck is scheduled. This would explain why the host check takes place and fails (if it's using "ping"). But - my question here, why is *any* failing service a trigger of a host check? Shouldn't be the failure of *all* services this trigger? -- Heiko -------------- 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 frank at crop-circle.net Tue Apr 8 21:48:42 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Tue, 8 Apr 2008 15:48:42 -0400 Subject: stability of ndoutils-1.4b7 (ndomod and ndo2db)? Message-ID: Hi, I've just started using ndomod and ndo2db on a development server to have status checks logged to a MySQL database instead of flat files. I am using Nagios v. 2.10 on the development server, v. 2.7 on the production server. The one on production can probably be upgraded to 2.10? Anyway, the readme file in the ndoutils-1.4b7 says: This code is still an alpha/beta quality, so expect problems if you intend > to use > it. Make sure that you aren't using it with your only production > installation of > Nagios, or it could take down the Nagios process if the NDOMOD module > segfaults. > Nagios could segfault silently and you might never know that Nagios > crashed... > However, I see from the SourceForge site that this code hasn't been changed since 10/31/2007. Is this add-on relatively stable? Are other folks using it in production? Is there anything in particular I should be aware of? Thanks! -Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 folkert at vanheusden.com Tue Apr 8 21:51:11 2008 From: folkert at vanheusden.com (Folkert van Heusden) Date: Tue, 8 Apr 2008 21:51:11 +0200 Subject: stability of ndoutils-1.4b7 (ndomod and ndo2db)? In-Reply-To: References: Message-ID: <20080408195111.GC30906@vanheusden.com> For logging nagios status to mysql, one could also use the import-script fom NagiosDigger: http://www.vanheusden.com/nagiosdigger/ (yes I wrote that). On Tue, Apr 08, 2008 at 03:48:42PM -0400, Frank J. G?mez wrote: > Hi, I've just started using ndomod and ndo2db on a development server to > have status checks logged to a MySQL database instead of flat files. I am > using Nagios v. 2.10 on the development server, v. 2.7 on the production > server. The one on production can probably be upgraded to 2.10? > > Anyway, the readme file in the ndoutils-1.4b7 says: > > This code is still an alpha/beta quality, so expect problems if you intend > > to use > > it. Make sure that you aren't using it with your only production > > installation of > > Nagios, or it could take down the Nagios process if the NDOMOD module > > segfaults. > > Nagios could segfault silently and you might never know that Nagios > > crashed... > > > > However, I see from the SourceForge site that this code hasn't been changed > since 10/31/2007. Is this add-on relatively stable? Are other folks using > it in production? Is there anything in particular I should be aware of? > > Thanks! > -Frank > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Folkert van Heusden -- www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of HP/UX en win een vlaai naar keuze ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Apr 8 21:57:05 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 8 Apr 2008 12:57:05 -0700 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408194350.GZ21241@schlittermann.de> References: <20080408105001.GK21241@schlittermann.de> <20080408194350.GZ21241@schlittermann.de> Message-ID: <20080408195705.GJ30359@bakgwai.americas.hpqcorp.net> Moin Heiko! Heiko Schlittermann schrieb am Tuesday, den 08. April 2008: > But - my question here, why is *any* failing service a trigger of a host > check? Shouldn't be the failure of *all* services this trigger? This is so that if the outage of a service is caused by the host being down, you are notified that the host is down, and not the service. If Nagios waited for every service to fail first, you'd get a lot of alerts you probably don't want. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 21:57:41 2008 From: marc at ena.com (Marc Powell) Date: Tue, 8 Apr 2008 14:57:41 -0500 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408194350.GZ21241@schlittermann.de> References: <20080408194350.GZ21241@schlittermann.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Heiko Schlittermann > Sent: Tuesday, April 08, 2008 2:44 PM > To: Israel Brewster > > But - my question here, why is *any* failing service a trigger of a host > check? Shouldn't be the failure of *all* services this trigger? Service A gets checked every 5 minutes. Service B gets checked once a day. Do you _really_ want to wait to know if the host is down until Service B is checked and fails? The problem you're experiencing is an artifact of your configuration methodology. If you don't want hosts checked, ever, do not specify a host check_command (i.e. leave the entire line out). The fact that you have it included in a template applied to the host is why it's being checked. Use a template that doesn't specify a host check_command. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Apr 8 22:24:05 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 8 Apr 2008 16:24:05 -0400 Subject: How do I display multiple line check results forNSCA? In-Reply-To: References: Message-ID: I was hoping for an answer on this one myself. I am also running distributed servers, but would like to start taking advantage of long host/service output. I had heard from somewhere a few months back that while Nagios and NRPE support long host output, NSCA still does not. Is this still correct? Are there plans to get this fixed? Thanks Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of #ANG CHIN TECK# Sent: Monday, April 07, 2008 5:39 AM To: nagios-users Subject: [Nagios-users] How do I display multiple line check results forNSCA? Hi all, I am using NSCA to do passive checks. Nagios web interface only displays the first line of the multiple-line results sent back to Nagios. But when i use nrpe to do active checks, all the lines are displayed. Is it possible to configure the external commands or NSCA to allow displaying of multiple line output? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 Tue Apr 8 23:13:46 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 08 Apr 2008 23:13:46 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408194350.GZ21241@schlittermann.de> References: <20080408105001.GK21241@schlittermann.de> <20080408194350.GZ21241@schlittermann.de> Message-ID: <47FBE00A.9040500@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Heiko Schlittermann wrote: | But - my question here, why is *any* failing service a trigger of a host | check? Shouldn't be the failure of *all* services this trigger? Well. If a service goes missing it might very well be an issue with the host or even further up the line. So The first thing to do is see if the host is still there. Then if the host is still there other service checks will go on. But if the host is down there is little point in sending out alerts on other missing services untill you got them all only to report a down host there. By doing an immediate host check you only have to send a host down notification and be done with it if the host is down. 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) iD8DBQFH++AIBvzDRVjxmYERAoSMAJ9aAfJzGwQ67xSUdtWS4NSolaqNWgCggmT/ dHTaLDuiRElOpkugiF0t0bY= =bHTn -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From folkert at vanheusden.com Tue Apr 8 23:16:55 2008 From: folkert at vanheusden.com (Folkert van Heusden) Date: Tue, 8 Apr 2008 23:16:55 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <47FBE00A.9040500@vanderkooij.org> References: <20080408105001.GK21241@schlittermann.de> <20080408194350.GZ21241@schlittermann.de> <47FBE00A.9040500@vanderkooij.org> Message-ID: <20080408211655.GC31735@vanheusden.com> > | But - my question here, why is *any* failing service a trigger of a host > | check? Shouldn't be the failure of *all* services this trigger? Sorry to drop-in (and maybe saying something stupid) but as far as i know the host may be down if it stopped responding to ping but still responds to service-checks. Folkert van Heusden -- Multitail - gibkaja utilita po sledovaniju log-fajlov i vyvoda kommand. Fil'trovanie, raskra?ivanie, slijanie, vizual'noe sravnenie, i t.d. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 23:22:23 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 08 Apr 2008 23:22:23 +0200 Subject: nagios to monitor several switch ports In-Reply-To: <057d01c899aa$b2bdc390$18394ab0$@ca> References: <057d01c899aa$b2bdc390$18394ab0$@ca> Message-ID: <47FBE20F.2020308@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Manuel wrote: | I would like to have Nagios alert on the status of individual switch | ports ? link up/down, traffic, etc. Is there a way to do this other than | creating a separate host or service for each port. There are 1000?s of | ports on our network and this doesn?t seem practical. | | What I would like is for a host switch to show as ?warning? (or | ?critical?) if one or more switch port is down / exceeding a traffic | limit and showing ?ok? only if ALL ports are up, etc. Don't you think this could create a big overhead that will be in excess of using a howitzer to hunt litlle flies? I do not think you want to know too much about individual switch ports. Why would nagios go ape everytime I reboot my laptop? I would monitor the hosts behind the switch ports that you care about. Perhaps trigger alerts on real odd errors on your switch. But trying to monitor it all will outweight the little benefits you might gain in effort and needless alerts. 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) iD8DBQFH++INBvzDRVjxmYERAoUuAKCJE7Fixdsq2BBJy+j2TmhRiba7hACgoWH9 Yow+ww5X05PWtldVUjGcUPE= =I4we -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hs at schlittermann.de Wed Apr 9 00:33:49 2008 From: hs at schlittermann.de (Heiko Schlittermann) Date: Wed, 9 Apr 2008 00:33:49 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408211655.GC31735@vanheusden.com> References: <20080408105001.GK21241@schlittermann.de> <20080408194350.GZ21241@schlittermann.de> <47FBE00A.9040500@vanderkooij.org> <20080408211655.GC31735@vanheusden.com> Message-ID: <20080408223349.GE21241@schlittermann.de> Folkert van Heusden (Di 08 Apr 2008 23:16:55 CEST): > > | But - my question here, why is *any* failing service a trigger of a host > > | check? Shouldn't be the failure of *all* services this trigger? > > Sorry to drop-in (and maybe saying something stupid) but as far as i > know the host may be down if it stopped responding to ping but still > responds to service-checks. ?? How. Or I'm stupid? How should the host respond to service checks if it's down and doesn't respond to ping therefore? -- Heiko -------------- 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. 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 patrick.morris at hp.com Wed Apr 9 01:10:30 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 8 Apr 2008 16:10:30 -0700 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408223349.GE21241@schlittermann.de> References: <20080408105001.GK21241@schlittermann.de> <20080408194350.GZ21241@schlittermann.de> <47FBE00A.9040500@vanderkooij.org> <20080408211655.GC31735@vanheusden.com> <20080408223349.GE21241@schlittermann.de> Message-ID: <20080408231030.GM30359@bakgwai.americas.hpqcorp.net> Heiko Schlittermann schrieb am Tuesday, den 08. April 2008: > Folkert van Heusden (Di 08 Apr 2008 23:16:55 CEST): > > > | But - my question here, why is *any* failing service a trigger of a host > > > | check? Shouldn't be the failure of *all* services this trigger? > > > > Sorry to drop-in (and maybe saying something stupid) but as far as i > > know the host may be down if it stopped responding to ping but still > > responds to service-checks. > > ?? How. Or I'm stupid? How should the host respond to service checks > if it's down and doesn't respond to ping therefore? It happens. For example, I have two switches in a strange state that I can't ping, but otherwise work fine. That's beside the point, though... Under normal circumstances, Nagios will assume that, if your host check fails, all your services should be considered broken, too. That's why a host check should always be designed in a way that if failways always, and only, if a host should be considered down. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Apr 9 04:32:37 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 9 Apr 2008 14:32:37 +1200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408105001.GK21241@schlittermann.de> References: <20080408105001.GK21241@schlittermann.de> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A201DFD94E@UXCHANGE3.UoA.auckland.ac.nz> > I've a list of hosts, these hosts are not available for ping, but normal > service checks (SSH, SMTP, ...) work. Nagios reports theses hosts beeing > down! Ugly! On our system, we too have a small subset of hosts which cannot be pinged. However, they can be SSH'ed. So, I defined a new test, check-host-alive-ssh which used an SSH connection rather than a ping, and define this as the host_check_command for the hosts in question. This allows Nagios to continue to work as expected. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking99 at yahoo.com Wed Apr 9 07:40:28 2008 From: wgking99 at yahoo.com (Greg King) Date: Tue, 8 Apr 2008 22:40:28 -0700 (PDT) Subject: Nagios-users Digest, Vol 23, Issue 18 Message-ID: <743136.92455.qm@web50309.mail.re2.yahoo.com> >Message: 6 >Date: Sat, 5 Apr 2008 12:15:34 +0530 >From: Pallav.S.Gupta at relianceada.com >Subject: [Nagios-users] monitoring windows NT workstation. >To: nagios-users at lists.sourceforge.net >Message-ID: > > >Content-Type: text/plain; charset="us-ascii" > >Hi All > >I have some servers in NT 4 , in which nsclient++ can't be installed , So >how can i make nagios to monitor those NT sytems. > >Pls help. Have you tried the old nsclient from http://nsclient.ready2run.nl/ ? It has WinNT binaries as well as Win2000 and XP, and provides a subset of the ++ version. I use it a lot and its pretty reliable. Regards, Greg King www.wgk-consulting.com ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking99 at yahoo.com Wed Apr 9 08:13:51 2008 From: wgking99 at yahoo.com (Greg King) Date: Tue, 8 Apr 2008 23:13:51 -0700 (PDT) Subject: Too stupid? Services are available, but nagios reports host to be down! Message-ID: <341406.23111.qm@web50305.mail.re2.yahoo.com> > Message: 8 > Date: Tue, 8 Apr 2008 09:32:25 -0800 > From: Israel Brewster > Subject: Re: [Nagios-users] Too stupid? Services are available, but > nagios reports host to be down! > To: Heiko Schlittermann > Cc: nagios-users > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > On Apr 8, 2008, at 2:50 AM, Heiko Schlittermann wrote: > > Hello, > > > > (using 3.0.1) > > > > I've a list of hosts, these hosts are not available for ping, but > > normal > > service checks (SSH, SMTP, ...) work. Nagios reports theses hosts > > beeing > > down! Ugly! > > > > If I remember well, older nagios versions "knew" that's enough to see > > one service on a host to know this host has to be up. > > To a degree, yes- if you aren't actively checking the host (as would > appear to be the case from your next paragraph), then as long as all > services on the host are listed as ok, nagios assumes the host is > still ok (at least once running, I don't know how it behaves on the > initial check). However, should any of the services go into a non-ok > state, nagios will immediately check the host (using the host > check_command), wherupon, in your case, it would determine the host to > be down since it can't ping. The state of the other services does not > affect this process, so any other services do not change state. > > > The host check_command is the normale 'check-host-alive' (which is > > pinging), the check_interval is 0 -- why does nagios want to check > > that > > host? > > Because at some point one or more of the services went into a non-ok > state. > > > The check_command is inherited from some template, if I try to > > override > > it with no value, nagios complains: > > > > Error: Host check command '(null)' specified for host 'diwi/diw' is > > not defined anywhere > > Yep- you can't have no value in the check_command directive. If you > just want to assume the host is up all the time, you can use the > check_dummy plugin (after defining a check_dummy command in your > checkcommands.cfg, naturally). Otherwise you'll need to figure out > some check Nagios can perform to determine if the host is running, > even if that check is just checking one of the services again or > something. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > > > > > So - please, could anybody point to my stupidity? > > > > Thanks. > > > > > > Best regards from Dresden > > Viele Gr??e aus Dresden > > Heiko Schlittermann The normal check_host_alive command is ping, but it might not work for some hosts like firewalls, etc. For these hosts use NMAP to scan for an open TCP port on the host (ssh or http ports are frequently open), then create a check_host_alive2 that does a check_tcp to that known open port, and override the default check_host_alive for the hosts in question, or create a new group for these hosts and use the new check_host_alive2 command. Regards, Greg King www.wgk-consulting.com ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmw at tiger-computing.co.uk Wed Apr 9 10:04:14 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Wed, 9 Apr 2008 09:04:14 +0100 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408105001.GK21241@schlittermann.de> References: <20080408105001.GK21241@schlittermann.de> Message-ID: <20080409090414.76bc2863@tclmmw.in.tiger-computing.com> On Tue, 8 Apr 2008 12:50:01 +0200 Heiko Schlittermann wrote: > I've a list of hosts, these hosts are not available for ping, but > normal service checks (SSH, SMTP, ...) work. Nagios reports theses > hosts beeing down! Ugly! > > If I remember well, older nagios versions "knew" that's enough to see > one service on a host to know this host has to be up. Not sure if it's available in 3.x (we're still happily using 2.x here!) however we use ssh as our check-host-alive command for the reasons that you've listed above (we block most if not all ICMP traffic to our hosts unless it's specifically required.). A connection is initialised via ssh and if that works, the host is deemed to be up. We also use NRPE to check that sshd is running so if the host appears as down however the all the services apart from sshd are up, we know that it is most likely an issue with sshd, not the server. Hope this helps, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hs at schlittermann.de Wed Apr 9 10:07:03 2008 From: hs at schlittermann.de (Heiko Schlittermann) Date: Wed, 9 Apr 2008 10:07:03 +0200 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <341406.23111.qm@web50305.mail.re2.yahoo.com> References: <341406.23111.qm@web50305.mail.re2.yahoo.com> Message-ID: <20080409080703.GH21241@schlittermann.de> Greg King (Mi 09 Apr 2008 08:13:51 CEST): > > > Heiko Schlittermann > > The normal check_host_alive command is ping, but it might not work for some hosts like firewalls, etc. For these hosts use NMAP to scan for an open TCP port on the host (ssh or http ports are frequently open), then create a check_host_alive2 that does a check_tcp to that known open port, and override the default check_host_alive for the hosts in question, or create a new group for these hosts and use the new check_host_alive2 command. Yep. Thank you. This possibility I know, I was just irritated from/by (?) the logic behind the host checks. But thanks to all answers now I understand the reason for triggering a host check as soon as *any* service fails. (That doesn't mean that I agree with this logic, but I understand it ;-)) Best regards from Dresden Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B - -------------- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 hs at schlittermann.de Wed Apr 9 10:31:18 2008 From: hs at schlittermann.de (Heiko Schlittermann) Date: Wed, 9 Apr 2008 10:31:18 +0200 Subject: [Solved] Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A201DFD94E@UXCHANGE3.UoA.auckland.ac.nz> References: <20080408105001.GK21241@schlittermann.de> <12A6FDDD13C460408A6E47E5DB1235A201DFD94E@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <20080409083118.GI21241@schlittermann.de> Hello, the summary to my question: Q: A host checks gets triggered as soon as any service fails? (My host check (ping) doesn't work, because the hosts are not pingable and I supposed to see the host "UP" as long as any services works, so normally no reason for pinging.) A: Nagios consideres any failing service as a problem and behaves like human being would do: it doesn't check all the other services, it justs checks if the host itself is up. If the failure reason is a dead host, it will detect host outage immediatly fast w/o complaining about all the other services failing. (If nagios would wait with the host check until all services failed it can take a long time (e.g. if some service is checked with a long check_interval only)). Conclusion: You should define a working host check, you can "abuse" some of the service checks, at least (in my case) you can "ping" the ssh port or something similar. As a last ressort you may disable the host check with having no check_command for that host (but beware: once it is set in some template, you can't "reset" it!). Some other last ressort could be defining a fake test as check command. If it's really intended to trigger the host check if *all* services failed, you'll need to have a host check command which checks for that condition, one proposal was to use the check_cluster plugin. Thanks for the help Best regards from Dresden Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B - -------------- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Carl.Friend at mathworks.com Wed Apr 9 13:40:15 2008 From: Carl.Friend at mathworks.com (Carl Friend) Date: Wed, 9 Apr 2008 07:40:15 -0400 Subject: Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080408231030.GM30359@bakgwai.americas.hpqcorp.net> References: <20080408105001.GK21241@schlittermann.de> <20080408194350.GZ21241@schlittermann.de> <47FBE00A.9040500@vanderkooij.org> <20080408211655.GC31735@vanheusden.com> <20080408223349.GE21241@schlittermann.de> <20080408231030.GM30359@bakgwai.americas.hpqcorp.net> Message-ID: <0528A1CB48AB5B4FA0D8FD7E0D94D81D3EF0DBF8B0@EXCHANGE-AH.ad.mathworks.com> Patrick Morris wirtes: HS> ?? How. Or I'm stupid? How should the host respond to service checks HS> if it's down and doesn't respond to ping therefore? > > It happens. For example, I have two switches in a strange state > that I can't ping, but otherwise work fine. Technically speaking, all a "ping" tells one these days is that the path to the host is operational, not necessarily that the host itself is alive. I've seen plenty of hosts that have completely and totally wedged up happily respond to an ICMP ping because the responsibility for that has been devolved to the NIC. So, what one winds up with is a host that's reported as "UP", when in fact all the services are deader than doornails. The anoying thing with the way Nagios handles things in this regard is if a ping doesn't work (and lots of sites block ICMP echo requests as part of a "security through obscurity" scheme) one winds up with a "DOWN" host and lots of "UP" services. But, as has been alluded to, getting the logic right can be problematic. There may be no "right" answer. +-----------------------------------------+----------------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts, USA | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +----------------------------+ | http://users.rcn.com/crfriend/museum | ICBM: +42:18:00 -71:21:03 | +-----------------------------------------+----------------------------+ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 9 14:11:46 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Wed, 9 Apr 2008 17:41:46 +0530 Subject: help : Nagvis Message-ID: Hi All I am installing nagvis , while editing the nagvis.ini.php , I have come across the following commands. In the base value I have given the path /usr/local/nagios/share/nagvis-1.2.2 but I am unable to proceed for htmlbase & htmlcgi as i am unable to locate /nagios/nagvis & /nagios/cgi-bin Highly appreciate someone's help on this paths In this section are all needed path variables defined. This example shows all values of the paths section: [paths] base="/usr/local/nagios/share/nagvis/" htmlbase="/nagios/nagvis" htmlcgi="/nagios/cgi-bin" Value Default Description base /usr/local/nagios/share/nagvis/ Absolute physical NagVis path htmlbase /nagios/nagvis Absolute html NagVis path htmlcgi /nagios/cgi-bin Absolute html NagVis cgi path 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 paul.weaver at bbc.co.uk Wed Apr 9 14:28:18 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 9 Apr 2008 13:28:18 +0100 Subject: help : Nagvis In-Reply-To: References: Message-ID: If your normal nagios installation is at http://foo.com/nagios/ the base is /nagios/nagvis. If it's at http://foo.com/mynagios, base is /mynagios/nagvis. If you've set up Apache to make http://foo.com/ the place to go to for the nagios web client, your htmlbase is /nagvis It's the absolute URL of the nagvis, which is a subdirectory off your normal nagios web client. -- "Power corrupts. Power failure corrupts absolutely" Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 8225 8109 Mobile: 07736 481006 Room 1244, BBC Television Centre, Wood Lane, London, W12 7RJ -----Original Message----- 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: 09 April 2008 13:12 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help : Nagvis Importance: High Hi All I am installing nagvis , while editing the nagvis.ini.php , I have come across the following commands. In the base value I have given the path /usr/local/nagios/share/nagvis-1.2.2 but I am unable to proceed for htmlbase & htmlcgi as i am unable to locate /nagios/nagvis & /nagios/cgi-bin Highly appreciate someone's help on this paths In this section are all needed path variables defined. This example shows all values of the paths section: [paths] base="/usr/local/nagios/share/nagvis/" htmlbase="/nagios/nagvis" htmlcgi="/nagios/cgi-bin" Value Default Description base /usr/local/nagios/share/nagvis/ Absolute physical NagVis path htmlbase /nagios/nagvis Absolute html NagVis path htmlcgi /nagios/cgi-bin Absolute html NagVis cgi path 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. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT58872708.gif Type: image/gif Size: 6675 bytes Desc: ATT58872708.gif 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 Wed Apr 9 16:09:58 2008 From: marc at ena.com (Marc Powell) Date: Wed, 9 Apr 2008 09:09:58 -0500 Subject: [Solved] Too stupid? Services are available, but nagios reports host to be down! In-Reply-To: <20080409083118.GI21241@schlittermann.de> References: <20080409083118.GI21241@schlittermann.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Heiko Schlittermann > Sent: Wednesday, April 09, 2008 3:31 AM > To: Steve Shipway > Cc: nagios-users > Subject: Re: [Nagios-users] [Solved] Too stupid? Services are available,but > nagios reports host to be down! > > Hello, > > the summary to my question: Thank you for sending the excellent summary for the archives. -- 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 Apr 9 18:34:58 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Wed, 9 Apr 2008 12:34:58 -0400 Subject: ndo2db -- lots of empty tables Message-ID: Hello again. So I've got the ndo2db module installed and working, but now I have some questions. The results of my service checks are being logged to the nagios_servicechecks table, which is very cool. However, I have a bunch of tables in the nagios database which are not populated. I won't list them all, but I'm most interested in nagios_hosts and nagios_services. What's interesting is that hosts and services seem to be stored together in the nagios_objects table. Hosts are stored with an objecttype_id of 1, with the hostname stored in name1. Services are stored with an objecttype_id of 2, with the hostname stored in name1 and the command stored in name2. Also worth noting is that the nagios_servicechecks table never refers to columns from the nagios_hosts and nagios_services; instead it refers to the object ids. So I guess those are mostly observations, not questions... Some questions then: - Did I do something wrong/different during the install process, or are these tables empty by default for everyone else? - Say I want to monitor a new host, should I edit my config files as in the past or add the information to the database? If I add it to the database, should I use the nagios_objects table or mess with the nagios_hosts and nagios_services tables? - Does anyone know what all of the objecttype_id codes mean? So far I have 1 (hosts), 2 (services), 9, 10, and 12. - Why are those tables there if they are not being used? I may think of more questions later; these are the ones that immediately popped into my head. Thanks, -Frank PS: I have not seen much documentation about ndo2db. If anyone has a good resource, please share! > -----Original Message----- > From: Frank J. G?mez > To: nagios-users at lists.sourceforge.net > > Sent: Tue Apr 08 15:48:42 2008 > Subject: [Nagios-users] stability of ndoutils-1.4b7 (ndomod and ndo2db)? > > Hi, I've just started using ndomod and ndo2db on a development server to > have status checks logged to a MySQL database instead of flat files. I am > using Nagios v. 2.10 on the development server, v. 2.7 on the production > server. The one on production can probably be upgraded to 2.10... > > Anyway, the readme file in the ndoutils-1.4b7 says: > > > > This code is still an alpha/beta quality, so expect problems if you intend > to use > it. Make sure that you aren't using it with your only production > installation of > Nagios, or it could take down the Nagios process if the NDOMOD module > segfaults. > Nagios could segfault silently and you might never know that Nagios > crashed... > > > > However, I see from the SourceForge site that this code hasn't been > changed since 10/31/2007. Is this add-on relatively stable? Are other > folks using it in production? Is there anything in particular I should be > aware of? > > Thanks! > -Frank > > > > -------------- 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 radhiilu at yahoo.com Wed Apr 9 20:55:42 2008 From: radhiilu at yahoo.com (Sekhar) Date: Wed, 9 Apr 2008 11:55:42 -0700 (PDT) Subject: Nagios 3 GUI config tools Message-ID: <480035.65869.qm@web90501.mail.mud.yahoo.com> Hi, I am looking for Nagios 3 GUI config tools for hosts,groups,contacts etc No one seems to be developing nice tool for nagios gui config fruity - this is only publicity stunt RC release nearly 2 years Is there any other tools which can be used for easy configuration of nagios thanks for your help Best Regards __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- 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 aaron.segura at cabelas.com Wed Apr 9 21:23:51 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 09 Apr 2008 13:23:51 -0600 Subject: Nagios 3 GUI config tools In-Reply-To: <480035.65869.qm@web90501.mail.mud.yahoo.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> Message-ID: <1207769031.6066.3.camel@sidhqmis4grdv91> On Wed, 2008-04-09 at 11:55 -0700, Sekhar wrote: > Hi, > > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts > etc > > No one seems to be developing nice tool for nagios gui config > > fruity - this is only publicity stunt RC release nearly 2 years > > Is there any other tools which can be used for easy configuration of > nagios > > thanks for your help > > Best Regards Monarch is nice, but I'm not sure it supports v3 yet... http://sourceforge.net/projects/monarch http://www.groundworkopensource.com/community/forums/viewforum.php?f=29 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmills at accessdc.com Wed Apr 9 21:47:58 2008 From: cmills at accessdc.com (Mills, Charles) Date: Wed, 9 Apr 2008 15:47:58 -0400 Subject: Nagios 3 GUI config tools In-Reply-To: <1207769031.6066.3.camel@sidhqmis4grdv91> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <1207769031.6066.3.camel@sidhqmis4grdv91> Message-ID: <58E0B21FC367B24485855A1DBD96B0BB0DCA8009@adc-prd-exch1.internal.accessdc.com> Still pretty new. Don't think the open source community has caught up yet. My programming skills are lacking the abilities so I'm stuck with v2.11. Chuck -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Aaron M. Segura Sent: Wednesday, April 09, 2008 3:24 PM To: Sekhar Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3 GUI config tools On Wed, 2008-04-09 at 11:55 -0700, Sekhar wrote: > Hi, > > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts > etc > > No one seems to be developing nice tool for nagios gui config > > fruity - this is only publicity stunt RC release nearly 2 years > > Is there any other tools which can be used for easy configuration of > nagios > > thanks for your help > > Best Regards Monarch is nice, but I'm not sure it supports v3 yet... http://sourceforge.net/projects/monarch http://www.groundworkopensource.com/community/forums/viewforum.php?f=29 ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 e-mail message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this e-mail message in error, please notify the sender immediately by telephone or e-mail and destroy the original message without making a copy. Thank you. Neither this information block, the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 9 22:32:03 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Wed, 9 Apr 2008 17:32:03 -0300 Subject: trends.cgi strange problem Message-ID: Hi, I was trying to generate some reports using trends.cgi and have found a problem. If I change the "end date" to something before "today" the cgi gives me a wrong report, showing an "always up" report, which is not true. I can change the start date to whatever I want, and the problem don't show up. I can also modify the hours, minutes, or seconds on the end date and the report shows real data. The problem only happends when the end date is changed to something diferent (on day, month or year) then the today date. Ex.: If I want to get a report right now, I can go to trends.cgi and set the end date to something like 04/09/2008 00:01, but cannot set the end date to something like 04/08/2008 23:59. Has anyone see this problem before? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 9 22:43:17 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Wed, 9 Apr 2008 17:43:17 -0300 Subject: trends.cgi strange problem In-Reply-To: References: Message-ID: Sorry.... Nagios 2.6 Debian etch 4.0 2008/4/9, Livio Zanol Puppim : > Hi, > > I was trying to generate some reports using trends.cgi and have found a problem. > > If I change the "end date" to something before "today" the cgi gives > me a wrong report, showing an "always up" report, which is not true. > > I can change the start date to whatever I want, and the problem don't > show up. I can also modify the hours, minutes, or seconds on the end > date and the report shows real data. The problem only happends when > the end date is changed to something diferent (on day, month or year) > then the today date. > > Ex.: > If I want to get a report right now, I can go to trends.cgi and set > the end date to something like 04/09/2008 00:01, but cannot set the > end date to something like 04/08/2008 23:59. > > Has anyone see this problem before? > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 9 22:49:59 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Wed, 9 Apr 2008 17:49:59 -0300 Subject: trends.cgi strange problem In-Reply-To: References: Message-ID: I have checked on avail.cgi and noticed that the data show is "Insufficient Data" and not Host Up data. Why is this happening? What must I do to get the reports to work correctly... thanks, L?vio Zanol Puppim 2008/4/9, Livio Zanol Puppim : > Sorry.... > > Nagios 2.6 > Debian etch 4.0 > > 2008/4/9, Livio Zanol Puppim : > > > Hi, > > > > I was trying to generate some reports using trends.cgi and have found a problem. > > > > If I change the "end date" to something before "today" the cgi gives > > me a wrong report, showing an "always up" report, which is not true. > > > > I can change the start date to whatever I want, and the problem don't > > show up. I can also modify the hours, minutes, or seconds on the end > > date and the report shows real data. The problem only happends when > > the end date is changed to something diferent (on day, month or year) > > then the today date. > > > > Ex.: > > If I want to get a report right now, I can go to trends.cgi and set > > the end date to something like 04/09/2008 00:01, but cannot set the > > end date to something like 04/08/2008 23:59. > > > > Has anyone see this problem before? > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Wed Apr 9 23:04:31 2008 From: CWaters at jeld-wen.com (Chris Waters) Date: Wed, 9 Apr 2008 14:04:31 -0700 Subject: Nagios 3 GUI config tools In-Reply-To: <480035.65869.qm@web90501.mail.mud.yahoo.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> Message-ID: <30D62F21FD4BE1448C156D2A3E3003970364BFCC@jwmail01.jeld-wen.com> Actually Fruity is now called Lilac. It wasn't a publicity stunt, there is some history there that stalled developement. It is being actively developed. Nagios 3 support is in the works now that 3.0 is out. http://sourceforge.net/projects/lilac/ Chris Waters Technology Services - Network Group JELD-WEN, Inc. Information Systems cwaters at jeld-wen.com ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sekhar Sent: Wednesday, April 09, 2008 11:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3 GUI config tools Hi, I am looking for Nagios 3 GUI config tools for hosts,groups,contacts etc No one seems to be developing nice tool for nagios gui config fruity - this is only publicity stunt RC release nearly 2 years Is there any other tools which can be used for easy configuration of nagios thanks for your help Best Regards __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- 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 emanuel.massano at fccn.pt Wed Apr 9 23:52:42 2008 From: emanuel.massano at fccn.pt (Emanuel Massano) Date: Wed, 09 Apr 2008 22:52:42 +0100 Subject: Want to test machine if EITHER of two other machines is up In-Reply-To: <26face530804061624x5bb56f6haf7700fc98e67aaa@mail.gmail.com> References: <26face530804061624x5bb56f6haf7700fc98e67aaa@mail.gmail.com> Message-ID: <47FD3AAA.3040704@fccn.pt> Hi, Have you tested with check_cluster? I think it is what you want. Here is the link in the docs: http://nagios.sourceforge.net/docs/3_0/clusters.html Regards EM Kelly Jones wrote: > I use vMotion to auto-move several VMs between two VM servers: vm1 and vm2. > > I want to monitor these VMs if *either* of vm1 *or* vm2 is up, not > necessarily both. > > Is there any easy way to do this? "parents vm1,vm2" requires both to be up. > > My hack solution was to create a fake "vm-either" machine whose check > command is effectively "ping vm1 || ping vm2", and then make vm-either > the parent of all my VMs. > > Is there a better way? > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hminassian at CHOC.ORG Thu Apr 10 00:50:42 2008 From: hminassian at CHOC.ORG (Hendric Minassian) Date: Wed, 09 Apr 2008 15:50:42 -0700 Subject: Event_handler and check_nrpe Message-ID: <47FCE5D2.D17E.000E.0@CHOC.ORG> I am trying to use an event_handler to reatrt a process on a remote server. I use NRPE for this purpose. The process works fine when I run the full check_nrpe command from the command line of the Nagios server: #./check_nrpe -H nnn.nn.nnn.nn -c restart_alert_agent_new -a CRITICAL SOFT 2 However, the restart script on the remote server does not kick in when the alert is encountered by Nagios itself. Below is the command defined in misccommands.cfg: define command{ command_name restart_alert_agent_new command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c restart_alert_agent_new -a $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } As mentioned, the restart script in the remote server works fine when invoked through the command line on Nagios server (above). Below is the definition of the service in services.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name CHOCLX-INTTEST service_description check_total_procs is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 2 event_handler_enabled 1 event_handler restart_alert_agent_new contact_groups sun-admins,lawson-admins,egate-admins notification_interval 240 notification_period 24x7 notification_options u,c notifications_enabled 1 check_command check_nrpe!check_total_procs } Thank you for your help. Hendric Minassian "EMF " made the following annotations. ------------------------------------------------------------------------------ 04/09/08, 15:51:44 This email message and any files transmitted are sent with confidentiality in mind and contain privileged or copyright information. You must not present this message to another party without gaining permission from the sender. If you are not the intended recipient you must not copy, distribute or use this email or the information contained in it for any purpose other than to notify Children's Hospital of Orange County. Any views expressed in this message are those of the sender, except where the sender specifically states them to be the views of Children's Hospital of Orange County. If you have received this message in error, please notify the sender immediately, and delete this email from your system. We do not guarantee that this material is free from viruses or any other defects although due care has been taken to minimize the risk. ============================================================================== -------------- 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 wgking99 at yahoo.com Thu Apr 10 04:12:19 2008 From: wgking99 at yahoo.com (Greg King) Date: Wed, 9 Apr 2008 19:12:19 -0700 (PDT) Subject: Nagios 3 GUI config tools Message-ID: <942842.33059.qm@web50304.mail.re2.yahoo.com> > Date: Wed, 9 Apr 2008 11:55:42 -0700 (PDT) > From: Sekhar > Subject: [Nagios-users] Nagios 3 GUI config tools > To: nagios-users at lists.sourceforge.net > Message-ID: <480035.65869.qm at web90501.mail.mud.yahoo.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts etc > > No one seems to be developing nice tool for nagios gui config > > fruity - this is only publicity stunt RC release nearly 2 years > > Is there any other tools which can be used for easy configuration of nagios > > thanks for your help > > Best Regards > I use NagiosQL from the Nagiosexchange site and it is pretty good I don't know the status of it it in combination with Nagios V3, nor have I looked deeply into v3 yet, but if the config files are upwardly compatible, then it should be fine. Regards, Greg King www.wgk-consulting.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 10 06:26:23 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 10 Apr 2008 09:56:23 +0530 Subject: Nagios : Monitoring Blackberry services. Message-ID: Hello All How do I monitor these services with nagios !!! Pls help. 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: 4464 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Neha.Sinha at iflexsolutions.com Thu Apr 10 06:28:24 2008 From: Neha.Sinha at iflexsolutions.com (Neha.Sinha at iflexsolutions.com) Date: Thu, 10 Apr 2008 09:58:24 +0530 Subject: help required- oracle monitoring using nagios In-Reply-To: References: Message-ID: Hi, I am trying to monitor an oracle server using nagios and am using a Perl script check_oracle_generic. I am new to nagios and hence have a very limited knowledge of it In my commands.cfg file I have defined a commnad as follows: define command{ command_name check_oracle_generic command_line /usr/local/nagios/libexec/check_oracle_generic -SID $ARG1$ -dbuser $ARG2$ -dbpassword $ARG3$ -w $ARG4$ -c $ARG5$ -q $ARG6$ } Also in the service definition its defined as define service{ use local-service host_name IRIMS_Linux service_description oracle session check_command check_oracle_generic -SID test2 -dbuser system -dbpassword manager -c 12 -w 18 -q \"select count(*) from v$session where username in not null\" contact_groups linuxadmin } However when I m checking my nagios configuration I am getting the following error Error: Service check command 'check_oracle_generic -SID test2 -dbuser system -dbpassword manager -c 12 -w 18 -q \"select count(*) from v$session where username in not null\"' specified in service 'oracle session' for host 'IRIMS_Linux' not defined anywhere! Also the file in the location /usr/local/nagios/libexec is an executable file. Also is there any alternate method to monitor an oracle server using nagios. Warm Regards, Neha Sinha i-RIMS | i-flex Remote Infrastructure Management Services | i-flex TDMS Tel: +91 80 6659 6000 | Extn: 6441 | Mobile: +91 9986760182 Fax: +91 80 6666 4005 Website: http://www.iflexsolutions.com/iflex/solutions/itinfrastructure.aspx?mnu= p3s4 Warm Regards, Neha Sinha i-RIMS | i-flex Remote Infrastructure Management Services | i-flex TDMS Tel: +91 80 6659 6000 | Extn: 6441 | Mobile: +91 9986760182 Fax: +91 80 6666 4005 Website: http://www.iflexsolutions.com/iflex/solutions/itinfrastructure.aspx?mnu= p3s4 DISCLAIMER: This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 73 bytes Desc: image001.gif 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 s.shipway at auckland.ac.nz Thu Apr 10 07:54:14 2008 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 10 Apr 2008 17:54:14 +1200 Subject: help required- oracle monitoring using nagios In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A201F22D63@UXCHANGE3.UoA.auckland.ac.nz> Your service definition should instead say: check_command check_oracle_generic!test2!system!manage!18!12!select count(*) from v$session where username in not null and your command definition should have command_line /usr/local/nagios/libexec/check_oracle_generic -SID '$ARG1$' -dbuser '$ARG2$' -dbpassword '$ARG3$' -w "$ARG4$" -c "$ARG5$" -q '$ARG6$' Re-read the documentation on how to define and use check commands. Steve ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Neha.Sinha at iflexsolutions.com Sent: Thursday, 10 April 2008 16:28 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help required- oracle monitoring using nagios Hi, I am trying to monitor an oracle server using nagios and am using a Perl script check_oracle_generic. I am new to nagios and hence have a very limited knowledge of it In my commands.cfg file I have defined a commnad as follows: define command{ command_name check_oracle_generic command_line /usr/local/nagios/libexec/check_oracle_generic -SID $ARG1$ -dbuser $ARG2$ -dbpassword $ARG3$ -w $ARG4$ -c $ARG5$ -q $ARG6$ } Also in the service definition its defined as define service{ use local-service host_name IRIMS_Linux service_description oracle session check_command check_oracle_generic -SID test2 -dbuser system -dbpassword manager -c 12 -w 18 -q \"select count(*) from v$session where username in not null\" contact_groups linuxadmin } However when I m checking my nagios configuration I am getting the following error Error: Service check command 'check_oracle_generic -SID test2 -dbuser system -dbpassword manager -c 12 -w 18 -q \"select count(*) from v$session where username in not null\"' specified in service 'oracle session' for host 'IRIMS_Linux' not defined anywhere! Also the file in the location /usr/local/nagios/libexec is an executable file. Also is there any alternate method to monitor an oracle server using nagios. Warm Regards, Neha Sinha i-RIMS | i-flex Remote Infrastructure Management Services | i-flex TDMS Tel: +91 80 6659 6000 | Extn: 6441 | Mobile: +91 9986760182 Fax: +91 80 6666 4005 Website: http://www.iflexsolutions.com/iflex/solutions/itinfrastructure.aspx?mnu= p3s4 Warm Regards, Neha Sinha i-RIMS | i-flex Remote Infrastructure Management Services | i-flex TDMS Tel: +91 80 6659 6000 | Extn: 6441 | Mobile: +91 9986760182 Fax: +91 80 6666 4005 Website: http://www.iflexsolutions.com/iflex/solutions/itinfrastructure.aspx?mnu= p3s4 DISCLAIMER: This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 73 bytes Desc: image001.gif 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 tonnyom-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Apr 10 07:57:31 2008 From: tonnyom-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Jacker W) Date: Thu, 10 Apr 2008 13:57:31 +0800 Subject: check_snmp_int store data for 215 ROW limit? Message-ID: <3557a7ad0804092257g15419684ud0cc92c0f2cb8b09@mail.gmail.com> (1) check_snmp_int info with performance log: [SERVICEPERFDATA] 1207799107 localhost traffic_bce1 0.086 0.102 OK : bce1:UP (7.3Kbps/0.2Kbps): 1 UP 'bce1_in_bps'=7304bps;100000;;0;1000000000 'bce1_in_bps'=208bps;100000;;0;1000000000 check result with store data file: #wc -l tmp_Nagios_int.127.0.0.1.bce1 213 tmp_Nagios_int.127.0.0.1.bce1 (2) check_snmp_int info with performance log: [SERVICEPERFDATA] 1207799407 localhost traffic_bce1 0.086 0.144 UNKOWN : bce1:UP !!Unable to write file (7.3Kbps/0.1Kbps): 1 UP 'bce1_in_bps'=7296bps;100000;;0;1000000000 'bce1_in_bps'=112bps;100000;;0;1000000000 check result with store data file: #wc -l tmp_Nagios_int.127.0.0.1.bce1 214 tmp_Nagios_int.127.0.0.1.bce1 (3) Now,Nagios Mainpage error info: traffic_bce1 UNKNOWN 04-10-2008 11:52:05 0d 0h 2m 53s 3/4 UNKOWN : bce1:UP !!Unable to write file (7.2Kbps/0.1Kbps): 1 UP (4) Now,check result all fail for check_snmp_int! [SERVICEPERFDATA] 1207800487 localhost traffic_bce1 0.086 0.232 UNKOWN : bce1:UP !!Unable to write file No usable data on file (215 rows) : 1 UP but snmpd process still normally and i am delete old tmp_Nagios_int.xxx file,check_snmp_int retry touch new snmp store file get back normally again. why tmp_Nagios_int.xxx exceed 214 row get that error info?and i can unset this limit? anyone can help me solve that problem?thx for reply...... ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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 adesperateuser at googlemail.com Thu Apr 10 08:07:57 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 10 Apr 2008 08:07:57 +0200 Subject: Nagios : Monitoring Blackberry services. In-Reply-To: References: Message-ID: <47FDAEBD.7070704@googlemail.com> Pallav.S.Gupta at relianceada.com schrieb: > How do I monitor these services with nagios !!! Maybe try http://sourceforge.net/projects/nagiosplugincol/ -> * check_service Make sure all automatic services are running. Or if special services are specified, this script checks if they are running. You have to install NRPE, too. Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 10 08:26:31 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 10 Apr 2008 11:56:31 +0530 Subject: Nagios help!! Message-ID: Hi I am new to nagios ! I have added my first windows machine as stated below , now i want to add more machines , so do i need to add one more windows.cfg file with new host definations or simply add hostname in present file windows.cfg seperated by comma , like host_name server1,server2, This might seem a very stupid questions to many but still as i am new to this, so i need some help. Add a new host definition for the Windows machine that you're going to monitor. If this is the *first* Windows machine you're monitoring, you can simply modify the sample host definition in windows.cfg. Change the host_name, alias, and address fields to appropriate values for the Windows box. define host{ use windows-server ; Inherit default values from a Windows server template (make sure you keep this line!) host_name winserver alias My Windows Server address 192.168.1.2 } Good. Now you can add some service definitions (to the same configuration file) in order to tell Nagios to monitor different aspects of the Windows machine. If this is the *first* Windows machine you're monitoring, you can simply modify the sample service definitions in windows.cfg. 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 adesperateuser at googlemail.com Thu Apr 10 08:48:27 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 10 Apr 2008 08:48:27 +0200 Subject: Nagios help!! In-Reply-To: References: Message-ID: <47FDB83B.6000105@googlemail.com> Pallav.S.Gupta at relianceada.com schrieb: > I have added my first windows machine as stated below , now i want to > add more machines , so do i need to add one more windows.cfg file with > new host definations or simply add hostname in present file windows.cfg > seperated by comma , > like > host_name server1,server2, The comma-Solution doesnt't work. > This might seem a very stupid questions to many but still as i am new to > this, so i need some help. When I had "my first nagios-day", I ran into the exactly same issue. I monitor two linux-servers which looks like this: define host{ use linux-server host_name OpenVPN1 alias OpenVPN-Server Nr1 address ovpn1.somedomain.de } define host{ use linux-server host_name OpenVPN2 alias OpenVPN-Server Nr2 address ovpn2.somedomain.de } (The template that comes with nagios is beeing used). Hope this helps a little. greetz, marcus (By the way, Pallav, a subject with just "help" and several exclamation-marks is not appropriate for a sophisticated mailing-list like this.) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 10 08:49:34 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Thu, 10 Apr 2008 08:49:34 +0200 Subject: remote host up but can not see services Message-ID: <350DEB176C3F20459BE245610997FD7F020794A1@caretech.co.za> Hi Everyone I need some assistance regarding a remote host issue please. We have a remote host away from the office that is supposed to be monitored by our Nagios system. We can ping the server from the Nagios server and Nagios shows the server as being up. Even though the Windows agent is installed and confirmed as working, the services keeps displaying 'Critical - Socket timeout after 10 seconds' Does anybody know why these does not want to connect /. Work properly? 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 cschneemann at suse.de Thu Apr 10 09:30:38 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 10 Apr 2008 09:30:38 +0200 Subject: remote host up but can not see services In-Reply-To: <350DEB176C3F20459BE245610997FD7F020794A1@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F020794A1@caretech.co.za> Message-ID: <200804100930.38749.cschneemann@suse.de> On Thursday April 10 2008 08:49:34 am Machiel Richards wrote: > Hi Everyone Hi, > > > > I need some assistance regarding a remote host issue please. > > We have a remote host away from the office that is supposed > to be monitored by our Nagios system. > > We can ping the server from the Nagios server and Nagios > shows the server as being up. > > Even though the Windows agent is installed and confirmed as > working, the services keeps displaying 'Critical - Socket timeout after > 10 seconds' > > Does anybody know why these does not want to connect /. Work > properly? is there a firewall running on the windows machine? What kind of services do you want to monitor? Are the services running? Do the services need some special authentification (SNMP?)? Regards, Christian > > > > 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. -- 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 MachielR at agilitytech.co.za Thu Apr 10 09:29:59 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Thu, 10 Apr 2008 09:29:59 +0200 Subject: remote host up but can not see services In-Reply-To: <200804100930.38749.cschneemann@suse.de> References: <350DEB176C3F20459BE245610997FD7F020794A1@caretech.co.za> <200804100930.38749.cschneemann@suse.de> Message-ID: <350DEB176C3F20459BE245610997FD7F020794AA@caretech.co.za> Hi I have just confirmed, and there is no firewall running on the machine. We are trying to simply monitor the pop3 and SMTP service that it is running as this is a mail server. Regards -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Christian Schneemann Sent: Thursday, April 10, 2008 9:31 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] remote host up but can not see services On Thursday April 10 2008 08:49:34 am Machiel Richards wrote: > Hi Everyone Hi, > > > > I need some assistance regarding a remote host issue please. > > We have a remote host away from the office that is supposed > to be monitored by our Nagios system. > > We can ping the server from the Nagios server and Nagios > shows the server as being up. > > Even though the Windows agent is installed and confirmed as > working, the services keeps displaying 'Critical - Socket timeout after > 10 seconds' > > Does anybody know why these does not want to connect /. Work > properly? is there a firewall running on the windows machine? What kind of services do you want to monitor? Are the services running? Do the services need some special authentification (SNMP?)? Regards, Christian > > > > 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. -- 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 *** 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Thu Apr 10 09:50:17 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 10 Apr 2008 09:50:17 +0200 Subject: remote host up but can not see services In-Reply-To: <350DEB176C3F20459BE245610997FD7F020794AA@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F020794A1@caretech.co.za> <200804100930.38749.cschneemann@suse.de> <350DEB176C3F20459BE245610997FD7F020794AA@caretech.co.za> Message-ID: <200804100950.17477.cschneemann@suse.de> On Thursday April 10 2008 09:29:59 am Machiel Richards wrote: > Hi > > I have just confirmed, and there is no firewall running on the machine. > > We are trying to simply monitor the pop3 and SMTP service that it is > running as this is a mail server. Both tests have the same errormessage? I tested here and the default check_pop command failed with the same error as you have. Our POP-Servers are using a SSL connection and refuse everything else. The check_pop plugin has the option -S or --ssl for an SSL-connection to the server. After setting this I got an OK from the plugin. Maybe this is the same on your side and maybe a similar problem with the SMTP-check? Christian > > Regards > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Christian > Schneemann Sent: Thursday, April 10, 2008 9:31 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] remote host up but can not see services > > On Thursday April 10 2008 08:49:34 am Machiel Richards wrote: > > Hi Everyone > > Hi, > > > I need some assistance regarding a remote host issue please. > > > > We have a remote host away from the office that is supposed > > to be monitored by our Nagios system. > > > > We can ping the server from the Nagios server and Nagios > > shows the server as being up. > > > > Even though the Windows agent is installed and confirmed as > > working, the services keeps displaying 'Critical - Socket timeout after > > 10 seconds' > > > > Does anybody know why these does not want to connect /. Work > > properly? > > is there a firewall running on the windows machine? What kind of services > do you want to monitor? Are the services running? Do the services need some > special authentification (SNMP?)? > > > Regards, > Christian > > > 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. -- 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) -------------- 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 sukesh.v at jigrahak.com Thu Apr 10 10:19:10 2008 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Thu, 10 Apr 2008 13:49:10 +0530 Subject: how to check slony status Message-ID: Hi, I have configured slony package for my Database replication.I want to monitor slony process using nagios,Please let me know any plugin to monitor this service. Thanks, Sukesh V -------------- 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 Sascha.Runschke at gfkl.com Thu Apr 10 10:38:29 2008 From: Sascha.Runschke at gfkl.com (Sascha Runschke) Date: Thu, 10 Apr 2008 10:38:29 +0200 Subject: Antwort: Re: Nagios 3 GUI config tools In-Reply-To: <1207769031.6066.3.camel@sidhqmis4grdv91> References: <1207769031.6066.3.camel@sidhqmis4grdv91> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 09.04.2008 21:23:51: > Monarch is nice, but I'm not sure it supports v3 yet... > > http://sourceforge.net/projects/monarch > http://www.groundworkopensource.com/community/forums/viewforum.php?f=29 I am using Monarch with v3. It doesn't officially support it, but with some stunts, you can make it work - that is if you do not mind to miss out the new features of v3 with custom attributes and such. S -- Sascha Runschke Netzwerk- und Systemmanagement Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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.welsh at bt.com Thu Apr 10 10:52:43 2008 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 10 Apr 2008 09:52:43 +0100 Subject: 3 tera applogic monitoring Message-ID: <6546343904687E41B19D8E5A26AB9F53029F5410@E03MVB2-UKBR.domain1.systemhost.net> Hi All, Has anyone done any monitoring of 3tera Applogic servers/grids? I'm looking for a plugin to list grid members, servers states, etc. It may be possible to construct this with host dependancies and service dependancies but id rather have a plugin if there is one around. If not I suppose I'd better attempt to write one. Regards Tom -------------- 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 Pallav.S.Gupta at relianceada.com Thu Apr 10 11:24:33 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 10 Apr 2008 14:54:33 +0530 Subject: Nagios help!! In-Reply-To: <47FDB83B.6000105@googlemail.com> References: <47FDB83B.6000105@googlemail.com> Message-ID: Hi Marcus this means that the service defination will also look like this define service{ use generic-service host_name winserver1 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 define service{ use generic-service host_name winserver2 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 To monitor 30 servers i need to add 30 lines.or is there any way that we monitors number of services in all hosts. Marcus Sent by: nagios-users-bounces at lists.sourceforge.net 04/10/2008 12:18 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Nagios help!! Pallav.S.Gupta at relianceada.com schrieb: > I have added my first windows machine as stated below , now i want to > add more machines , so do i need to add one more windows.cfg file with > new host definations or simply add hostname in present file windows.cfg > seperated by comma , > like > host_name server1,server2, The comma-Solution doesnt't work. > This might seem a very stupid questions to many but still as i am new to > this, so i need some help. When I had "my first nagios-day", I ran into the exactly same issue. I monitor two linux-servers which looks like this: define host{ use linux-server host_name OpenVPN1 alias OpenVPN-Server Nr1 address ovpn1.somedomain.de } define host{ use linux-server host_name OpenVPN2 alias OpenVPN-Server Nr2 address ovpn2.somedomain.de } (The template that comes with nagios is beeing used). Hope this helps a little. greetz, marcus (By the way, Pallav, a subject with just "help" and several exclamation-marks is not appropriate for a sophisticated mailing-list like this.) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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.welsh at bt.com Thu Apr 10 12:04:06 2008 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 10 Apr 2008 11:04:06 +0100 Subject: Nagios help!! In-Reply-To: References: Message-ID: <6546343904687E41B19D8E5A26AB9F53029F54EE@E03MVB2-UKBR.domain1.systemhost.net> Hi Pallav, Provided you have setup your 30 hosts in your hosts.cfg or what ever file then all you need to do to define the service is as i show below. define service{ use generic-service host_name winserver1,winserver2,winserver3,..........winserver30 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 Regards Tom ________________________________ 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: 10 April 2008 10:25 To: Marcus Cc: nagios-users-bounces at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios help!! Importance: High Hi Marcus this means that the service defination will also look like this define service{ use generic-service host_name winserver1 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 define service{ use generic-service host_name winserver2 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 To monitor 30 servers i need to add 30 lines.or is there any way that we monitors number of services in all hosts. Marcus Sent by: nagios-users-bounces at lists.sourceforge.net 04/10/2008 12:18 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Nagios help!! Pallav.S.Gupta at relianceada.com schrieb: > I have added my first windows machine as stated below , now i want to > add more machines , so do i need to add one more windows.cfg file with > new host definations or simply add hostname in present file windows.cfg > seperated by comma , > like > host_name server1,server2, The comma-Solution doesnt't work. > This might seem a very stupid questions to many but still as i am new to > this, so i need some help. When I had "my first nagios-day", I ran into the exactly same issue. I monitor two linux-servers which looks like this: define host{ use linux-server host_name OpenVPN1 alias OpenVPN-Server Nr1 address ovpn1.somedomain.de } define host{ use linux-server host_name OpenVPN2 alias OpenVPN-Server Nr2 address ovpn2.somedomain.de } (The template that comes with nagios is beeing used). Hope this helps a little. greetz, marcus (By the way, Pallav, a subject with just "help" and several exclamation-marks is not appropriate for a sophisticated mailing-list like this.) ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 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: ATT1197410.gif Type: image/gif Size: 6675 bytes Desc: ATT1197410.gif 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 Pallav.S.Gupta at relianceada.com Thu Apr 10 12:57:46 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 10 Apr 2008 16:27:46 +0530 Subject: Nagios : want to monitor second hdd in server Message-ID: Dear All I want to monitor the second HDD drive ie E drive in nagios , I am able to get details of C drive . I have added the service like shown below but it doesn't help. define service{ use generic-service host_name winserver1 service_description E:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } define service{ use generic-service host_name winserver1 service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] So where to put the parameters to measure the E drive space . 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 Pallav.S.Gupta at relianceada.com Thu Apr 10 13:18:34 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Thu, 10 Apr 2008 16:48:34 +0530 Subject: Nagios help : to display when was my server last rebooted. Message-ID: Hi All I want my nagios to display when was my windows/unix based system was last rebooted , Is it possible to do so......since my Uptime is showing that System Uptime 1day 1 hr but i haven't rebooted it . 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 Sascha.Runschke at gfkl.com Thu Apr 10 13:17:25 2008 From: Sascha.Runschke at gfkl.com (Sascha Runschke) Date: Thu, 10 Apr 2008 13:17:25 +0200 Subject: Antwort: Nagios : want to monitor second hdd in server In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 10.04.2008 12:57:46: > I want to monitor the second HDD drive ie E drive in nagios , I am > able to get details of C drive . > > I have added the service like shown below but it doesn't help. [...snip...] > check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l > params] [-d SHOWALL] [-t timeout] > > So where to put the parameters to measure the E drive space . Not trying to be rude, but did you bother to read the documentation at all? From your questions to the list, I get the impression that you did not. check_nt --help should tell you, that the "-l" switch is used to supply the driveletter to check. The "alias" directive in the nagios config is just for pure cosmetics, it has no actual meaning for nagios itself, it's like a comment field for the host. So you need to change the commandline of your second servicedefinition from "... -l C ...." to ".... -l E ...." S -- Sascha Runschke Netzwerk- und Systemmanagement Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Apr 10 13:20:34 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 10 Apr 2008 07:20:34 -0400 Subject: Nagios : Monitoring Blackberry services. Message-ID: Check out the nagios snmp plugins from Patrick proy. They are what we use to monitor our BES services. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Ubuntu - African for "I can't configure Debian!" From: Pallav.S.Gupta at relianceada.com [mailto:Pallav.S.Gupta at relianceada.com] Sent: Thursday, April 10, 2008 12:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios : Monitoring Blackberry services. Importance: High Hello All How do I monitor these services with nagios !!! Pls help. 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.png Type: image/png Size: 15054 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 4464 bytes Desc: image002.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 6675 bytes Desc: image003.gif 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 Apr 10 13:47:05 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 10 Apr 2008 12:47:05 +0100 Subject: Nagios 3 GUI config tools In-Reply-To: <480035.65869.qm@web90501.mail.mud.yahoo.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> Message-ID: <47FDFE39.3020808@googlemail.com> Sekhar wrote: > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts etc > > No one seems to be developing nice tool for nagios gui config > > fruity - this is only publicity stunt RC release nearly 2 years > > Is there any other tools which can be used for easy configuration of > nagios Sacrilege! ;-) Unix Config + revision control rule. Also, it'll hinder you getting very far if you can't handle the config of Nagios. The real power comes in the plugins and the customization for which you're better off knowing how to actually configure Nagios. -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 marc at ena.com Thu Apr 10 14:15:44 2008 From: marc at ena.com (Marc Powell) Date: Thu, 10 Apr 2008 07:15:44 -0500 Subject: Nagios : Monitoring Blackberry services. In-Reply-To: <47FDAEBD.7070704@googlemail.com> References: <47FDAEBD.7070704@googlemail.com> Message-ID: On Apr 10, 2008, at 1:07 AM, Marcus wrote: > Pallav.S.Gupta at relianceada.com schrieb: >> How do I monitor these services with nagios !!! > > Maybe try http://sourceforge.net/projects/nagiosplugincol/ There's also a check_blackberry plugin on nagiosexchange that appears to be fairly comprehensive... -- 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 paul.weaver at bbc.co.uk Thu Apr 10 14:50:28 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 10 Apr 2008 13:50:28 +0100 Subject: Nagios help : to display when was my server lastrebooted. In-Reply-To: References: Message-ID: Uptime is a funny thing, it can go to zero for a number of reasons, usually because a 32 bit counter has rolled over (after 136 years, 68 years, 500 days, 250 days, 49.7 days (win98 just stalled at this point), or 25 days. You can sometimes monitor the SNMP OID "htSystemUptime", which appears on my linux, solaris and windows 2000 boxes. When this value decreases to nearly 0, you've had a reboot, or the counter has rotated. This value is probably the same value reported by "uptime" on a linux or windows box. If you want to know when your system is available, you could set a "check_ping" *service* on thie host, in nagios, running every 30 seconds with retrys every 5 seconds. If the service goes away, then there's a good chance it's rebooted itself. If you suspect a reboot, look through the logs. In linux, run "last", you should see a "reboot" user if the system has rebooted. In windows check the Security or Applications logs from the suspected reboot time. Perhaps you had a power failure which caused your box to reboot? -- "Power corrupts. Power failure corrupts absolutely" -----Original Message----- 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: 10 April 2008 12:19 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios help : to display when was my server lastrebooted. Importance: High Hi All I want my nagios to display when was my windows/unix based system was last rebooted , Is it possible to do so......since my Uptime is showing that System Uptime 1day 1 hr but i haven't rebooted it . 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. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GarethWatson at totemcomms.com Thu Apr 10 15:01:58 2008 From: GarethWatson at totemcomms.com (Gareth Watson) Date: Thu, 10 Apr 2008 14:01:58 +0100 Subject: Nagios 3 GUI config tools In-Reply-To: <47FDFE39.3020808@googlemail.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <47FDFE39.3020808@googlemail.com> Message-ID: Careful. Whilst I agree in principle with your response there are circumstances where a GUI tool is definitely a useful thing! Let me quantify this with an example. Whilst another enginner and I manage the nagios configuration, the on-call engineers who receive the alerts need the facility to manage who receives the alerts and when. Therefore they need to be able to access the contacts configuration file. I do not want to have to train them in linux/vim|nano/ssh/nagios config file formats/nagios process management, just so they can decide who should receive text messages out of hours. As such an easy to use website would be a boon for us. We are in the process of implementing such a system internally, specifically targetting Nagios v3 for this very reason. Cheers, Gareth. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 10 April 2008 12:47 To: Sekhar Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3 GUI config tools Sekhar wrote: > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts > etc > > No one seems to be developing nice tool for nagios gui config > > fruity - this is only publicity stunt RC release nearly 2 years > > Is there any other tools which can be used for easy configuration of > nagios Sacrilege! ;-) Unix Config + revision control rule. Also, it'll hinder you getting very far if you can't handle the config of Nagios. The real power comes in the plugins and the customization for which you're better off knowing how to actually configure Nagios. -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/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 ssimmons at cymfony.com Thu Apr 10 15:24:44 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 10 Apr 2008 09:24:44 -0400 Subject: Nagios help!! In-Reply-To: References: Message-ID: <13F36D2926AD444697093282F20041B707052C9A@buf-ex01.cymfony.com> windows.cfg is for all hosts and services for windows boxes that host definition can be copied and pasted for each host you add; just change the host name and address for each box take a look at the documentation for all available options; those listed below are only the base sample http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host ________________________________ 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: Thursday, April 10, 2008 2:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios help!! Importance: High Hi I am new to nagios ! I have added my first windows machine as stated below , now i want to add more machines , so do i need to add one more windows.cfg file with new host definations or simply add hostname in present file windows.cfg seperated by comma , like host_name server1,server2, This might seem a very stupid questions to many but still as i am new to this, so i need some help. Add a new host definition for the Windows machine that you're going to monitor. If this is the *first* Windows machine you're monitoring, you can simply modify the sample host definition in windows.cfg. Change the host_name, alias, and address fields to appropriate values for the Windows box. define host{ use windows-server ; Inherit default values from a Windows server template (make sure you keep this line!) host_name winserver alias My Windows Server address 192.168.1.2 } Good. Now you can add some service definitions (to the same configuration file) in order to tell Nagios to monitor different aspects of the Windows machine. If this is the *first* Windows machine you're monitoring, you can simply modify the sample service definitions in windows.cfg. 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: ATT279705.gif Type: image/gif Size: 6675 bytes Desc: ATT279705.gif 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 cmills at accessdc.com Thu Apr 10 15:41:48 2008 From: cmills at accessdc.com (Mills, Charles) Date: Thu, 10 Apr 2008 09:41:48 -0400 Subject: Nagios 3 GUI config tools In-Reply-To: <47FDFE39.3020808@googlemail.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <47FDFE39.3020808@googlemail.com> Message-ID: <58E0B21FC367B24485855A1DBD96B0BB0DCA8010@adc-prd-exch1.internal.accessdc.com> Here I would have to agree. I use the GUI a LOT to do my basic configuration and speed things along but you need to understand the files and how they interact to get the most bang for your buck. I'm writing some simple plugins to alert us on issues with our evironmentals now that the new CRAC units, etc that we purchased are now SNMP manageable. There's not a lot out there so taking a simple "noc operator's" stance to configuring Nagios isn't sufficient. Chuck Charles L. Mills Senior Network Engineer Access Data Corporation / Pittsburgh, PA 15238 (412) 968-4024 FAX: (412) 967-9504 cmills at accessdc.com / http://www.accessdc.com Hosting, Colocation, D-R and Managed Services -----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, April 10, 2008 7:47 AM To: Sekhar Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3 GUI config tools Sekhar wrote: > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts etc > > No one seems to be developing nice tool for nagios gui config > > fruity - this is only publicity stunt RC release nearly 2 years > > Is there any other tools which can be used for easy configuration of > nagios Sacrilege! ;-) Unix Config + revision control rule. Also, it'll hinder you getting very far if you can't handle the config of Nagios. The real power comes in the plugins and the customization for which you're better off knowing how to actually configure Nagios. -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/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 e-mail message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this e-mail message in error, please notify the sender immediately by telephone or e-mail and destroy the original message without making a copy. Thank you. Neither this information block, the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at nuvox.com Thu Apr 10 15:58:57 2008 From: dfulton at nuvox.com (Fulton, David) Date: Thu, 10 Apr 2008 09:58:57 -0400 Subject: trends.cgi strange problem In-Reply-To: References: Message-ID: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1F6D8610@EMAIL01.CORPORATE.VOX.NET> I don't know if it that particular issue has been addressed but the nagios 2 series is up to version 2.11. You could try upgrading as it does fix a number of bugs in the CGIs relating to status and dates, so it could fix it. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Livio Zanol Puppim > Sent: Wednesday, April 09, 2008 4:50 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] trends.cgi strange problem > > I have checked on avail.cgi and noticed that the data show is > "Insufficient Data" and not Host Up data. Why is this > happening? What must I do to get the reports to work correctly... > > thanks, > L?vio Zanol Puppim > > 2008/4/9, Livio Zanol Puppim : > > Sorry.... > > > > Nagios 2.6 > > Debian etch 4.0 > > > > 2008/4/9, Livio Zanol Puppim : > > > > > Hi, > > > > > > I was trying to generate some reports using trends.cgi > and have found a problem. > > > > > > If I change the "end date" to something before "today" the cgi > > gives > me a wrong report, showing an "always up" report, > which is not true. > > > > > > I can change the start date to whatever I want, and the problem > > don't > show up. I can also modify the hours, minutes, or > seconds on > > the end > date and the report shows real data. The problem only > > happends when > the end date is changed to something diferent (on > > day, month or year) > then the today date. > > > > > > Ex.: > > > If I want to get a report right now, I can go to trends.cgi and > > set > the end date to something like 04/09/2008 00:01, but cannot > > set the > end date to something like 04/08/2008 23:59. > > > > > > Has anyone see this problem before? > > > > > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by the 2008 JavaOne(SM) > Conference Don't miss this year's exciting event. There's > still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java .sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 attachments ("Message") may contain legally privileged and/or confidential information. If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at nuvox.com Thu Apr 10 16:02:49 2008 From: dfulton at nuvox.com (Fulton, David) Date: Thu, 10 Apr 2008 10:02:49 -0400 Subject: Event_handler and check_nrpe In-Reply-To: <47FCE5D2.D17E.000E.0@CHOC.ORG> References: <47FCE5D2.D17E.000E.0@CHOC.ORG> Message-ID: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1F6D8614@EMAIL01.CORPORATE.VOX.NET> I hate to state the obvious, but nrpe usually doesn't have privileges to start processes. I have a check that I run on remote hosts that requires root privilege and had to use sudo. I was very restrictive in my sudoers file to make sure that there were no holes, but it works with no problems. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hendric Minassian Sent: Wednesday, April 09, 2008 6:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Event_handler and check_nrpe I am trying to use an event_handler to reatrt a process on a remote server. I use NRPE for this purpose. The process works fine when I run the full check_nrpe command from the command line of the Nagios server: #./check_nrpe -H nnn.nn.nnn.nn -c restart_alert_agent_new -a CRITICAL SOFT 2 However, the restart script on the remote server does not kick in when the alert is encountered by Nagios itself. Below is the command defined in misccommands.cfg: define command{ command_name restart_alert_agent_new command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c restart_alert_agent_new -a $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } As mentioned, the restart script in the remote server works fine when invoked through the command line on Nagios server (above). Below is the definition of the service in services.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name CHOCLX-INTTEST service_description check_total_procs is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 2 event_handler_enabled 1 event_handler restart_alert_agent_new contact_groups sun-admins,lawson-admins,egate-admins notification_interval 240 notification_period 24x7 notification_options u,c notifications_enabled 1 check_command check_nrpe!check_total_procs } Thank you for your help. Hendric Minassian "EMF " made the following annotations. ------------------------------------------------------------------------ ------ 04/09/08, 15:51:44 This email message and any files transmitted are sent with confidentiality in mind and contain privileged or copyright information. You must not present this message to another party without gaining permission from the sender. If you are not the intended recipient you must not copy, distribute or use this email or the information contained in it for any purpose other than to notify Children's Hospital of Orange County. Any views expressed in this message are those of the sender, except where the sender specifically states them to be the views of Children's Hospital of Orange County. If you have received this message in error, please notify the sender immediately, and delete this email from your system. We do not guarantee that this material is free from viruses or any other defects although due care has been taken to minimize the risk. ======================================================================== ====== This email and any attachments ("Message") may contain legally privileged and/or confidential information. If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege. -------------- 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 frank at crop-circle.net Thu Apr 10 17:52:29 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Thu, 10 Apr 2008 11:52:29 -0400 Subject: ndo2db -- lots of empty tables In-Reply-To: References: Message-ID: Sorry to bump the thread, but I'm still struggling with these tables. Surely others are using the ndo2db module! On Wed, Apr 9, 2008 at 12:34 PM, Frank J. G?mez wrote: > Hello again. So I've got the ndo2db module installed and working, but now > I have some questions. > > The results of my service checks are being logged to the > nagios_servicechecks table, which is very cool. However, I have a bunch of > tables in the nagios database which are not populated. I won't list them > all, but I'm most interested in nagios_hosts and nagios_services. > > What's interesting is that hosts and services seem to be stored together > in the nagios_objects table. Hosts are stored with an objecttype_id of 1, > with the hostname stored in name1. Services are stored with an > objecttype_id of 2, with the hostname stored in name1 and the command stored > in name2. Also worth noting is that the nagios_servicechecks table never > refers to columns from the nagios_hosts and nagios_services; instead it > refers to the object ids. > > So I guess those are mostly observations, not questions... Some questions > then: > > - Did I do something wrong/different during the install process, or > are these tables empty by default for everyone else? > - Say I want to monitor a new host, should I edit my config files as > in the past or add the information to the database? If I add it to the > database, should I use the nagios_objects table or mess with the > nagios_hosts and nagios_services tables? > - Does anyone know what all of the objecttype_id codes mean? So far > I have 1 (hosts), 2 (services), 9, 10, and 12. > - Why are those tables there if they are not being used? > > I may think of more questions later; these are the ones that immediately > popped into my head. > > Thanks, > -Frank > > PS: I have not seen much documentation about ndo2db. If anyone has a good > resource, please share! > -------------- 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-/E1597aS9LT10XsdtD+oqA at public.gmane.org Thu Apr 10 18:34:11 2008 From: trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org (trevor obba) Date: Thu, 10 Apr 2008 16:34:11 +0000 (GMT) Subject: Nagios stopped checking some services after power failure Message-ID: <581268.14205.qm@web23312.mail.ird.yahoo.com> I am running nagios 2.5, we had a power failure in one of our sites for 23 hours, our nagios server and nagios client machines were shutdown. Nagios server and it clients were back online after 23 hours. However nagios is still reporting six clients including sevices as being down and the ?Current State Duration is 23h?. It seems nagios last checked these machine 23 hours ago when then power failure occurred. If I manually runnagios check_ping like ./nagios/libexec/check_ping -H 175.160..75.x -w 100.0,20%-c 500.0,60% -p 5 It respond with ?PINGOK - Packet loss = 0%, RTA = 0.51 ms? But nagios is still showing service as ?Critical? Like PING CRITICAL 10-04-2008 10:05:20 0d 23h 20m 23s 1/3 CRITICAL I have stopped and started nagios but this has not help Can you help? Please. ___________________________________________________________ Yahoo! For Good helps you make a difference http://uk.promotions.yahoo.com/forgood/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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 From svalding at doverchem.com Thu Apr 10 19:22:11 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 10 Apr 2008 13:22:11 -0400 Subject: Nagios stopped checking some services after powerfailure Message-ID: Have you checked on your retention data? Try making a backup of your retention data files and then deleting the old ones and restart nagios. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Ubuntu - African for "I can't configure Debian!" -----Original Message----- From: trevor obba [mailto:trevor_obba at yahoo.co.uk] Sent: Thursday, April 10, 2008 12:34 PM To: nagiosplug; nagios-user Subject: [Nagios-users] Nagios stopped checking some services after powerfailure I am running nagios 2.5, we had a power failure in one of our sites for 23 hours, our nagios server and nagios client machines were shutdown. Nagios server and it clients were back online after 23 hours. However nagios is still reporting six clients including sevices as being down and the ?Current State Duration is 23h?. It seems nagios last checked these machine 23 hours ago when then power failure occurred. If I manually runnagios check_ping like ./nagios/libexec/check_ping -H 175.160..75.x -w 100.0,20%-c 500.0,60% -p 5 It respond with ?PINGOK - Packet loss = 0%, RTA = 0.51 ms? But nagios is still showing service as ?Critical? Like PING CRITICAL 10-04-2008 10:05:20 0d 23h 20m 23s 1/3 CRITICAL I have stopped and started nagios but this has not help Can you help? Please. ___________________________________________________________ Yahoo! For Good helps you make a difference http://uk.promotions.yahoo.com/forgood/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jastrolo at gmail.com Thu Apr 10 19:39:11 2008 From: jastrolo at gmail.com (Joe Astrologo) Date: Thu, 10 Apr 2008 13:39:11 -0400 Subject: How to start/stop a windows service using nagios Message-ID: <879d1e490804101039t3cb2f422w5f9ee55f6641ada8@mail.gmail.com> I have nagios 2.3 server installed on a RedHat Linux. I have NC_Net and nagios event_log agents installed on various windows clinets. I want nagios to re-start a windows service based on an application Event Log messages. How do I do it? 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 mark.frost1 at pepsi.com Thu Apr 10 20:12:06 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 10 Apr 2008 14:12:06 -0400 Subject: How to start/stop a windows service using nagios In-Reply-To: <879d1e490804101039t3cb2f422w5f9ee55f6641ada8@mail.gmail.com> References: <879d1e490804101039t3cb2f422w5f9ee55f6641ada8@mail.gmail.com> Message-ID: There might be more than one way to do this, but my experience/suggestion would be to 1) setup an event to act when the service goes critical. See the Nagios docs about how to write a simple event script. Mostly you're making sure that you'll only attempt to start the service on HARD/CRITICAL events. 2) I'm not too familiar with NC_NET, but I believe it's not dissimilar from NSClient++ or other NRPE agents in that it can accept NRPE protocol requests. You'd define an NRPE command (say "start_service") that run "net start $ARG1$" where $ARG1$ is the name of the service to start. It's possible that NC_NET has some built-in capability to manage services too without resorting to an actual NRPE command. 3) Your script from #1 would then run check_nrpe -H -c start_service\! to start a service. Stopping is similar, of course. Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Joe Astrologo Sent: Thursday, April 10, 2008 1:39 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to start/stop a windows service using nagios I have nagios 2.3 server installed on a RedHat Linux. I have NC_Net and nagios event_log agents installed on various windows clinets. I want nagios to re-start a windows service based on an application Event Log messages. How do I do it? 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 israel at frontierflying.com Thu Apr 10 20:11:52 2008 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 10 Apr 2008 10:11:52 -0800 Subject: Nagios 3 external commands problem Message-ID: I apologize for asking what I had thought was a FAQ, but I can't seem to find the needed info now. At any rate, I just got finished updating my nagios install to version 3 (OpenBSD 4.2 OS), and aside from the lack of a decent status map (no one has any suggestions there? Really?) it's working. With the exception of external commands from the web interface. For some reason, whenever I attempt an external command from the web, I get the following error: Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came I have the following in my cgi.cfg file: authorized_for_configuration_information=admin authorized_for_system_commands=* I actually don't want the "*" there, but I stuck it in just to see if it fixed the issue. It didn't. I am authorized to the web server, as I got the login/password prompt, and nagios recognizes the fact in the little header on every page that says "logged in as". The /var/nagios/ rw/nagios.cmd file exists with permissions prw-rw---- 1 _nagios www, and my apache error logs show no errors when attempting to run the command. What am I missing? Thanks! ----------------------------------------------- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Thu Apr 10 20:15:11 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 10 Apr 2008 14:15:11 -0400 Subject: change management or source control for Nagios configs? Message-ID: I'm wondering what most people out there use for change management of Nagios config files. I had been using BZR (bazaar-ng) for a while, but when I refreshed my servers it was a bit of a pain and haven't put it there yet. I've tried to read about other ways to do this (RCS, SVN, etc), but they all seem so strongly oriented towards source-code projects that it's kind of confusing to run them with just config files. Some of these methods are complicated by the fact that they want to make their archive directory inside Nagios' directory structure. This gets kind of weird as I use nagios.cfg directives to tell it to recursively read directories rather than just specifically named files. BZR worked OK in this regard as it's dir was ".bzr" and was never picked up by Nagios. Ultimately, I'm trying to provide myself with the ability to track changes and potentially roll them back. Is anyone else out there using some wonderful solution to this? 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.frost1 at pepsi.com Thu Apr 10 20:28:32 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 10 Apr 2008 14:28:32 -0400 Subject: Nagios 3 external commands problem In-Reply-To: References: Message-ID: >-----Original Message----- >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >Of Israel Brewster >Sent: Thursday, April 10, 2008 2:12 PM >To: Nagios Users Mailinglist >Subject: [Nagios-users] Nagios 3 external commands problem > >I apologize for asking what I had thought was a FAQ, but I can't seem >to find the needed info now. At any rate, I just got finished >updating >my nagios install to version 3 (OpenBSD 4.2 OS), and aside from the >lack of a decent status map (no one has any suggestions there? >Really?) it's working. With the exception of external commands from >the web interface. For some reason, whenever I attempt an external >command from the web, I get the following error: > >Sorry, but you are not authorized to commit the specified command. >Read the section of the documentation that deals with authentication >and authorization in the CGIs for more information. >Return from whence you came > >I have the following in my cgi.cfg file: > >authorized_for_configuration_information=admin >authorized_for_system_commands=* > >I actually don't want the "*" there, but I stuck it in just >to see if >it fixed the issue. It didn't. I am authorized to the web >server, as I >got the login/password prompt, and nagios recognizes the fact in the >little header on every page that says "logged in as". The /var/nagios/ >rw/nagios.cmd file exists with permissions prw-rw---- 1 >_nagios www, >and my apache error logs show no errors when attempting to run the >command. What am I missing? Thanks! > >----------------------------------------------- >Israel Brewster >Computer Support Technician >Frontier Flying Service Inc. >5245 Airport Industrial Rd >Fairbanks, AK 99709 >(907) 450-7250 x293 >----------------------------------------------- Can't say I can be a lot of help with the status map. I never found it to be workable in any form, so I just don't use it. When I look at my own id in cgi.cfg, I'm listed in authorized_for_system_information= authorized_for_configuration_information= authorized_for_system_commands= authorized_for_all_hosts= authorized_for_all_services= authorized_for_all_service_commands= authorized_for_all_host_commands= and I have no problems doing anything (but I should have all these rights anyway). I've never heard that you could use a wildcard for these fields. 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 duncan.ferguson at altinity.com Thu Apr 10 20:30:25 2008 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Thu, 10 Apr 2008 19:30:25 +0100 Subject: ndo2db -- lots of empty tables In-Reply-To: References: Message-ID: <06619177-900D-450E-9E82-8062410A185C@altinity.com> On 10 Apr 2008, at 16:52, Frank J. G?mez wrote: > > The results of my service checks are being logged to the > nagios_servicechecks table, which is very cool. However, I have a > bunch of tables in the nagios database which are not populated. I > won't list them all, but I'm most interested in nagios_hosts and > nagios_services. Check your setting of 'config_output_options' in the ndomod.cfg file - it may be incorrectly set for the information you want. > > So I guess those are mostly observations, not questions... Some > questions then: > Did I do something wrong/different during the install process, or > are these tables empty by default for everyone else? Check your setting of 'data_processing_options' in the ndomod.cfg file. > Say I want to monitor a new host, should I edit my config files as > in the past or add the information to the database? If I add it to > the database, should I use the nagios_objects table or mess with the > nagios_hosts and nagios_services tables? Nagios only writes to the ndo database, it doesn't read from it. > > Does anyone know what all of the objecttype_id codes mean? So far I > have 1 (hosts), 2 (services), 9, 10, and 12. The PDF may help with this (link below). If you feel it is lacking in information I am sure Ethan will accept updates. > > Why are those tables there if they are not being used? Check your setting of 'data_processing_options' in the ndomod.cfg file. > > PS: I have not seen much documentation about ndo2db. If anyone has > a good resource, please share! http://nagios.sourceforge.net/docs/ndoutils/NDOUtils_DB_Model.pdf and also the source code itself. Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 -------------- 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 tlin at coremobility.com Thu Apr 10 20:38:46 2008 From: tlin at coremobility.com (Terry Lin) Date: Thu, 10 Apr 2008 11:38:46 -0700 Subject: How to sync LDAP users in Nagios 2.x? Message-ID: <38CACA4CD5ECBA4CBF702415B0A995F002C69501@s-cm-exchange1.coremobility.local> Hi, We have two Nagios one is version 1.x and the other one is version 2.9 and both use LDAP to login. I just setup a new Nagios version 2.11 and it won't work for LDAP. Here are the files that I checked: /etc/httpd/conf.d/nagios.conf /etc/httpd/conf.d/authz_ldap.conf /usr/local/nagios/etc/cgi.cfg --> I checked every single Authentication settings but each setting Is the same as my previous servers. I don't know if I have missed anything in this file or I have to mess around other files. /usr/local/nagios/etc/nagios.cfg But I login as my LDAP users and the browser told me I am not an authorized user as below??? It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Please help! Thanks, Terry Lin System Administrator, Operations office. 650.603.6632 mobile. 650.248.5287 email. tlin at coremobility.com fax. 650.603.6635 yahoo. terry_t_lin http://www.coremobility.com/ -------------- 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 patrick.morris at hp.com Thu Apr 10 20:50:20 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 10 Apr 2008 11:50:20 -0700 Subject: How to sync LDAP users in Nagios 2.x? In-Reply-To: <38CACA4CD5ECBA4CBF702415B0A995F002C69501@s-cm-exchange1.coremobility.local> References: <38CACA4CD5ECBA4CBF702415B0A995F002C69501@s-cm-exchange1.coremobility.local> Message-ID: <20080410185020.GS30359@bakgwai.americas.hpqcorp.net> Hi Terry! On Thu, 10 Apr 2008, Terry Lin wrote: > Hi, > > We have two Nagios one is version 1.x and the other one is version 2.9 and both use LDAP to login. > I just setup a new Nagios version 2.11 and it won?t work for LDAP. > Here are the files that I checked: > /etc/httpd/conf.d/nagios.conf > /etc/httpd/conf.d/authz_ldap.conf > > /usr/local/nagios/etc/cgi.cfg --> > I checked every single Authentication settings but each setting Is the same as my previous servers. > I don?t know if I have missed anything in this file or I have to mess around other files. > > /usr/local/nagios/etc/nagios.cfg > > But I login as my LDAP users and the browser told me I am not an authorized user as below??? > > It appears as though you do not have permission to view information for any of the services you requested... > If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI > and check the authorization options in your CGI configuration file. First, it doesn't matter which version of Nagios you use, since Nagios doesn't handle authentication. Howver, you haven't said anything about what may be different in the two webserver versions, and that's what's important. Since you haven't provided any information about how authentication is configured or what you're doing it with, the best I can do is tell you to see the documentation for your webserver to see to do LDAP authentication. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 10 21:00:29 2008 From: marc at ena.com (Marc Powell) Date: Thu, 10 Apr 2008 14:00:29 -0500 Subject: change management or source control for Nagiosconfigs? 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 Frost, Mark {PBG} > Sent: Thursday, April 10, 2008 1:15 PM > To: nagios-user > Subject: [Nagios-users] change management or source control for Nagiosconfigs? > > > I'm wondering what most people out there use for change management of > Nagios config files. I had been using BZR (bazaar-ng) for a while, but CVS. -- 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 folkert at vanheusden.com Thu Apr 10 21:00:00 2008 From: folkert at vanheusden.com (Folkert van Heusden) Date: Thu, 10 Apr 2008 21:00:00 +0200 Subject: interfacing nagios to ibm director Message-ID: <20080410190000.GG23095@vanheusden.com> Hi, Anyone got experience with interfacing ibm director to nagios? E.g. director checks some statusses of some servers and nagios then somehow picks that status up. Folkert -- ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 10 21:25:18 2008 From: low at modog.com (Seth P. Low) Date: Thu, 10 Apr 2008 15:25:18 -0400 Subject: acknowledge a service problem - change defaults Message-ID: <15DE1A7F91855E49A18A487C43846C8B5835543026@modog2.modog.com> Hello, I am using both Nagios 2.10 and Nagios 3.0.1 ... We ack issues all the time but we always uncheck the bottom 2 of the three check boxes. The emails just add to the noise most times. Is there a way to set that so that happens by default? Thanks, -Seth ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 10 21:09:00 2008 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 10 Apr 2008 11:09:00 -0800 Subject: Nagios 3 external commands problem In-Reply-To: References: Message-ID: On Apr 10, 2008, at 10:28 AM, Frost, Mark {PBG} wrote: > > Can't say I can be a lot of help with the status map. I never found > it > to be workable in any form, so I just don't use it. Same here- thus the reason I'm looking for a better option. But that's another thread :) > > > When I look at my own id in cgi.cfg, I'm listed in > > authorized_for_system_information= > authorized_for_configuration_information= > authorized_for_system_commands= > authorized_for_all_hosts= > authorized_for_all_services= > authorized_for_all_service_commands= > authorized_for_all_host_commands= > > and I have no problems doing anything (but I should have all these > rights anyway). I've never heard that you could use a wildcard for > these fields. Ok, found the problem. Totally my fault- I had missed a couple of directives in the cgi.cfg file. Your response clued me into that fact :P Sorry to waste your guy's time. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > 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 tthogersen at interstatelumber.com Thu Apr 10 22:39:11 2008 From: tthogersen at interstatelumber.com (Tom Thogersen) Date: Thu, 10 Apr 2008 16:39:11 -0400 Subject: 3.0.1 install Message-ID: <54A511F12B5E6246857C68356C74EA1E027AB5BF34@IL-Exchange2007.il.local> Test email -------------- 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 tthogersen at interstatelumber.com Thu Apr 10 22:45:00 2008 From: tthogersen at interstatelumber.com (Tom Thogersen) Date: Thu, 10 Apr 2008 16:45:00 -0400 Subject: 3.0.1 a few issuses Message-ID: <54A511F12B5E6246857C68356C74EA1E027AB5BF37@IL-Exchange2007.il.local> Hello, Sorry about the test email I was having problems getting emails out earlier. I installed and running 3.0.1 now from a 2.11 install. All is well except for two items: For some reason if I try to setup a service group the verify procedure now tells me - invalid object definition type "servicegroup" - I am following the documentation and it is basically the same stuff that I had running on 2.11 The status-map option no longer works there I get a error: could not read object configuration data. Thanks for any help Tom -------------- 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 cyruspy at gmail.com Thu Apr 10 23:01:18 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 10 Apr 2008 17:01:18 -0400 Subject: Nagios 3 GUI config tools In-Reply-To: <480035.65869.qm@web90501.mail.mud.yahoo.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> Message-ID: 2008/4/9, Sekhar : > Hi, > > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts etc > > No one seems to be developing nice tool for nagios gui config > > fruity - this is only publicity stunt RC release nearly 2 years > > Is there any other tools which can be used for easy configuration of nagios > > thanks for your help > > Best Regards > Centreon looks pretty good, but it's not fully functional for v3.... I guess it could be a great frontend if it gets more attention from community... Ciro Link: http://www.centreon.com/Product/Screenshots.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 mark.frost1 at pepsi.com Thu Apr 10 23:28:41 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 10 Apr 2008 17:28:41 -0400 Subject: 3.0.1 a few issuses In-Reply-To: <54A511F12B5E6246857C68356C74EA1E027AB5BF37@IL-Exchange2007.il.local> References: <54A511F12B5E6246857C68356C74EA1E027AB5BF37@IL-Exchange2007.il.local> Message-ID: ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tom Thogersen Sent: Thursday, April 10, 2008 4:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 3.0.1 a few issuses Hello, Sorry about the test email I was having problems getting emails out earlier. I installed and running 3.0.1 now from a 2.11 install. All is well except for two items: For some reason if I try to setup a service group the verify procedure now tells me - invalid object definition type "servicegroup" - I am following the documentation and it is basically the same stuff that I had running on 2.11 The status-map option no longer works there I get a error: could not read object configuration data. Thanks for any help Tom The servicegroup error you're getting is because the keyword is "servicegroups" (plural). The thing to remember there is that a check could be a member of more than one servicegroup... I don't use the statusmap so I can't comment on that. 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 frank at crop-circle.net Thu Apr 10 23:56:10 2008 From: frank at crop-circle.net (=?ISO-8859-1?Q?Frank_J._G=F3mez?=) Date: Thu, 10 Apr 2008 17:56:10 -0400 Subject: ndo2db -- lots of empty tables In-Reply-To: <06619177-900D-450E-9E82-8062410A185C@altinity.com> References: <06619177-900D-450E-9E82-8062410A185C@altinity.com> Message-ID: Thank you, Duncan. This is very useful documentation. The tables make so much more sense now! I made some changes to the configuration files and got the desired results, but I don't really understand the configuration options and I'd like to. I hope you'll bear with me for a bit longer. I changed config_output_options in the ndomod.cfg file from 2 to 1. When I restarted Nagios, I found the config tables had been populated. (Victory!) The available options are: # CONFIG OUTPUT OPTION # This option determines what types of configuration data the NDO # NEB module will dump from Nagios. Values can be OR'ed together. # Values: # 0 = Don't dump any configuration information # 1 = Dump only original config (from config files) # 2 = Dump config only after retained information has been restored # 3 = Dump both original and retained configuration I guess I don't understand what is meant by "retained information," nor where it is being restored from. For that matter, I don't know what it means to "OR" values together... Can someone explain what these options mean? In case it helps anyone else, my data_processing_options (same file) is set to -1. I didn't have to change this. Thanks, -Frank On Thu, Apr 10, 2008 at 2:30 PM, Duncan Ferguson < duncan.ferguson at altinity.com> wrote: > > On 10 Apr 2008, at 16:52, Frank J. G?mez wrote: > > > > The results of my service checks are being logged to the > > nagios_servicechecks table, which is very cool. However, I have a bunch of > > tables in the nagios database which are not populated. I won't list them > > all, but I'm most interested in nagios_hosts and nagios_services. > > > > Check your setting of 'config_output_options' in the ndomod.cfg file - it > may be incorrectly set for the information you want. > > > > So I guess those are mostly observations, not questions... Some > > questions then: > > > > - Did I do something wrong/different during the install process, > > or are these tables empty by default for everyone else? > > > > > Check your setting of 'data_processing_options' in the ndomod.cfg file. > > > > - Say I want to monitor a new host, should I edit my config files > > as in the past or add the information to the database? If I add it to the > > database, should I use the nagios_objects table or mess with the > > nagios_hosts and nagios_services tables? > > > > Nagios only writes to the ndo database, it doesn't read from it. > > > > - > > - Does anyone know what all of the objecttype_id codes mean? So > > far I have 1 (hosts), 2 (services), 9, 10, and 12. > > > > > The PDF may help with this (link below). If you feel it is lacking in > information I am sure Ethan will accept updates. > > > > - Why are those tables there if they are not being used? > > > > > Check your setting of 'data_processing_options' in the ndomod.cfg file. > > > > PS: I have not seen much documentation about ndo2db. If anyone has a > > good resource, please share! > > > > http://nagios.sourceforge.net/docs/ndoutils/NDOUtils_DB_Model.pdf and also > the source code itself. > > Duncs > > -- > Duncan Ferguson > Senior Developer, Altinity Limited > > http://www.altinity.com > Tel: +44 (0)870 787 9243 > US: +1 866 879 9184 > Fax: +44 (0)845 280 1725 > Skype: duncan_j_ferguson > MSN: duncan.ferguson at altinity.com > > The contents of this email and any files transmitted with it are > confidential and intended solely for the use of the individuals to whom it > is addressed. > If you are not the intended recipient or have received this e-mail in > error please notify the sender and delete this e-mail immediately. > Any unauthorised copying, disclosure or distribution of the material in > this e-mail is strictly prohibited. > > Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United > Kingdom > Registered in England and Wales under company number 4743767 > > -------------- 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 wgking99 at yahoo.com Fri Apr 11 04:11:44 2008 From: wgking99 at yahoo.com (Greg King) Date: Thu, 10 Apr 2008 19:11:44 -0700 (PDT) Subject: change management or source control for Nagiosconfigs? Message-ID: <97675.63393.qm@web50312.mail.re2.yahoo.com> > Message: 15 > Date: Thu, 10 Apr 2008 14:00:29 -0500 > From: "Marc Powell" > Subject: Re: [Nagios-users] change management or source control for > Nagiosconfigs? > To: "nagios-user" > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} > > Sent: Thursday, April 10, 2008 1:15 PM > > To: nagios-user > > Subject: [Nagios-users] change management or source control for > Nagiosconfigs? > > > > > > I'm wondering what most people out there use for change management of > > Nagios config files. I had been using BZR (bazaar-ng) for a while, > but > > CVS. > > -- > Marc I've started using NagiosQL web based GUI to configure Nagios and it keeps backups of all changed configs. Regards, Greg King www.wgk-consulting.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking99 at yahoo.com Fri Apr 11 04:19:20 2008 From: wgking99 at yahoo.com (Greg King) Date: Thu, 10 Apr 2008 19:19:20 -0700 (PDT) Subject: Re interfacing nagios to ibm director Message-ID: <756473.31286.qm@web50307.mail.re2.yahoo.com> > Date: Thu, 10 Apr 2008 21:00:00 +0200 > From: Folkert van Heusden > Subject: [Nagios-users] interfacing nagios to ibm director > To: nagios-users at lists.sourceforge.net > Message-ID: <20080410190000.GG23095 at vanheusden.com> > Content-Type: text/plain; charset=us-ascii > > Hi, > > Anyone got experience with interfacing ibm director to nagios? > E.g. director checks some statusses of some servers and nagios then > somehow picks that status up. > > > Folkert > I haven't done this with IBM director, but but I'd look for a log file to scan for new alerts, or for an SNMP hook to alert Nagios when an error occurs. Other vendor specific monitoring tools provide these. The log file parser would probably be the most reliable and easiest to implement. The trick will be to match the alert from the log to the host in Nagios, since all alerts will come from the host that is the director as a proxy for what it is watching.. Regards, Greg King www.wgk-consulting.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Apr 11 04:19:11 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 10 Apr 2008 22:19:11 -0400 Subject: Nagios help : to display when was my server lastrebooted. In-Reply-To: References: Message-ID: On Windows, Frequently many admins leave automatic updates on to make there life easier, but as a side effect the server reboots itself usually midweek. To have more controle over the reboot, wither manually run updates or configure a SUS server. Updates installed are published in the System Log as well as the reboot itself. If you really want the last boot time instead of the uptime, add a wrapper shell script that calculates the reboot date by subtracting the uptime from the current time. tony (Author of NC_Net -Windows plugin) On Thu, Apr 10, 2008 at 8:50 AM, Paul Weaver wrote: > Uptime is a funny thing, it can go to zero for a number of reasons, > usually because a 32 bit counter has rolled over (after 136 years, 68 > years, 500 days, 250 days, 49.7 days (win98 just stalled at this point), > or 25 days. > > You can sometimes monitor the SNMP OID "htSystemUptime", which appears > on my linux, solaris and windows 2000 boxes. When this value decreases > to nearly 0, you've had a reboot, or the counter has rotated. > > This value is probably the same value reported by "uptime" on a linux or > windows box. If you want to know when your system is available, you > could set a "check_ping" *service* on thie host, in nagios, running > every 30 seconds with retrys every 5 seconds. If the service goes away, > then there's a good chance it's rebooted itself. > > If you suspect a reboot, look through the logs. In linux, run "last", > you should see a "reboot" user if the system has rebooted. In windows > check the Security or Applications logs from the suspected reboot time. > > Perhaps you had a power failure which caused your box to reboot? > > -- > "Power corrupts. Power failure corrupts absolutely" > -----Original Message----- > 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: 10 April 2008 12:19 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios help : to display when was my server > lastrebooted. > Importance: High > > > > Hi All > > I want my nagios to display when was my windows/unix based system was > last rebooted , Is it possible to do so......since my Uptime is showing > that System Uptime 1day 1 hr but i haven't rebooted it . > > > > > > > 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. > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ing.miguel.angel at gmail.com Fri Apr 11 04:44:54 2008 From: ing.miguel.angel at gmail.com (Miguel Angel) Date: Thu, 10 Apr 2008 21:44:54 -0500 Subject: Problem with Event Handler Message-ID: Hi First of all, I would like to apologize for my english. I need your help, I'm trying to configure Nagios (version 2.5) for launch backups with Bacula (www.bacula.org), for that I'm use a Event Handler. Myproblem is that I've configure Nagios for start this event, I'm new in the Event Handlers theme. The most importan parts of my nagios configuration: In "nagios.cfg": enable_event_handlers=1 In "bigger.cfg": # 'scliente' host definition define host{ use generic-host host_name scliente alias scliente - Desktop address 192.168.101.14 parents vs1-dhcp check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period workhours notification_options d,u,r event_handler launch-bacula-jobs contact_groups desktop-admins } In "checkcommads.cfg": # 'launch-bacula-jobs' command definition define command{ command_name launch-bacula-jobs command_line $USER2$/eventhandlers/launch-bacula-jobs $HOSTNAME$ $HOSTSTATE$ $HOSTSTATETYPE$ } My Script is "/usr/lib/nagios/plugins/eventhandlers/launch-bacula-jobs" #!/bin/sh # LAUNCH BACULA JOBS EVENT HANDLER SCRIPT # Written By: Skina Technologies (skina at skinatech.com) # Last Modified: 04-04-2008 echo "Bacula Event Handler Script" echo "HOSTNAME: $1" echo "HOSTSTATE: $2" echo "HOSTSTATETYPE: $3" # Only take action on hard host states... case "$3" in HARD) case "$2" in DOWN) echo "The host is DOWN" ;; UP) echo "The host is UP. Start backup to $1" echo "run $1 yes" | bconsole ;; esac ;; esac exit 0 What is the problem???? Thanks, any help would be greatly appreciated. -- Atentamente, Miguel Angel Moreno Bola?os Usuario Linux registrado No. 391784 http://counter.li.org "El amor es un dolor entre pecho y espalda, que sabe a papas fritas sin salsa de tomate!" Att: Nous -------------- 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 Fri Apr 11 04:55:54 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 10 Apr 2008 22:55:54 -0400 Subject: How to start/stop a windows service using nagios In-Reply-To: References: <879d1e490804101039t3cb2f422w5f9ee55f6641ada8@mail.gmail.com> Message-ID: Yes this can be done in NC_Net but depending on your goals the service could also be configured to restart if it stop For NC_Net First make sure you are using a current version of Nc_Net Sourceforge is the only location that NC_Net should be downloaded from. http://sourceforge.net/projects/nc-net Use the RUNSCRIPT command check help for syntex ./check_nc_net --help=RUNSCRIPT create a batch that runs the net start command. copy it into the script folder of NC_Net install folder. Make sure your startup.cfg is configured approprialty for running scripts. (documentation is clear for these settings in the Startup.cfg file in the config folder of NC_NEt install location) if you modified the starup make sure to restart NC_NEt Then configure a event script for nagios that calls check_nt -v RUNSCRIPT -l "Scriptname" Tony (Author of NC_NEt) On Thu, Apr 10, 2008 at 2:12 PM, Frost, Mark {PBG} wrote: > There might be more than one way to do this, but my experience/suggestion > would be to > > 1) setup an event to act when the service goes critical. See the Nagios > docs about how to write a simple event script. Mostly you're making sure > that you'll only attempt to start the service on HARD/CRITICAL events. > > 2) I'm not too familiar with NC_NET, but I believe it's not dissimilar > from NSClient++ or other NRPE agents in that it can accept NRPE protocol > requests. You'd define an NRPE command (say "start_service") that run "net > start $ARG1$" where $ARG1$ is the name of the service to start. It's > possible that NC_NET has some built-in capability to manage services too > without resorting to an actual NRPE command. > > 3) Your script from #1 would then run > > check_nrpe -H -c start_service\! > > to start a service. Stopping is similar, of course. > > Mark > > > > ------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Joe Astrologo > *Sent:* Thursday, April 10, 2008 1:39 PM > *To:* Nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] How to start/stop a windows service using nagios > > I have nagios 2.3 server installed on a RedHat Linux. > > I have NC_Net and nagios event_log agents installed on various windows > clinets. > > I want nagios to re-start a windows service based on an application Event > Log messages. > > How do I do it? > > 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 > -------------- 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 perldork at webwizarddesign.com Fri Apr 11 05:05:33 2008 From: perldork at webwizarddesign.com (Max) Date: Thu, 10 Apr 2008 23:05:33 -0400 Subject: change management or source control for Nagios configs? In-Reply-To: References: Message-ID: Hi, SVN or CVS work very well for this; I personally use SVN. Version control admin directories will not interfere with Nagios parsing configs from directories as it looks for files that end in .cfg (as you pointed out in your post). Terrific way to keep a hot backup of your configs off site and to allow multiple configuration editors to work on files concurrently; you could even tie in a nice project management web interface like Trac for SVN and have a central place for people to easily see what changed when via the web as well as managing requests for changes to Nagios (new service / host monitoring requests etc) using the trouble ticketing features of a system like Trac ... and then their monitoring requests can be tied back to change sets by using the Milestone features of Trac. Lots of nice possibilities, especially for environments with multiple editors and multiple users who can request service and host monitoring changes. - 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 marc at ena.com Fri Apr 11 07:24:56 2008 From: marc at ena.com (Marc Powell) Date: Fri, 11 Apr 2008 00:24:56 -0500 Subject: Problem with Event Handler {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: <01CB8966-8881-43FF-83E4-5E9B37779057@ena.com> On Apr 10, 2008, at 9:44 PM, Miguel Angel wrote: > Hi > > First of all, I would like to apologize for my english. > > I need your help, I'm trying to configure Nagios (version 2.5) for > launch backups with Bacula > > UP) > echo "The host is UP. Start backup to $1" > echo "run $1 yes" | bconsole > ;; > Educated guess - bconsole isn't in the environment path when nagios executes the event handler. You can expect to have a minimal environment and should specify full paths to files and programs. Also make sure that the nagios user can successfully run that command. -- 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 al at its-lehmann.de Fri Apr 11 09:17:34 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 11 Apr 2008 09:17:34 +0200 Subject: Problem with Event Handler {Disarmed} {Fraud?} In-Reply-To: <01CB8966-8881-43FF-83E4-5E9B37779057@ena.com> References: <01CB8966-8881-43FF-83E4-5E9B37779057@ena.com> Message-ID: <47FF108E.6020001@its-lehmann.de> Hi, 11.04.2008 07:24, Marc Powell wrote: > On Apr 10, 2008, at 9:44 PM, Miguel Angel wrote: >> Hi >> >> First of all, I would like to apologize for my english. >> >> I need your help, I'm trying to configure Nagios (version 2.5) for >> launch backups with Bacula > >> UP) >> echo "The host is UP. Start backup to $1" >> echo "run $1 yes" | bconsole >> ;; >> > Educated guess - bconsole isn't in the environment path when nagios > executes the event handler. You can expect to have a minimal > environment and should specify full paths to files and programs. Also > make sure that the nagios user can successfully run that command. Also, it's much safer to pass the configuration file to use to bsonsole. So you should end up with something like "/sbin/bconsole -c /etc/bacula/bconsole.conf" Things might even be more comlicated. Your $1 in the event handler script holds the host name as defined in Nagios. That is not necessarily the name of any Bacula job. Of course you could define the jobs with the plain host name, but for reasons of manageability and flexibility I usually recommend a different naming scheme for the jobs. For example, on host sample with Bacula file daemon sample-fd you might have the jobs Sample-root Sample-home and Sample-data. For many Bacula installations, you soon discover that you need several jobs to take different needs regarding retention times, storage pools, or special backup procedures into account. As long as you really only need one job named exactly like the Nagios host name, your setup is ok, though. Arno > -- > Marc -- 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 duncan.ferguson at altinity.com Fri Apr 11 10:18:14 2008 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Fri, 11 Apr 2008 09:18:14 +0100 Subject: ndo2db -- lots of empty tables In-Reply-To: References: <06619177-900D-450E-9E82-8062410A185C@altinity.com> Message-ID: <1F501797-663A-4A3D-8F16-4EF6D21CABDF@altinity.com> On 10 Apr 2008, at 22:56, Frank J. G?mez wrote: > # 0 = Don't dump any configuration information > # 1 = Dump only original config (from config files) > # 2 = Dump config only after retained information has been > restored > # 3 = Dump both original and retained configuration > > I guess I don't understand what is meant by "retained information," > nor where it is being restored from. For that matter, I don't know > what it means to "OR" values together... Can someone explain what > these options mean? http://nagios.sourceforge.net/docs/2_0/configmain.html#retain_state_information - store state information in a file so when nagios gets relstarted it carries on from where it left off rather than start all checks from scratch again. If you didn't have this enabled but the config_output_options was set to 2 then there would be nothing to load back in, hence the tables are blank. 0 - load in config from files but do not end config on to database 1 - load in config files and send to database 2 - load in retained state file config and send tto the db 1 + 2 = 3 - load in both config and retained info, merge together and send onto db see also http://en.wikipedia.org/wiki/OR_Gate vs http://en.wikipedia.org/wiki/AND_gate and http://en.wikipedia.org/wiki/Logic_gate for more info on logic - principle is the same Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abu.salim at swisslog.com Fri Apr 11 10:56:23 2008 From: abu.salim at swisslog.com (Abu Salim) Date: Fri, 11 Apr 2008 09:56:23 +0100 Subject: Help installing Nagios monitoring agent on AIX 4.3 Message-ID: <0DA41B7D08D5624E830E12E4E012AF26938573@sukv7sw20015.sukv7.swisslog.net> Hi All, I am having problems installing Nagios Agent on AIX 4.3 I have followed the document to install Nagios-plugins nagios-plugins-1.4.11.tar.gz and NRPE plugins nrpe-2.12.tar.gz . I get error when running make command after ./configure on nagios-plugins. The error is: ..... ..... ..... Target "all-am" is up to date. Making all in lib Making all in tests Target "all" is up to date. source='utils_base.c' object='utils_base.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../build-aux/depcomp cc -qlanglvl=ansi -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -D_THREAD_SAFE -g -c utils_base.c 1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly. "../plugins/common.h", line 224.10: 1506-213 (S) Macro name __attribute__ cannot be redefined. "../plugins/common.h", line 224.10: 1506-358 (I) "__attribute__" is defined on line 34 of ../gl/vasprintf.h. "utils_base.c", line 108.28: 1506-068 (S) Operation between types "struct thresholds_struct*" and "int" is not allowed. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. I have even tried installing the AIX Specific packages available on the Nagios Exchange (e.g. nrpe-aix-5.2.tar.gz), but no success. The document I followed to install NRPE for Linux/UNIX is the one available on www.nagios.org and written by Ethan Galstad. If any one has successfully installed Nagios Monitoring Plugins/Agent on AIX 4.3, please let me know how you did it. Thanks ever so much. Abu Salim This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message. -------------- 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 sguilbaud+nagios at gmail.com Fri Apr 11 13:10:04 2008 From: sguilbaud+nagios at gmail.com (seb) Date: Fri, 11 Apr 2008 13:10:04 +0200 Subject: Nagios 3 GUI config tools In-Reply-To: References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <47FDFE39.3020808@googlemail.com> Message-ID: <28cea030804110410p46c262acw2cd27dbe9be3d419@mail.gmail.com> > Whilst another enginner and I manage the nagios configuration, the > on-call engineers who receive the alerts need the facility to manage who > receives the alerts and when. Therefore they need to be able to access > the contacts configuration file. I do not want to have to train them in > linux/vim|nano/ssh/nagios config file formats/nagios process management, > just so they can decide who should receive text messages out of hours. > > As such an easy to use website would be a boon for us. We are in the > process of implementing such a system internally, specifically > targetting Nagios v3 for this very reason. NoMa is for you :-) I've not yet tested it, but it allows you to delegate only contacts/notifications management with a web interface. All you have to do in Nagios is using a single script to hande notifications http://www.netways.de/de/produkte/nagios/erweiterungen/noma/ and as Hari said, plain text & well organised configs, making good use of Nagios 3.x features (multiple inheritance, "+" operator for servicegroups/hostgroups) for your templates *and* thoroughly planning and modelling your(s) network(s) if far more useful than a web interface in my opinion (I rather spend time adding nuvola style & designing nagvis maps...) -- seb ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 11 14:58:14 2008 From: Karl.Yost at iqor.com (Yost, Karl) Date: Fri, 11 Apr 2008 08:58:14 -0400 Subject: Nagios 3 GUI config tools References: <480035.65869.qm@web90501.mail.mud.yahoo.com> Message-ID: <56F8CBCA82D02D4B894B69C804906D1ADDEBFD@usnjpar1blex04.us.ad.irmc.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ciro Iriarte > Sent: Thursday, April 10, 2008 5:01 PM > To: Sekhar > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 3 GUI config tools > > 2008/4/9, Sekhar : > > Hi, > > > > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts > etc > > > > No one seems to be developing nice tool for nagios gui config > > > > fruity - this is only publicity stunt RC release nearly 2 years > > > > Is there any other tools which can be used for easy configuration of > nagios > > > > thanks for your help > > > > Best Regards > > > > Centreon looks pretty good, but it's not fully functional for v3.... I > guess it could be a great frontend if it gets more attention from > community... > > Ciro > > Link: http://www.centreon.com/Product/Screenshots.html The beta for 2.0 which supported 3.0 is supposed to be released this week, betting it will be sometime next week though. -Karl > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/ > javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 kyle.odonnell at gmail.com Fri Apr 11 15:25:33 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Fri, 11 Apr 2008 09:25:33 -0400 Subject: interfacing nagios to ibm director In-Reply-To: <20080410190000.GG23095@vanheusden.com> References: <20080410190000.GG23095@vanheusden.com> Message-ID: <2274b9c30804110625u53b3089bxb38f2ceff8fcbf0b@mail.gmail.com> We've been looking at a few different methods. Using the Director server to execute send_nsca, or send snmptraps to snmptt which get picked up by nagios. Or dumping the director agent messages to syslog/ a log and picking up the messages with check_logfiles. On 4/10/08, Folkert van Heusden wrote: > Hi, > > Anyone got experience with interfacing ibm director to nagios? > E.g. director checks some statusses of some servers and nagios then > somehow picks that status up. > > > Folkert > > -- > ---------------------------------------------------------------------- > Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 tthogersen at interstatelumber.com Fri Apr 11 15:58:11 2008 From: tthogersen at interstatelumber.com (Tom Thogersen) Date: Fri, 11 Apr 2008 09:58:11 -0400 Subject: Status Map 3.0.1 Message-ID: <54A511F12B5E6246857C68356C74EA1E027AB5BFFE@IL-Exchange2007.il.local> Hello, Since my upgrade to 3.0.1 the status map function returns an error could not read object configuration data. The verify option returns no errors and the log files show no startup or status errors. I received this error before and after I moved the extended host information to the host definition. Any thoughts? 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 hpsekhon at googlemail.com Fri Apr 11 16:00:27 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 11 Apr 2008 15:00:27 +0100 Subject: Nagios Exchange feedback Message-ID: <47FF6EFB.9060505@googlemail.com> Hi, I just wanted to give some feedback on the new NagiosExchange site. I'm intentionally posting here and not via the contact form on the site itself because I would like to have an open discussion on this in order to give better collaborative feedback. First off, thanks to all those who had a part in upgrading the site. Some of my own personal observations and opinions on the site and how it can be improved are below if you are interested. 1. The author name is no longer displayed next to the plugins listing. I don't know about anyone else, but I used to really use this to see straight off if a plugin was written by the same guy as another one as there is usually a strong correlation in the quality of plugins and who wrote them, it helped me avoid or zero in on plugins in a list. It's also just nice to see who wrote each one when scrolling through any list. 2. The votes have all been reset, which is a shame since it now means the better rated plugins are mingled in with the not so good ones, and I doubt people are going to go back and re-cast their votes. 3. The wiki markup changed, it would be nice if this was mapped or something on the migration, pages I've written now look horrid and I'd rather not go through so many pages to do it the manual chimp way (although I could live with it if I had to) 4. Navigation doesn't seem to be as nice as it was. For example, the only way to browse the plugins is to go back to the home page and navigate from there. There don't seem to be any links the the top bar of the page, and things like "Cool Projects" and "Random Project", while good ideas, seem a bit less useful that this basic usability in navigation of going straight to the plugins browsing by section like we had before. 5. I get a certificate error when connecting to the site's login, it seems that the certificate is self signed instead of verified by a trusted 3rd party as is standard... Overall, I feel that NagiosExchange is less clear (I can't fully explain this bit - a feeling with the layout, spacing, text etc...) and less effective since it's revamping... I certainly haven't felt as comfortable using it as the old site, either looking for other people's plugins or with my own. I'd like to know what other people think, if anyone agrees or disagrees with what I think on these topics, since this is a community orientated site I thought it might be relevant to have a more community orientated discussion as this is the site's primary audience. Again, thank you for all of your work on NagiosExchange.org to all those involved and also to all the plugin authors as well that make the site such a useful code sharing conduit. -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 Fri Apr 11 16:03:02 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 11 Apr 2008 15:03:02 +0100 Subject: change management or source control for Nagios configs? In-Reply-To: References: Message-ID: <47FF6F96.8040504@googlemail.com> Frost, Mark {PBG} wrote: > I'm wondering what most people out there use for change management of > Nagios config files. I had been using BZR (bazaar-ng) for a while, but > when I refreshed my servers it was a bit of a pain and haven't put it > there yet. I've tried to read about other ways to do this (RCS, SVN, > etc), but they all seem so strongly oriented towards source-code > projects that it's kind of confusing to run them with just config files. > > Some of these methods are complicated by the fact that they want to make > their archive directory inside Nagios' directory structure. This gets > kind of weird as I use nagios.cfg directives to tell it to recursively > read directories rather than just specifically named files. BZR worked > OK in this regard as it's dir was ".bzr" and was never picked up by > Nagios. > > Ultimately, I'm trying to provide myself with the ability to track > changes and potentially roll them back. Is anyone else out there using > some wonderful solution to this Subversion. It's not difficult, you don't have to read all the code concepts like branching and merging if you are just interested in simple "check out -> change+deploy -> check in" usage. -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 al at its-lehmann.de Fri Apr 11 17:02:15 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 11 Apr 2008 17:02:15 +0200 Subject: Problem with Event Handler {Disarmed} {Fraud?} In-Reply-To: References: <01CB8966-8881-43FF-83E4-5E9B37779057@ena.com> <47FF108E.6020001@its-lehmann.de> Message-ID: <47FF7D77.9020506@its-lehmann.de> Hello, please, reply to the list or I might send an invoice ;-) Of course, others might profit from the archives, too. 11.04.2008 14:53, Miguel Angel wrote: > maybe the Nagios user no have permisions to execute "bconsole"??? > > > > On Fri, Apr 11, 2008 at 7:16 AM, Miguel Angel > > wrote: > > Hi Arno, :) > > The jobs named exactly like Nagios: Good. As long as it works for you that's ok, of course. > In Nagios (bigger.cfg) ... > When I launch a backup from console for client "scliente", I use: > $ echo "run scliente yes" | bconsole Well, keep in mind what Marc pointed out - the environment Nagios uses to execute scripts is seriously stripped down. > Arno, in the "Event Log" in Nagios, appear this: > [04-10-2008 21:55:42] Warning: Attempting to execute the command > "/eventhandlers/launch-bacula-jobs registros DOWN HARD" resulted in > a return code of 127. Make sure the script or binary you are trying > to execute actually exists... I'm rather sure you won't find the /eventhandlers/launch-bacula-jobs existing and executale by nagios. Use a fully qualified path for the command and have the script be owned and executable by the nagios user. The directories leading to it should also be r-x for nagios. So, do a 'ls -l /eventhandlers/launch-bacula-jobs' and see if it's usable by Nagios. Arno > > [04-10-2008 21:55:42] HOST EVENT HANDLER: > registros;DOWN;HARD;10;launch-bacula-jobs > > > Please help! > > > > > > > On Fri, Apr 11, 2008 at 2:17 AM, Arno Lehmann > wrote: > > Hi, > > 11.04.2008 07:24, Marc Powell wrote: > > On Apr 10, 2008, at 9:44 PM, Miguel Angel wrote: > >> Hi > >> > >> First of all, I would like to apologize for my english. > >> > >> I need your help, I'm trying to configure Nagios (version > 2.5) for > >> launch backups with Bacula > > > >> UP) > >> echo "The host is UP. Start backup to $1" > >> echo "run $1 yes" | bconsole > >> ;; > >> > > Educated guess - bconsole isn't in the environment path when > nagios > > executes the event handler. You can expect to have a minimal > > environment and should specify full paths to files and > programs. Also > > make sure that the nagios user can successfully run that command. > > Also, it's much safer to pass the configuration file to use to > bsonsole. So you should end up with something like > "/sbin/bconsole -c > /etc/bacula/bconsole.conf" > > Things might even be more comlicated. > > Your $1 in the event handler script holds the host name as > defined in > Nagios. That is not necessarily the name of any Bacula job. > > Of course you could define the jobs with the plain host name, > but for > reasons of manageability and flexibility I usually recommend a > different naming scheme for the jobs. > > For example, on host sample with Bacula file daemon sample-fd you > might have the jobs Sample-root Sample-home and Sample-data. For > many > Bacula installations, you soon discover that you need several > jobs to > take different needs regarding retention times, storage pools, or > special backup procedures into account. > > As long as you really only need one job named exactly like the > Nagios > host name, your setup is ok, though. > > Arno > > > -- > > Marc > > -- > 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 > > > > > -- > Atentamente, > > > Miguel Angel Moreno Bola?os > > Usuario Linux registrado No. 391784 > http://counter.li.org > > "El amor es un dolor entre pecho y espalda, > que sabe a papas fritas sin salsa de tomate!" > > Att: Nous > > > > > -- > Atentamente, > > > Miguel Angel Moreno Bola?os > > Usuario Linux registrado No. 391784 > http://counter.li.org > > "El amor es un dolor entre pecho y espalda, > que sabe a papas fritas sin salsa de tomate!" > > Att: Nous -- 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 ing.miguel.angel at gmail.com Fri Apr 11 20:57:49 2008 From: ing.miguel.angel at gmail.com (Miguel Angel) Date: Fri, 11 Apr 2008 13:57:49 -0500 Subject: Problem with Event Handler {Disarmed} {Fraud?} In-Reply-To: <47FF108E.6020001@its-lehmann.de> References: <01CB8966-8881-43FF-83E4-5E9B37779057@ena.com> <47FF108E.6020001@its-lehmann.de> Message-ID: Hi again list! The jobs named exactly like Nagios: In Nagios (bigger.cfg) # 'scliente' host definition define host{ use generic-host host_name scliente alias scliente - Desktop address 192.168.101.14 parents vs1-dhcp check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period workhours notification_options d,u,r event_handler launch-bacula-jobs contact_groups desktop-admins } In Bacula (bacula-dir.conf): JobDefs { Name = "scliente" Type = Backup Level = Incremental Client = scliente-fd FileSet = "MyDocs" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Inc-Pool Priority = 10 } When I launch a backup from console for client "scliente", I use: $ echo "run scliente yes" | bconsole When I execute "tail -f /var/log/nagios/nagios.log" in console, show this: [1207936526] HOST EVENT HANDLER: scliente;DOWN;SOFT;1;launch-bacula-jobs [1207936526] HOST ALERT: scliente;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 2.41 ms The route of Event handler is: "/usr/lib/nagios/plugins/eventhandlers" $ ls -lt -rwxr-xr-x 1 root root 568 abr 10 20:00 launch-bacula-jobs Please help! On Fri, Apr 11, 2008 at 2:17 AM, Arno Lehmann wrote: > Hi, > > 11.04.2008 07:24, Marc Powell wrote: > > On Apr 10, 2008, at 9:44 PM, Miguel Angel wrote: > >> Hi > >> > >> First of all, I would like to apologize for my english. > >> > >> I need your help, I'm trying to configure Nagios (version 2.5) for > >> launch backups with Bacula > > > >> UP) > >> echo "The host is UP. Start backup to $1" > >> echo "run $1 yes" | bconsole > >> ;; > >> > > Educated guess - bconsole isn't in the environment path when nagios > > executes the event handler. You can expect to have a minimal > > environment and should specify full paths to files and programs. Also > > make sure that the nagios user can successfully run that command. > > Also, it's much safer to pass the configuration file to use to > bsonsole. So you should end up with something like "/sbin/bconsole -c > /etc/bacula/bconsole.conf" > > Things might even be more comlicated. > > Your $1 in the event handler script holds the host name as defined in > Nagios. That is not necessarily the name of any Bacula job. > > Of course you could define the jobs with the plain host name, but for > reasons of manageability and flexibility I usually recommend a > different naming scheme for the jobs. > > For example, on host sample with Bacula file daemon sample-fd you > might have the jobs Sample-root Sample-home and Sample-data. For many > Bacula installations, you soon discover that you need several jobs to > take different needs regarding retention times, storage pools, or > special backup procedures into account. > > As long as you really only need one job named exactly like the Nagios > host name, your setup is ok, though. > > Arno > > > -- > > Marc > > -- > 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 > -- Atentamente, Miguel Angel Moreno Bola?os Usuario Linux registrado No. 391784 http://counter.li.org "El amor es un dolor entre pecho y espalda, que sabe a papas fritas sin salsa de tomate!" Att: Nous -------------- 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 Apr 11 21:17:31 2008 From: marc at ena.com (Marc Powell) Date: Fri, 11 Apr 2008 14:17:31 -0500 Subject: Problem with Event Handler {Disarmed} {Fraud?} {Disarmed} {Fraud?} 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 Miguel Angel > Sent: Friday, April 11, 2008 1:58 PM > To: Arno Lehmann > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Problem with Event Handler > When I launch a backup from console for client "scliente", I use: > $ echo "run scliente yes" | bconsole We've said several times this won't work in your event handler script. Did you change it? > When I execute "tail -f /var/log/nagios/nagios.log" in console, show this: > [1207936526] HOST EVENT HANDLER: scliente;DOWN;SOFT;1;launch-bacula-jobs > [1207936526] HOST ALERT: scliente;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = > 2.41 ms Does your event handler get executed? Add debugging to echo text to a file to verify. Make sure you're getting the values you expect you're getting. Make sure you're capturing errors from your call to bconsole and logging those. > The route of Event handler is: "/usr/lib/nagios/plugins/eventhandlers" > $ ls -lt > -rwxr-xr-x 1 root root 568 abr 10 20:00 launch-bacula-jobs Does this match the command{} definition for the event handler? > Please help! We have been but you don't appear to be listening. -- 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 wgking99 at yahoo.com Fri Apr 11 23:54:00 2008 From: wgking99 at yahoo.com (Greg King) Date: Fri, 11 Apr 2008 14:54:00 -0700 (PDT) Subject: Nagios Nuvola and IE 7 Message-ID: <952782.61157.qm@web50302.mail.re2.yahoo.com> Hi list, I am running Nagios 2.11 on CentOS 5. I really like the look that the Nagios-nuvola gives to Nagios, but I noticed that if the nuvola skins are installed, the "Event logs" menu pick which runs "showlog.cgi" causes IE 7 to hang solid. Seems to work fine with Firefox. The Nuvola instructions are to "Just move the "html" folder into the HTML directory of Nagios", but Nagios 2.11 seems to have additional stuff in its HTML folder (share), so I did the following to preserve what was there: cd cp -Rfv html/* /usr/local/nagios/share/ chown -R nagios.nagios /usr/local/nagios/share/* IE 7 works for everything except the "Event log" menu pick. If this is clicked it hangs the browser solid, and the browser has to be killed. I'd like all the users to use Firefox but it ain't gonna happen real soon. If Nuvola is not installed, IE 7 works, so it is something to do with what Nuvola does. Any ideas on how to fix this is appreciated. Regards, Greg King www.wgk-consulting.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 12 05:00:11 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 11 Apr 2008 23:00:11 -0400 Subject: change management or source control for Nagiosconfigs? In-Reply-To: <97675.63393.qm@web50312.mail.re2.yahoo.com> References: <97675.63393.qm@web50312.mail.re2.yahoo.com> Message-ID: <480025BB.5020006@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/04/08 10:11 PM, Greg King wrote: >> Message: 15 >> Date: Thu, 10 Apr 2008 14:00:29 -0500 >> From: "Marc Powell" >> Subject: Re: [Nagios-users] change management or source control for >> Nagiosconfigs? >> To: "nagios-user" >> Message-ID: >> Content-Type: text/plain; charset="US-ASCII" >> >> >> >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >>> bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} >>> Sent: Thursday, April 10, 2008 1:15 PM >>> To: nagios-user >>> Subject: [Nagios-users] change management or source control for >> Nagiosconfigs? >>> >>> I'm wondering what most people out there use for change management of >>> Nagios config files. I had been using BZR (bazaar-ng) for a while, >> but >> >> CVS. >> >> -- >> Marc > > I've started using NagiosQL web based GUI to configure Nagios and it keeps backups of all changed configs. I use Subversion. I keep a local copy of the prod files and do the changes live, then run a simple script that prints the diffs I can review before commiting. Upon commit a notification email with commit log and changes is sent. I use this technique for many other things like cronjobs, file servers (exports, rsyncd, samba), Linux-HA, httpd config, etc... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIACW76dZ+Kt5BchYRApsOAJ4orK4jCYS6Iral4mee0SXpEAI8RQCgpH5M cr1NpZrVjcigZLNIvjHjvRI= =dFaK -----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 cyruspy at gmail.com Sat Apr 12 06:31:01 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Sat, 12 Apr 2008 00:31:01 -0400 Subject: Nagios 3 GUI config tools In-Reply-To: <56F8CBCA82D02D4B894B69C804906D1ADDEBFD@usnjpar1blex04.us.ad.irmc.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <56F8CBCA82D02D4B894B69C804906D1ADDEBFD@usnjpar1blex04.us.ad.irmc.com> Message-ID: 2008/4/11, Yost, Karl : > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Ciro Iriarte > > Sent: Thursday, April 10, 2008 5:01 PM > > To: Sekhar > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios 3 GUI config tools > > > > 2008/4/9, Sekhar : > > > Hi, > > > > > > I am looking for Nagios 3 GUI config tools for hosts,groups,contacts > > etc > > > > > > No one seems to be developing nice tool for nagios gui config > > > > > > fruity - this is only publicity stunt RC release nearly 2 years > > > > > > Is there any other tools which can be used for easy configuration of > > nagios > > > > > > thanks for your help > > > > > > Best Regards > > > > > > > > Centreon looks pretty good, but it's not fully functional for v3.... I > > guess it could be a great frontend if it gets more attention from > > community... > > > > Ciro > > > > Link: http://www.centreon.com/Product/Screenshots.html > > The beta for 2.0 which supported 3.0 is supposed to be released this > week, betting it will be sometime next week though. > > -Karl > > > > > > ----------------------------------------------------------------------- > Yes, and It needs a lot of testing and feedback, so if there are people with spare time, please try it!, a distributed solution would be great and for graphs it uses the ndo database data. The old roadmap stated a PHP interface for nagios v3, apparently it didn't happen.. Ciro ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 12 09:06:06 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Sat, 12 Apr 2008 12:36:06 +0530 Subject: Please help :Unable to open nagvis page !! Message-ID: Hi All I have installed nagvis , and made sure that all the pre-requisites are fulfilled . But still when i try to open nagvis page as per the below format i am unable to do so ! error says requested URL not present in server. http:////config.php -----> as given in nagvis documentation. http://localhost/usr/local/nagios/share/nagvis-1.2.2/config.php nagios server is my local host as to open nagios page i use : http://localhost/nagios path where nagvis config.php is present is usr/local/nagios/share/nagvis-1.2.2 Do I need to make any changes in the config.php file , let me know. 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 melanie_pfefer at yahoo.co.uk Sun Apr 13 12:48:26 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Sun, 13 Apr 2008 10:48:26 +0000 (GMT) Subject: contactgroups Message-ID: <498196.73044.qm@web26211.mail.ukl.yahoo.com> hello I created 2 contactgroups and thought that by affecting each hostgroup to a contactgroup, the alerts that belong to a host will go according to the contactgroup value that was defined in the hostgroup definition. However, I saw also that services has hostgroup value. So I had to redo the work: Affect a contactgroup to each service. Any alternative than doing this redundant work? thanks ___________________________________________________________ Yahoo! For Good helps you make a difference http://uk.promotions.yahoo.com/forgood/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.dehee at avedya.com Sun Apr 13 15:15:51 2008 From: julien.dehee at avedya.com (Julien Dehee) Date: Sun, 13 Apr 2008 15:15:51 +0200 Subject: contactgroups In-Reply-To: <498196.73044.qm@web26211.mail.ukl.yahoo.com> References: <498196.73044.qm@web26211.mail.ukl.yahoo.com> Message-ID: Hi, I think you have to do that work, but using template services should help you to write the contactgroups only once in service.cfg. Template services are the only way to make your whole configuration clean an simple without writing the same thing twice. Julien. On Sun, Apr 13, 2008 at 12:48 PM, Melanie Pfefer wrote: > hello > > I created 2 contactgroups and thought that by affecting each hostgroup to > a contactgroup, the alerts that belong to a host will go according to the > contactgroup value that was defined in the hostgroup definition. > > However, I saw also that services has hostgroup value. So I had to redo > the work: Affect a contactgroup to each service. > > Any alternative than doing this redundant work? > > thanks > > > ___________________________________________________________ > Yahoo! For Good helps you make a difference > > http://uk.promotions.yahoo.com/forgood/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 kelly.terry.jones at gmail.com Sun Apr 13 22:33:23 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sun, 13 Apr 2008 13:33:23 -0700 Subject: Running tests on intersection of two hostgroups? Message-ID: <26face530804131333n571c2e19tcede317a3b9f11a9@mail.gmail.com> I have a "Windows" hostgroup for my Windows machines, and an "Important" hostgroup for all my important machines (Windows and otherwise). How do I check a service on the intersection of these two groups (ie, important Windows machines)? I realize I could create an "important Windows" hostgroup, but that seems ugly, since I'd have to maintain it separately from the two existing hostgroups. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 14 07:04:46 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 14 Apr 2008 07:04:46 +0200 Subject: Running tests on intersection of two hostgroups? In-Reply-To: <26face530804131333n571c2e19tcede317a3b9f11a9@mail.gmail.com> References: <26face530804131333n571c2e19tcede317a3b9f11a9@mail.gmail.com> Message-ID: <4802E5EE.1000601@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kelly Jones wrote: | I have a "Windows" hostgroup for my Windows machines, and an | "Important" hostgroup for all my important machines (Windows and | otherwise). | | How do I check a service on the intersection of these two groups (ie, | important Windows machines)? | | I realize I could create an "important Windows" hostgroup, but that | seems ugly, since I'd have to maintain it separately from the two | existing hostgroups. If the question is if one can use boolean logic in requiring an AND function in the membership of hostgroups. Then the simple answer is no. You need to define another group with the right members yourself. If your question is different you may need to rephrase the question. 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) iD8DBQFIAuXsBvzDRVjxmYERAjOMAKCKlkKSV405HhXVaP1halVJxsgHEQCeODFA v4I19UlSFka1bGMqz80riVs= =8N3D -----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 Mon Apr 14 08:44:01 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Mon, 14 Apr 2008 12:14:01 +0530 Subject: Nagvis error : nagios not running NDOMy backend ndomy_1 Message-ID: Hi All While starting nagvis i am getting the following error , Can anyone help me out !! 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: 16103 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Mon Apr 14 10:31:23 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Apr 2008 09:31:23 +0100 Subject: Running tests on intersection of two hostgroups? In-Reply-To: <4802E5EE.1000601@vanderkooij.org> References: <26face530804131333n571c2e19tcede317a3b9f11a9@mail.gmail.com> <4802E5EE.1000601@vanderkooij.org> Message-ID: <4803165B.90808@googlemail.com> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Kelly Jones wrote: > | I have a "Windows" hostgroup for my Windows machines, and an > | "Important" hostgroup for all my important machines (Windows and > | otherwise). > | > | How do I check a service on the intersection of these two groups (ie, > | important Windows machines)? > | > | I realize I could create an "important Windows" hostgroup, but that > | seems ugly, since I'd have to maintain it separately from the two > | existing hostgroups. > > If the question is if one can use boolean logic in requiring an AND > function in the membership of hostgroups. Then the simple answer is no. > You need to define another group with the right members yourself. > > If your question is different you may need to rephrase the question. > > Hugo Is there no plan to allow embedded hostgroups in Nagios? Once you have this, you would just stick all important windows machines in the "Important Windows" group and then nest that group in the general "Important" group to achieve the effect of maintaining those hosts in only one place, scalable and consistent. I'm not sure if this is in 3.x or planned, I don't follow the bleeding development track too closely... Short of that, write a script to parse and generate another hostgroups file to achieve the same result and have it automated to create the Important group from other hostgroups and maintain your hosts in just those more specific hostgroups. I did something similar to auto-generate servicegroups for all tests to allow easily grouping them together, you could do something similar for hostgroups (my script for servicegroups is released here http://www.nagiosexchange.org/cgi-bin/pages/Detailed/2435.html) -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 Pallav.S.Gupta at relianceada.com Mon Apr 14 13:05:58 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Mon, 14 Apr 2008 16:35:58 +0530 Subject: reinstall nagios plugin but it is giving me following error Message-ID: Dear All I have installed nagios 3.0 , after installing snmp plugin , I tried to reinstall nagios plugin but it is giving me following error. check_http.o: In function `check_http': /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:785: undefined reference to `np_net_ssl_write' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:789: undefined reference to `np_net_ssl_read' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:828: undefined reference to `np_net_ssl_cleanup' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:734: undefined reference to `np_net_ssl_init' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:736: undefined reference to `np_net_ssl_check_cert' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:737: undefined reference to `np_net_ssl_cleanup' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/home/administrator/monitoring/nagios-plugins-1.4.11/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/administrator/monitoring/nagios-plugins-1.4.11' make: *** [all] Error 2 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Pallav.S.Gupta at relianceada.com Mon Apr 14 14:04:55 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Mon, 14 Apr 2008 17:34:55 +0530 Subject: Fw: Nagvis error : nagios not running NDOMy backend ndomy_1 Message-ID: ----- Forwarded by Pallav S Gupta/RCVL/RelianceADA on 04/14/2008 05:33 PM ----- Pallav S Gupta/RCVL/RelianceADA 04/14/2008 12:14 PM To nagios-users at lists.sourceforge.net cc Subject Nagvis error : nagios not running NDOMy backend ndomy_1 Hi All While starting nagvis i am getting the following error , Can anyone help me out !! 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: 16103 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Pallav.S.Gupta at relianceada.com Mon Apr 14 14:05:56 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Mon, 14 Apr 2008 17:35:56 +0530 Subject: Fw: Nagvis error : nagios not running NDOMy backend ndomy_1 Message-ID: Can someone help me pls !!!! ----- Forwarded by Pallav S Gupta/RCVL/RelianceADA on 04/14/2008 05:33 PM ----- Pallav S Gupta/RCVL/RelianceADA 04/14/2008 12:14 PM To nagios-users at lists.sourceforge.net cc Subject Nagvis error : nagios not running NDOMy backend ndomy_1 Hi All While starting nagvis i am getting the following error , Can anyone help me out !! 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: 16103 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 alexdehaini at gmail.com Mon Apr 14 14:11:45 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 14 Apr 2008 12:11:45 +0000 Subject: reinstall nagios plugin but it is giving me following error In-Reply-To: References: Message-ID: <4b008f7d0804140511o1fcb1604yfd6b28d86b0a10b6@mail.gmail.com> Do you have openssl installed? On Mon, Apr 14, 2008 at 11:05 AM, wrote: > > Dear All > > I have installed nagios 3.0 , after installing snmp plugin , I tried to > reinstall nagios plugin but it is giving me following error. > > check_http.o: In function `check_http': > /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:785: > undefined reference to `np_net_ssl_write' > /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:789: > undefined reference to `np_net_ssl_read' > /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:828: > undefined reference to `np_net_ssl_cleanup' > /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:734: > undefined reference to `np_net_ssl_init' > /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:736: > undefined reference to `np_net_ssl_check_cert' > /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:737: > undefined reference to `np_net_ssl_cleanup' > collect2: ld returned 1 exit status > make[2]: *** [check_http] Error 1 > make[2]: Leaving directory > `/home/administrator/monitoring/nagios-plugins-1.4.11/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/administrator/monitoring/nagios-plugins-1.4.11' > make: *** [all] Error 2 > > > > 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 the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 alexdehaini at gmail.com Mon Apr 14 14:23:49 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 14 Apr 2008 12:23:49 +0000 Subject: Fw: Nagvis error : nagios not running NDOMy backend ndomy_1 In-Reply-To: References: Message-ID: <4b008f7d0804140523l1a6bad86mb9d399a0321f8906@mail.gmail.com> Pallav, Take this to the nagvis forum. http://www.nagios-portal.org/wbb/index.php On Mon, Apr 14, 2008 at 12:05 PM, wrote: > > Can someone help me pls !!!! > > > > ----- Forwarded by Pallav S Gupta/RCVL/RelianceADA on 04/14/2008 05:33 PM > ----- > > *Pallav S Gupta/RCVL/RelianceADA* > > 04/14/2008 12:14 PM > To > nagios-users at lists.sourceforge.netcc > Subject > Nagvis error : nagios not running NDOMy backend ndomy_1 > > > > Hi All > > While starting nagvis i am getting the following error , Can anyone help > me out !! > > > > > > > > > > > > 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. > -- 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: 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 -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 16103 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 Pallav.S.Gupta at relianceada.com Mon Apr 14 14:41:06 2008 From: Pallav.S.Gupta at relianceada.com (Pallav.S.Gupta at relianceada.com) Date: Mon, 14 Apr 2008 18:11:06 +0530 Subject: reinstall nagios plugin but it is giving me following error In-Reply-To: <4b008f7d0804140511o1fcb1604yfd6b28d86b0a10b6@mail.gmail.com> References: <4b008f7d0804140511o1fcb1604yfd6b28d86b0a10b6@mail.gmail.com> Message-ID: Yes I have it installed. "Alex Dehaini" Sent by: nagios-users-bounces at lists.sourceforge.net 04/14/2008 05:41 PM To Pallav.S.Gupta at relianceada.com, "Nagios Users Mailinglist" cc Subject Re: [Nagios-users] reinstall nagios plugin but it is giving me following error Do you have openssl installed? On Mon, Apr 14, 2008 at 11:05 AM, wrote: Dear All I have installed nagios 3.0 , after installing snmp plugin , I tried to reinstall nagios plugin but it is giving me following error. check_http.o: In function `check_http': /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:785: undefined reference to `np_net_ssl_write' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:789: undefined reference to `np_net_ssl_read' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:828: undefined reference to `np_net_ssl_cleanup' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:734: undefined reference to `np_net_ssl_init' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:736: undefined reference to `np_net_ssl_check_cert' /home/administrator/monitoring/nagios-plugins-1.4.11/plugins/check_http.c:737: undefined reference to `np_net_ssl_cleanup' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/home/administrator/monitoring/nagios-plugins-1.4.11/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/administrator/monitoring/nagios-plugins-1.4.11' make: *** [all] Error 2 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Sascha.Runschke at gfkl.com Mon Apr 14 14:47:04 2008 From: Sascha.Runschke at gfkl.com (Sascha Runschke) Date: Mon, 14 Apr 2008 14:47:04 +0200 Subject: Antwort: Re: reinstall nagios plugin but it is giving me following error In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 14.04.2008 14:41:06: > Yes I have it installed. You will need the openssl-devel package if you want to compile the plugins manually. S -- Sascha Runschke Netzwerk- und Systemmanagement Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 mmw at tiger-computing.co.uk Mon Apr 14 15:13:30 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Mon, 14 Apr 2008 14:13:30 +0100 Subject: reinstall nagios plugin but it is giving me following error In-Reply-To: References: Message-ID: <20080414141330.5f91be79@tclmmw.in.tiger-computing.com> On Mon, 14 Apr 2008 16:35:58 +0530 Pallav.S.Gupta at relianceada.com wrote: > I have installed nagios 3.0 , after installing snmp plugin , I tried > to reinstall nagios plugin but it is giving me following error. Which flavour of linux are you using? If you are using Debian (or Debian derivatives), you will probably need to install libssl-dev before you can recompile correctly, just having ssl installed is not enough. Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 14 15:38:21 2008 From: Pallav.S.Gupta at relianceada.com (by way of Matthew Macdonald-Wallace ) Date: Mon, 14 Apr 2008 19:08:21 +0530 Subject: reinstall nagios plugin but it is giving me following error In-Reply-To: <20080414141330.5f91be79@tclmmw.in.tiger-computing.com> References: <20080414141330.5f91be79@tclmmw.in.tiger-computing.com> Message-ID: I am using Ubuntu , and ssl dev package is already installed. Matthew Macdonald-Wallace Sent by: nagios-users-bounces at lists.sourceforge.net 04/14/2008 06:43 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] reinstall nagios plugin but it is giving me following error On Mon, 14 Apr 2008 16:35:58 +0530 Pallav.S.Gupta at relianceada.com wrote: > I have installed nagios 3.0 , after installing snmp plugin , I tried > to reinstall nagios plugin but it is giving me following error. Which flavour of linux are you using? If you are using Debian (or Debian derivatives), you will probably need to install libssl-dev before you can recompile correctly, just having ssl installed is not enough. Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 brock at kuhsefamily.org Mon Apr 14 15:48:15 2008 From: brock at kuhsefamily.org (Brock Kuhse) Date: Mon, 14 Apr 2008 06:48:15 -0700 Subject: Running tests on intersection of two hostgroups? In-Reply-To: <4803165B.90808@googlemail.com> References: <26face530804131333n571c2e19tcede317a3b9f11a9@mail.gmail.com> <4802E5EE.1000601@vanderkooij.org> <4803165B.90808@googlemail.com> Message-ID: <017501c89e36$30284ff0$9078efd0$@org> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Monday, April 14, 2008 1:31 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Running tests on intersection of two > hostgroups? > > Hugo van der Kooij wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Kelly Jones wrote: > > | I have a "Windows" hostgroup for my Windows machines, and an > > | "Important" hostgroup for all my important machines (Windows and > > | otherwise). > > | > > | How do I check a service on the intersection of these two groups > (ie, > > | important Windows machines)? > > | > > | I realize I could create an "important Windows" hostgroup, but that > > | seems ugly, since I'd have to maintain it separately from the two > > | existing hostgroups. > > > > If the question is if one can use boolean logic in requiring an AND > > function in the membership of hostgroups. Then the simple answer is > no. > > You need to define another group with the right members yourself. > > > > If your question is different you may need to rephrase the question. > > > > Hugo > Is there no plan to allow embedded hostgroups in Nagios? > > Once you have this, you would just stick all important windows machines > in the "Important Windows" group and then nest that group in the > general > "Important" group to achieve the effect of maintaining those hosts in > only one place, scalable and consistent. > > I'm not sure if this is in 3.x or planned, I don't follow the bleeding > development track too closely... > > Short of that, write a script to parse and generate another hostgroups > file to achieve the same result and have it automated to create the > Important group from other hostgroups and maintain your hosts in just > those more specific hostgroups. > > I did something similar to auto-generate servicegroups for all tests to > allow easily grouping them together, you could do something similar for > hostgroups (my script for servicegroups is released here > http://www.nagiosexchange.org/cgi-bin/pages/Detailed/2435.html) > > -h > > -- > Hari Sekhon > We use 3.0 and do something like that now with a group of "MS Exchange Servers" that is embedded in the "Windows Servers" groups. That way we just apply the "exchange_server" template to servers running MS Exchange without also having to apply the "windows_server" template. For Kelly's problem, I suppose one could define an "Important" template and a "Windows" template, and then apply both templates to "important Windows servers". - Brock ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 14 16:09:59 2008 From: marc at ena.com (Marc Powell) Date: Mon, 14 Apr 2008 09:09:59 -0500 Subject: reinstall nagios plugin but it is giving me following error 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 by way of Matthew Macdonald- > Wallace > Sent: Monday, April 14, 2008 8:38 AM > To: Matthew Macdonald-Wallace > Subject: Re: [Nagios-users] reinstall nagios plugin but it is giving me > following error > Importance: High > > > I am using Ubuntu , and ssl dev package is already installed. Did configure find it? Look through the configure output to verify. You might need to specify the path to the openssl installation (./configure --help). Based on your posts so far today, I'd highly encourage you to read through all of the following link. Your participation in open source communities can only be greatly enhanced by understanding what the page is saying... http://catb.org/~esr/faqs/smart-questions.html -- 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 dave.list at pixelhammer.com Mon Apr 14 19:24:10 2008 From: dave.list at pixelhammer.com (DAve) Date: Mon, 14 Apr 2008 13:24:10 -0400 Subject: External nagios monitoring In-Reply-To: <48039020.6090702@pixelhammer.com> References: <48039020.6090702@pixelhammer.com> Message-ID: <4803933A.8070304@pixelhammer.com> DAve wrote: > Good morning, > > We are writing a app for a client that will display Nagios status in a > way that doesn't strike fear into the minds of the PHBs. Currently the > designers have a nice Flash based app with lots of pretty pictures and > dancing monkey icons, all the glitter a CIO could want. I need to stuff > data into a DB for the designer to use for updating the app. > > I've looked at event handlers but I am leaning towards using the > notification script to also update the DB. I don't think the event > handler will execute for an acknowledgment correct? > > My question, has anyone ever done this? I need to sent very little info, > > 1) the date > 2) the host/service > 3) the notification type > 4) the admin name/string who acks the notofication > > I have access to #1 through #3 for the notification handler obviously, I > don't see where I have access to #4. Will I have to parse the > comments.dat for that information or can I grab that somewhere? > > Running Nagios 2.5 Never mind, sorry for the luser moment. I just looked at the correct Nagios version and found $HOSTACKAUTHOR$ and $SERVICEACKAUTHOR$ DAve > > Thanks, > > DAve > > -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave.list at pixelhammer.com Mon Apr 14 19:10:56 2008 From: dave.list at pixelhammer.com (DAve) Date: Mon, 14 Apr 2008 13:10:56 -0400 Subject: External nagios monitoring Message-ID: <48039020.6090702@pixelhammer.com> Good morning, We are writing a app for a client that will display Nagios status in a way that doesn't strike fear into the minds of the PHBs. Currently the designers have a nice Flash based app with lots of pretty pictures and dancing monkey icons, all the glitter a CIO could want. I need to stuff data into a DB for the designer to use for updating the app. I've looked at event handlers but I am leaning towards using the notification script to also update the DB. I don't think the event handler will execute for an acknowledgment correct? My question, has anyone ever done this? I need to sent very little info, 1) the date 2) the host/service 3) the notification type 4) the admin name/string who acks the notofication I have access to #1 through #3 for the notification handler obviously, I don't see where I have access to #4. Will I have to parse the comments.dat for that information or can I grab that somewhere? Running Nagios 2.5 Thanks, DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 14 20:34:07 2008 From: maemigh at gmail.com (Mike Emigh) Date: Mon, 14 Apr 2008 14:34:07 -0400 Subject: Nagios 3 CGI backslash stripping Message-ID: <91eedcbf0804141134u233af164g6586a0a06c33350b@mail.gmail.com> Hi everyone, I'm not sure if this is the proper place to report this, but I could not find a bug tracker associated with Nagios. There appears to be a problem with the way the CGIs strip backslashes from plugin output. The code which strips them appears to assume that whenever there is a backslash, then it is escaping the next character. However, this is not always the case. For example, backslashes on Windows partitions consist of a single backslash which shouldn't be removed. Copy and paste from status.dat: plugin_output=OK: C:\: Total: 68.2G - Used: 12.6G (18%) - Free: 55.6G (82%) In order to fix the problem on our install, I've commented out line 787 and replaced it with 788. I've also commented out 789. As far as I can tell, this change has not had an adverse effect on any other output. cgiutils.c: 785 /* unescape backslashes and other stuff */ 786 else{ 787 /* rawbuf[y++]=rawbuf[x+1]; */ 788 rawbuf[y++]=rawbuf[x]; 789 /* x++; */ 790 } 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 Mon Apr 14 20:40:42 2008 From: marc at ena.com (Marc Powell) Date: Mon, 14 Apr 2008 13:40:42 -0500 Subject: External nagios monitoring In-Reply-To: <48039020.6090702@pixelhammer.com> References: <48039020.6090702@pixelhammer.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of DAve > Sent: Monday, April 14, 2008 12:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] External nagios monitoring > > dancing monkey icons, all the glitter a CIO could want. I need to stuff > data into a DB for the designer to use for updating the app. Have you looked at NDOUtils? -- 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 marcos.marinho at rac.com.br Mon Apr 14 21:03:16 2008 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Mon, 14 Apr 2008 16:03:16 -0300 Subject: SNMP disk checking in Windows NTFS mounted system Message-ID: <4803AA74.9030400@rac.com.br> 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 RLAdams at AdamsInfoServ.Com Mon Apr 14 22:52:37 2008 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 14 Apr 2008 15:52:37 -0500 Subject: SNMP disk checking in Windows NTFS mounted system In-Reply-To: <4803AA74.9030400@rac.com.br> References: <4803AA74.9030400@rac.com.br> Message-ID: <20080414205237.GC9851@odin.demosthenes.org> On Mon, Apr 14, 2008 at 04:03:16PM -0300, Marcos Marinho wrote: > Please configure your mail program to send text too, not just html. > ... > If I was using the same command with only the drive letter the plugin > had worked just fine.
SNMP will only allow you to access the total utilization of the drive (total, free, used, %) as a whole, you cannot monitor subdirectories with it. Thanks. ------------------------------------------------------------------ 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Mon Apr 14 23:06:17 2008 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Mon, 14 Apr 2008 18:06:17 -0300 Subject: SNMP disk checking in Windows NTFS mounted system In-Reply-To: <20080414205237.GC9851@odin.demosthenes.org> References: <4803AA74.9030400@rac.com.br> <20080414205237.GC9851@odin.demosthenes.org> Message-ID: <4803C749.6010900@rac.com.br> Hello Russell, Thanks for your answer The NTFS Mounted Point File System in Windows is a File System mounted in a Subdirectory, but still a Mounted File System., but a got your point. Do you Known any other way in other to get the free space percent in this kind of cenario ? Regards **Marcos Marinho*** *** Russell Adams escreveu: > On Mon, Apr 14, 2008 at 04:03:16PM -0300, Marcos Marinho wrote: > >> >> > > Please configure your mail program to send text too, not just html. > > >> >> > > ... > > >> If I was using the same command with only the drive letter the plugin >> had worked just fine.
>> > > SNMP will only allow you to access the total utilization of the drive > (total, free, used, %) as a whole, you cannot monitor subdirectories > with it. > > Thanks. > > ------------------------------------------------------------------ > 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 the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 RLAdams at AdamsInfoServ.Com Tue Apr 15 00:19:33 2008 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 14 Apr 2008 17:19:33 -0500 Subject: SNMP disk checking in Windows NTFS mounted system In-Reply-To: <4803C749.6010900@rac.com.br> References: <4803AA74.9030400@rac.com.br> <20080414205237.GC9851@odin.demosthenes.org> <4803C749.6010900@rac.com.br> Message-ID: <20080414221933.GD9851@odin.demosthenes.org> You may have to investigate a different method or plugin that is Windows native. I don't know of one off the top of my head. On Mon, Apr 14, 2008 at 06:06:17PM -0300, Marcos Marinho wrote: > Hello Russell, > > Thanks for your answer > > The NTFS Mounted Point File System in Windows is a File System mounted > in a Subdirectory, but still a Mounted File System., but a got your point. > > Do you Known any other way in other to get the free space percent in > this kind of cenario ? > > Regards > > **Marcos Marinho*** > *** > > > > > Russell Adams escreveu: > > On Mon, Apr 14, 2008 at 04:03:16PM -0300, Marcos Marinho wrote: > > > >> > >> > > > > Please configure your mail program to send text too, not just html. > > > > > >> > >> > > > > ... > > > > > >> If I was using the same command with only the drive letter the plugin > >> had worked just fine.
> >> > > > > SNMP will only allow you to access the total utilization of the drive > > (total, free, used, %) as a whole, you cannot monitor subdirectories > > with it. > > > > Thanks. > > > > ------------------------------------------------------------------ > > 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 the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > ------------------------------------------------------------------ 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 15 06:59:08 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 15 Apr 2008 06:59:08 +0200 Subject: Fw: Nagvis error : nagios not running NDOMy backend ndomy_1 In-Reply-To: References: Message-ID: <4804361C.30203@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pallav.S.Gupta at relianceada.com wrote: | | Can someone help me pls !!!! Pallav, This is is plain nagging. And propably the best way to ensure no one is going to answer your questions anymore. If you have a business need to get things going and are unable to do it yourself, as you have proven well beyond any doubt by now, then be a man and hire someone who can do the job for you. If this is some do-it-yourself project then follow Alex suggestion and read about how to ask your questions on a malinglist. No one here has any obligation to answer any question of any reader. If they do so it is a courtesy and not a right. 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) iD8DBQFIBDYaBvzDRVjxmYERAuFuAJ4k+Jc3pnhAv2OnsJpH5SA25ECNuwCfaWX7 UuLwtrSGCSiMtysLeDEfi7w= =Y0MZ -----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 pemca at tdc.dk Tue Apr 15 07:30:59 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Tue, 15 Apr 2008 07:30:59 +0200 Subject: Strange return code 255 on Solaris 9 Message-ID: Hi I'm running nagios plugins on a group of solaris 9 machines. I use the check_by_ssh command to check disk, load ect on the remote machines. I'm running the same check by ssh command against a hostgroup of 15 machines, but one of them fails and returns (Return code of 255 is out of bounds). If i run the check_disk locally on the machine it works fine, and if i run it manually from the nagios machine with check_by-ssh it also works fine, but if nagios runs it it don't work ?? - and all other machines in the same group works fine - strange this is run from nagios machine : /usr/local/nagios/libexec/check_by_ssh -H khk23dso3.ip.tdk.dk -l nagios -i /home/nagios/.ssh/id_rsa -C 'plugin/check_disk -w 25% -c 15% -l -X devfs' DISK OK - free space: / 12192 MB (92% inode=99%); /usr 12668 MB (86% inode=95%); /var 4393 MB (69% inode=95%); /var/run 10628 MB (99% inode=99%); /tmp 10628 MB (99% inode=99%); /opt 14585 MB (99% inode=99%); /export/home 8499 MB (87% inode=99%);| /=970MB;9972;11301;0;13296 /usr=1957MB;11080;12557;0;14774 /var=1890MB;4759;5394;0;6346 /var/run=0MB;7971;9033;0;10628 /tmp=0MB;7971;9033;0;10628 /opt=41MB;11080;12557;0;14774 /export/home=1252MB;7387;8372;0;9850 can anyone help on this problem rgds, Peter Calum -------------- 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 mugnoz.pilar at gmail.com Tue Apr 15 14:39:39 2008 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Tue, 15 Apr 2008 14:39:39 +0200 Subject: sms througth nagios Message-ID: <53317ec10804150539k6aa04d00lc517865e3ef8703f@mail.gmail.com> Hi all, i am planning to improve my nagios intallation by adding a sms-notification. I have found several pluggins but there is something i don't understand... All of them talk about, sername and password associated with SMS2Email account, Mollie account.... Is this service managed by a private enterprise or i could buy a GSM modem with a pre-paid target? Where i could get an account? I am very lost in this topic so any information would be very grateful. Best wishes, Pili -------------- 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 Tue Apr 15 15:03:56 2008 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 15 Apr 2008 09:03:56 -0400 Subject: sms througth nagios In-Reply-To: <53317ec10804150539k6aa04d00lc517865e3ef8703f@mail.gmail.com> References: <53317ec10804150539k6aa04d00lc517865e3ef8703f@mail.gmail.com> Message-ID: <302ce8b50804150603p379624cexcfd4259a5f157c5c@mail.gmail.com> On Tue, Apr 15, 2008 at 8:39 AM, Pili Mu?oz Gargallo wrote: > Hi all, > i am planning to improve my nagios intallation by adding a sms-notification. > I have found several pluggins but there is something i don't understand... > All of them talk about, sername and password associated with SMS2Email > account, Mollie account.... > Is this service managed by a private enterprise or i could buy a GSM modem > with a pre-paid target? > Where i could get an account? > I am very lost in this topic so any information would be very grateful. > > Best wishes, A read-thru of this might help you out -> http://en.wikipedia.org/wiki/SMS_gateways -- 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 nagios at pgmail.net Tue Apr 15 15:10:23 2008 From: nagios at pgmail.net (Philipp Geschke) Date: Tue, 15 Apr 2008 15:10:23 +0200 Subject: sms througth nagios In-Reply-To: <53317ec10804150539k6aa04d00lc517865e3ef8703f@mail.gmail.com> References: <53317ec10804150539k6aa04d00lc517865e3ef8703f@mail.gmail.com> Message-ID: <4804A93F.4050303@pgmail.net> Hello, Pili Mu?oz Gargallo schrieb: > Hi all, > i am planning to improve my nagios intallation by adding a > sms-notification. I have found several pluggins but there is something i > don't understand... All of them talk about, sername and password > associated with SMS2Email account, Mollie account.... > Is this service managed by a private enterprise or i could buy a GSM > modem with a pre-paid target? > Where i could get an account? > I am very lost in this topic so any information would be very grateful. As Nagios is only run by Plugins, even with notifications, you can do almost anything that transports your informations to a SMS Provider. Pretty cheap is, for example, what I am doing. I have regular old Nokia 6210 cell phone hooked to the Nagios box. Then I use gammu (http://www.gammu.org/wiki/index.php?title=Main_Page) to Pipe notifications to that cell phone. My notification command looks like this: define command{ command_name notify-by-sms command_line /usr/bin/printf "%b" "Nagios\n\nType: $NOTIFICATIONTYPE$\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nTime: $SHORTDATETIME$\nInfo:$SERVICEOUTPUT$" | gammu --sendsms TEXT $CONTACTEMAIL$ | tee -a /var/nagios/nagios-sms.log } As you can see, I use the usual $CONTACTEMAIL$ to store the cell phone number I want to send the sms to. Or, as a more general answer to your question: You can use anything with nagios, that you are able to configure, nagios only limiting you to have a command on your system that'll pipe the info to the device. --Philipp ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 15 15:44:12 2008 From: throck at gmail.com (Tom Throckmorton) Date: Tue, 15 Apr 2008 09:44:12 -0400 Subject: change management or source control for Nagios configs? In-Reply-To: References: Message-ID: <20080415134412.GA9220@gmail.com> On Apr 10 23:05, Max wrote: > Hi, > > SVN or CVS work very well for this; I personally use SVN. Version > control admin directories will not interfere with Nagios parsing > configs from directories as it looks for files that end in .cfg (as > you pointed out in your post). > > Terrific way to keep a hot backup of your configs off site and to > allow multiple configuration editors to work on files concurrently; > you could even tie in a nice project management web interface like > Trac for SVN and have a central place for people to easily see what > changed when via the web as well as managing requests for changes to > Nagios (new service / host monitoring requests etc) using the trouble > ticketing features of a system like Trac ... and then their monitoring > requests can be tied back to change sets by using the Milestone > features of Trac. +1 I'm doing basically what you've described using SVN+Jira. On the Subversion side, I use a pre-commit hook that does the preflight test, to keep bad configs out of the repo (and away from Nagios). Adding an issue number to the commit message associates the commit with an issue; Jira shows the commit summary in the issue detail, with links to the full changes. On the Nagios side, I run a script out of cron (or at will) that checks the repo for updates, cleans out any config files that have been removed, gets the latest rev and reloads. And logs everything :) One thing to keep in mind - this solution works well, but only as long as you're still hand-editing your configs. AFAIK, none of the front-ends support using any kind of SCM tool for the backend, though that would be a welcome feature. Cheers, -tt -- Tom Throckmorton ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue Apr 15 15:54:56 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 15 Apr 2008 14:54:56 +0100 Subject: SNMP disk checking in Windows NTFS mounted system In-Reply-To: <4803C749.6010900@rac.com.br> References: <4803C749.6010900@rac.com.br> Message-ID: > The NTFS Mounted Point File System in Windows is a File > System mounted > in a Subdirectory, but still a Mounted File System., but a > got your point. > > Do you Known any other way in other to get the free space percent in > this kind of cenario ? A couple of options 1) Create a second mountpoint for the drive as a letter -- I have a server that has "C:\mysql\data" as a separate drive. I've additionally mounted this as "M:", and can use SNMP to look at the M: drive. I've had issues with SNMP on windows 2000 before, it sometimes fails to report the correct value. 2) You can also use samba, pass in a host, share, username and password, the plugin used smbclient to do a "DIR". Seems to work for me, I knocked up a plugin for internal use which does this, basically it does: open(PH, "smbclient //$host/$share -U$username \"$password\" -c \"dir\" 2>/dev/null"); While () {$lastLine = $_;} Then checks for /NT_STATUS_BAD_NETWORK_NAME/, /NT_STATUS_ACCESS_DENIED/ and no output, then checks for the "nnn blocks of size xx. Yyy blocks" If it finds it, it takes the number used as 100*(blockused/(blockused+blockfree))), which gives me x% It then returns this value, and nagiosgrapher parses it to plot a graph. (Don't ask why we have mysql on a windows server!) http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalenshek at skyline-ats.com Tue Apr 15 18:52:37 2008 From: smalenshek at skyline-ats.com (Stephen Malenshek) Date: Tue, 15 Apr 2008 10:52:37 -0600 Subject: Distibuted Setup Questions... Message-ID: <006501c89f19$1d335000$300a960a@gabriel> All, I presently have a distributed setup using V 3.0.1, and as you would expect with active/passive checks, it shows all the passive checks for the hosts within the service status details as pending. My question is this. If I am checking services passively on a box, and all services are reporting, is there any way to make Nagios use that information for the host and not show it as pending? Also, how can I remove the big red "X" beside all the hosts that it is passively monitoring? 90% of what I will be doing is passive and showing all remove hosts doing the active monitoring as pending is just not optimal. Thanks in advance for everyone's time. Stephen Malenshek Manager, Managed Services Group Skyline Advanced Technology Services Bozeman, Montana smalenshek at skyline-ats.com Phone: (406) 587-1047 x106 Cell: (406) 599-9569 Fax: (406) 587-1035 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3221 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4251 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 smalenshek at skyline-ats.com Tue Apr 15 18:29:42 2008 From: smalenshek at skyline-ats.com (Stephen Malenshek) Date: Tue, 15 Apr 2008 10:29:42 -0600 Subject: Status map not displaying images Message-ID: <005801c89f15$eacf6890$300a960a@gabriel> All, I figure this might be something that I am doing wrong, but I am unable to view the custom images that I have setup within the status map. I have read many of the different instruction for converting .png files to .gd2 and even tried .jpg, but still have not gotten it to work. I have another installation that I have access to, which is V 2.9, which does not have a problem. I recently updated my installation from 3.0 to 3.0.1, thinking maybe a missed something in the initial configuration, but no joy. Anyone have any ideas of what I might have missed? The following is an excerpt of the relevant output during ./configure for 3.0.1: We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! Thanks in advance for your time. Stephen Malenshek Manager, Managed Services Group Skyline Advanced Technology Services Bozeman, Montana smalenshek at skyline-ats.com Phone: (406) 587-1047 x106 Cell: (406) 599-9569 Fax: (406) 587-1035 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3221 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4251 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 smalenshek at skyline-ats.com Tue Apr 15 19:23:23 2008 From: smalenshek at skyline-ats.com (Stephen Malenshek) Date: Tue, 15 Apr 2008 11:23:23 -0600 Subject: Status map not displaying images In-Reply-To: References: Message-ID: <009301c89f1d$695a6960$300a960a@gabriel> I have them configured basically the same way as "icon_image". I have also tried it with the full path on the drive. The odd thing also is that popup, which you do the mouse over, shows the correct image, which I figure is generated from the specification of the icon_image. Just makes no sense. It is not a big deal, but I get tired of seeing the "?". Stephen Malenshek Manager, Managed Services Group Skyline Advanced Technology Services Bozeman, Montana smalenshek at skyline-ats.com Phone: (406) 587-1047 x106 Cell: (406) 599-9569 Fax: (406) 587-1035 _____ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Tuesday, April 15, 2008 11:08 AM To: Stephen Malenshek; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Status map not displaying images If you dumped the images in the share directory as root check the permissions and make sure that Nagios user/ web user and group(s) can view them. If it found the gd library there is no reason that the images are not displaying that I can think of off the top of my head. I will head to the docs to verify though. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Ubuntu - African for "I can't configure Debian!" From: Stephen Malenshek [mailto:smalenshek at skyline-ats.com] Sent: Tuesday, April 15, 2008 12:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status map not displaying images All, I figure this might be something that I am doing wrong, but I am unable to view the custom images that I have setup within the status map. I have read many of the different instruction for converting .png files to .gd2 and even tried .jpg, but still have not gotten it to work. I have another installation that I have access to, which is V 2.9, which does not have a problem. I recently updated my installation from 3.0 to 3.0.1, thinking maybe a missed something in the initial configuration, but no joy. Anyone have any ideas of what I might have missed? The following is an excerpt of the relevant output during ./configure for 3.0.1: We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! Thanks in advance for your time. Stephen Malenshek Manager, Managed Services Group Skyline Advanced Technology Services Bozeman, Montana smalenshek at skyline-ats.com Phone: (406) 587-1047 x106 Cell: (406) 599-9569 Fax: (406) 587-1035 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3221 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 2511 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 3221 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4251 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 markwag at u.washington.edu Tue Apr 15 20:05:38 2008 From: markwag at u.washington.edu (Mark Wagner) Date: Tue, 15 Apr 2008 11:05:38 -0700 Subject: passive checks for non-24x7 hosts going stale outside check_period Message-ID: <20080415180538.GC4989@n-its-markwag2.mcis.washington.edu> I have a distributed set-up where the web interface server never does any checks. Freshness checking is enabled on the web interface server with a check command that will alert that the service/host is stale. Everything works fine except for those hosts that are not monitored 24x7. For example, services/hosts that are monitored 9am-5pm will be reported as stale every morning at 9am. The service/host goes stale on the active monitoring servers too, a service/host check will be forced, and the result will be sent to the web interface server at which point the web interface server is happy again. I would think that Nagios would not include time outside of the check_period when calculating how fresh a service/host is but that appears not to be the case. (Please correct me if I am wrong.) Does anybody have any tips on how to handle this situation? I'm using Nagios v2.9. -- Mark Wagner System Administrator, UW Medicine IT Services ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From groome at ict.usc.edu Wed Apr 16 01:04:17 2008 From: groome at ict.usc.edu (Rob Groome) Date: Tue, 15 Apr 2008 16:04:17 -0700 Subject: change management or source control for Nagios configs? In-Reply-To: <20080415134412.GA9220@gmail.com> References: <20080415134412.GA9220@gmail.com> Message-ID: On Apr 15, 2008, at 6:44 AM, Tom Throckmorton wrote: > On Apr 10 23:05, Max wrote: >> Hi, >> >> SVN or CVS work very well for this; I personally use SVN. Version >> control admin directories will not interfere with Nagios parsing >> configs from directories as it looks for files that end in .cfg (as >> you pointed out in your post). >> >> Terrific way to keep a hot backup of your configs off site and to >> allow multiple configuration editors to work on files concurrently; >> you could even tie in a nice project management web interface like >> Trac for SVN and have a central place for people to easily see what >> changed when via the web as well as managing requests for changes to >> Nagios (new service / host monitoring requests etc) using the trouble >> ticketing features of a system like Trac ... and then their >> monitoring >> requests can be tied back to change sets by using the Milestone >> features of Trac. I also use SVN + Trac. I wrote an script to sync my config files - on multiple hosts and not just for nagios - up to the svn server via cron. It works really well and most of the time I don't need the files to be uploaded immediately after I make changes, so I do it once a day and always have the rev history. Works really well and I use it also for /etc dirs and other config directories as well. Rob ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Wed Apr 16 08:51:35 2008 From: rupertt at gmail.com (Heiko) Date: Wed, 16 Apr 2008 08:51:35 +0200 Subject: sending service/host notification status to failover server Message-ID: <537dcd6b0804152351k696b49b0v5f5b8d2d0f58eb7f@mail.gmail.com> Hello, i have 2 nagios servers, where one acts as an failover(with disabled checks/notification.). I use send_nsca to send the current servcie/host status to the failover server, since we have some notifications disabled on main server, how can i transfer these settings to the failover server? cheers Heiko ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GarethWatson at totemcomms.com Wed Apr 16 10:22:31 2008 From: GarethWatson at totemcomms.com (Gareth Watson) Date: Wed, 16 Apr 2008 09:22:31 +0100 Subject: passive checks for non-24x7 hosts going staleoutside check_period In-Reply-To: <20080415180538.GC4989@n-its-markwag2.mcis.washington.edu> References: <20080415180538.GC4989@n-its-markwag2.mcis.washington.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Mark Wagner > Sent: 15 April 2008 19:06 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] passive checks for non-24x7 hosts > going staleoutside check_period > > I have a distributed set-up where the web interface server > never does any checks. Freshness checking is enabled on the > web interface server with a check command that will alert > that the service/host is stale. > > Everything works fine except for those hosts that are not > monitored 24x7. > > For example, services/hosts that are monitored 9am-5pm will > be reported as stale every morning at 9am. The service/host > goes stale on the active monitoring servers too, a > service/host check will be forced, and the result will be > sent to the web interface server at which point the web > interface server is happy again. > > I would think that Nagios would not include time outside of > the check_period when calculating how fresh a service/host is > but that appears not to be the case. (Please correct me if I > am wrong.) > > Does anybody have any tips on how to handle this situation? How fortuitous, we were just chatting about setting up another Nagios server using the passive check system at work yesterday. I would also be interested in hearing more about this issue if anyone has any further information or advice. Thanks, Gareth. > > I'm using Nagios v2.9. > > -- > Mark Wagner > System Administrator, UW Medicine IT Services > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by the 2008 JavaOne(SM) > Conference Don't miss this year's exciting event. There's > still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java .sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 svalding at doverchem.com Wed Apr 16 14:14:07 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Wed, 16 Apr 2008 08:14:07 -0400 Subject: [Nagio-users] SMS Docs Message-ID: List, Does anyone out there have any documentation that they have written up for getting sms notifications up and running on an AT&T/Cingular network? We are wanting to implement the technology at our company, but the documentation is kind of spacey, and the list not clear cut as well. Thanks a bunch! Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 24721 bytes Desc: image001.png 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 scott at MIT.EDU Wed Apr 16 17:06:31 2008 From: scott at MIT.EDU (Scott R. Ehrlich) Date: Wed, 16 Apr 2008 11:06:31 -0400 (EDT) Subject: Need help with Nagios, PERC, and likely false warning Message-ID: I have a Dell PE2950 with PERC 5/i. The server suffered a failed disk under RAID 0. I obtained a replacement disk, rebuilt the system from the ground up (new logical volumes within the controller, new OS install) and the system is happy now. I installed nagios on a low-end PC (CentOS 5), and obtained nrpe from Nagios, installed a couple OpenManage plugins - Report and Storage. Both nagios plugins report the PERC as status Warning - PERC 5/i is Non-Critical/Degraded. The report and storage nagios plugins, along with a few other Dell plugins, all show the RAID volumes and disks as perfectly healthy. Are the Warnings a reflection of the OpenManage files obtained via yum, the nagios plugins (both plugins show the same issue), and/or does the RAID controller actually have a flag I missed, that still needs to be cleared, though the RAID was rebuilt? Thanks for any insights/help. Scott ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Wed Apr 16 18:46:00 2008 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 16 Apr 2008 12:46:00 -0400 Subject: Need help with Nagios, PERC, and likely false warning In-Reply-To: References: Message-ID: <021a01c89fe1$59b2b0c0$800101df@andrew2> Scott R. Ehrlich wrote: > I have a Dell PE2950 with PERC 5/i. The server suffered a failed disk > under RAID 0. I obtained a replacement disk, rebuilt the system from > the ground up (new logical volumes within the controller, new OS > install) and > the system is happy now. > > I installed nagios on a low-end PC (CentOS 5), and obtained nrpe from > Nagios, installed a couple OpenManage plugins - Report and Storage. > Both nagios plugins report the PERC as status Warning - PERC 5/i is > Non-Critical/Degraded. > > The report and storage nagios plugins, along with a few other Dell > plugins, all show the RAID volumes and disks as perfectly healthy. > > Are the Warnings a reflection of the OpenManage files obtained via > yum, the nagios plugins (both plugins show the same issue), and/or > does the RAID controller actually have a flag I missed, that still > needs to be cleared, though the RAID was rebuilt? None of the above, probably. Most likely you're using a newer version of OpenManage than was current when your controller firmware/drivers were new. You could either downgrade to an older version of OpenManage, or better yet upgrade the firmware/drivers to the latest version and clear the error. Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwalker at sharefax.org Wed Apr 16 19:25:06 2008 From: bwalker at sharefax.org (Beau Walker) Date: Wed, 16 Apr 2008 13:25:06 -0400 Subject: [Nagio-users] SMS Docs In-Reply-To: References: Message-ID: Would this be what you're looking for? http://en.wikipedia.org/wiki/SMS_gateways#Email_to_SMS_.2F_Web_to_SMS Just use a regular email notification, but use number at txt.att.net where number is a 10 digit at&t number. I hope that helps. Beau Walker - CCNA, Linux+ Technology Specialist Sharefax Credit Union (513) 753-2440, Ext. 8117 ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Valdinger, Stephen (DOV, MSX) Sent: Wednesday, April 16, 2008 8:14 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] [Nagio-users] SMS Docs List, Does anyone out there have any documentation that they have written up for getting sms notifications up and running on an AT&T/Cingular network? We are wanting to implement the technology at our company, but the documentation is kind of spacey, and the list not clear cut as well. Thanks a bunch! Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4072 bytes Desc: image002.jpg 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 israel at frontierflying.com Wed Apr 16 20:01:04 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 16 Apr 2008 10:01:04 -0800 Subject: Hosts w/o services Message-ID: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> Running nagios 3.0, I have set up a number (most) of my hosts without services, since all I am interested in monitoring is the hosts themselves. However, this is causing a number of little annoyances, such as the hosts not showing up when I type their name into the nagios sidebar search, throwing numerous warnings if I do a verify from the command line, giving me a blank page when I click the hostname link from the hostgroup overview page, etc. Is there any way around these issues other than adding a check_dummy service check to each host? Thanks. ----------------------------------------------- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 16 20:10:18 2008 From: andyford at agedwards.com (Ford, Andy) Date: Wed, 16 Apr 2008 13:10:18 -0500 Subject: Hosts w/o services In-Reply-To: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> There must be some reason for each server or device to be on the network, it must provide some service, even if it's just a lowly(?) sshd. Do yourself and your organization a favor and monitor that reason! > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Israel Brewster > Sent: Wednesday, April 16, 2008 1:01 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Hosts w/o services > > Running nagios 3.0, I have set up a number (most) of my hosts > without > services, since all I am interested in monitoring is the hosts > themselves. However, this is causing a number of little annoyances, > such as the hosts not showing up when I type their name into the > nagios sidebar search, throwing numerous warnings if I do a verify > from the command line, giving me a blank page when I click the > hostname link from the hostgroup overview page, etc. Is there > any way > around these issues other than adding a check_dummy service check to > each host? Thanks. 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Wed Apr 16 20:21:45 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 16 Apr 2008 19:21:45 +0100 Subject: Hosts w/o services In-Reply-To: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> Message-ID: You can use check_ping -- I assume the boxes are pingable, and you want to check they are pingable, even if they do nothing else that can be monitored. If you don't want to check they work via ping, why are you even modelling them? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Israel Brewster > Sent: 16 April 2008 19:01 > To: Nagios Users Mailinglist > Subject: [Nagios-users] Hosts w/o services > > > Running nagios 3.0, I have set up a number (most) of my hosts > without > services, since all I am interested in monitoring is the hosts > themselves. However, this is causing a number of little annoyances, > such as the hosts not showing up when I type their name into the > nagios sidebar search, throwing numerous warnings if I do a verify > from the command line, giving me a blank page when I click the > hostname link from the hostgroup overview page, etc. Is there > any way > around these issues other than adding a check_dummy service check to > each host? Thanks. > > ----------------------------------------------- > 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 the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to > save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java .sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 20:38:51 2008 From: marc at ena.com (Marc Powell) Date: Wed, 16 Apr 2008 13:38:51 -0500 Subject: Hosts w/o services In-Reply-To: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Israel Brewster > Sent: Wednesday, April 16, 2008 1:01 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Hosts w/o services > > Running nagios 3.0, I have set up a number (most) of my hosts without > services, since all I am interested in monitoring is the hosts > themselves. However, this is causing a number of little annoyances, > such as the hosts not showing up when I type their name into the > nagios sidebar search, throwing numerous warnings if I do a verify > from the command line, giving me a blank page when I click the > hostname link from the hostgroup overview page, etc. Is there any way > around these issues other than adding a check_dummy service check to > each host? Thanks. Nagios is a service monitoring application and everything is developed with that in mind. Every host is expected to have at least one service associated with it. Being able to effectively monitor hosts without services is new in Nagios-3 and is considered an 'optional' and not a core feature. The effects you're seeing are the result of that expectation. For example, clicking on the hostname link from hostgroup overview takes you to a list of services on that host. It would be nice if it did something different in your case but it's not there and you should understand that your use case is the exception, not the norm. I have heard nothing about that behavior changing in the future. -- 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 Wed Apr 16 20:46:56 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 16 Apr 2008 14:46:56 -0400 Subject: [Nagio-users] SMS Docs In-Reply-To: References: Message-ID: <20080416184656.GJ6458@cgi.jachomes.com> On Wed, Apr 16, 2008 at 01:25:06PM -0400, Steven Valdinger wrote: > Does anyone out there have any documentation that > they have written up for getting sms notifications up and running > on an AT&T/Cingular network? We are wanting to implement the > technology at our company, but the documentation is kind of spacey, > and the list not clear cut as well. Thanks a bunch! I very much suspect you might find this message useful, Steven: http://www.mail-archive.com/whatsup_forum at list.ipswitch.com/msg05831.html See also: http://activexperts.org/xmstoolkit/snpplist/ and, generally, the results of http://www.google.com/search?q=AT%26T+SMS+SNPP (I'm assuming that you want to take at least the SMTP service out of the critical path. If you want to take the entire Internet out of the critical path, then you'll need dialup, and I don't know if they still have such a gateway in the wake of the TAP port discontinuance.) 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 Wed Apr 16 21:11:08 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 16 Apr 2008 11:11:08 -0800 Subject: Hosts w/o services In-Reply-To: References: Message-ID: <81A866E3-7F47-4C28-B9D5-A80101700FE4@frontierflying.com> On Apr 16, 2008, at 10:21 AM, Paul Weaver wrote: > You can use check_ping -- I assume the boxes are pingable, and you > want > to check they are pingable, even if they do nothing else that can be > monitored. > > If you don't want to check they work via ping, why are you even > modelling them? I AM checking them via ping- in the host check. It just doesn't make sense to be pinging both as a service check and as a host check, and since the ping is actually determining the host state, not the state of a service, it makes more sense to put the ping check as the host check, rather than a separate service. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Israel Brewster >> Sent: 16 April 2008 19:01 >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] Hosts w/o services >> >> >> Running nagios 3.0, I have set up a number (most) of my hosts >> without >> services, since all I am interested in monitoring is the hosts >> themselves. However, this is causing a number of little annoyances, >> such as the hosts not showing up when I type their name into the >> nagios sidebar search, throwing numerous warnings if I do a verify >> from the command line, giving me a blank page when I click the >> hostname link from the hostgroup overview page, etc. Is there >> any way >> around these issues other than adding a check_dummy service check to >> each host? Thanks. >> >> ----------------------------------------------- >> 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 the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to >> save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java > .sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless > specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 21:21:58 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 16 Apr 2008 15:21:58 -0400 Subject: [Nagio-users] SMS Docs In-Reply-To: <20080416184656.GJ6458@cgi.jachomes.com> References: <20080416184656.GJ6458@cgi.jachomes.com> Message-ID: <20080416192158.GR6458@cgi.jachomes.com> On Wed, Apr 16, 2008 at 02:46:56PM -0400, Jay R. Ashworth wrote: > (I'm assuming that you want to take at least the SMTP service out of > the critical path. If you want to take the entire Internet out of the > critical path, then you'll need dialup, and I don't know if they still > have such a gateway in the wake of the TAP port discontinuance.) Additionally, *just* today I noticed a thread on NANOG about this, check the list archives (at nanog.org) looking for a thead about vtext.com. 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 vicjalan at gmail.com Wed Apr 16 21:12:45 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Wed, 16 Apr 2008 15:12:45 -0400 Subject: check_logfiles documentation Message-ID: Hi, Does anyone have a detailed doc written for configuring check_logfiles. I'm new to Nagios and Linux :-) and I've managed to install Nagios, NRPE, as well as the check_logfiles plugin. I've set up a few hosts, commands, and service checks with and without the use of NRPE and everything is working in that aspect. I'm just stuck on getting the plugin jumpstarted and the current documentation provided in the check_logs site is a bit overwhelming. I would greatly appreciate it. 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 kyle.odonnell at gmail.com Wed Apr 16 21:14:52 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 16 Apr 2008 15:14:52 -0400 Subject: check_logfiles documentation In-Reply-To: References: Message-ID: <2274b9c30804161214m62a54b00rf9c78f980b7d484@mail.gmail.com> http://www.consol.de/opensource/nagios/check-logfiles Theres an english flag in the top left. Near the bottom of the page there's a link with a load of examples. On 4/16/08, Victor Lanza wrote: > Hi, > > > > Does anyone have a detailed doc written for configuring check_logfiles. I'm > new to Nagios and Linux :-) and I've managed to install Nagios, NRPE, as > well as the check_logfiles plugin. I've set up a few hosts, commands, and > service checks with and without the use of NRPE and everything is working in > that aspect. I'm just stuck on getting the plugin jumpstarted and the > current documentation provided in the check_logs site is a bit overwhelming. > > > > I would greatly appreciate it. > > > > 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 Wed Apr 16 21:20:29 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 16 Apr 2008 11:20:29 -0800 Subject: Hosts w/o services In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> Message-ID: <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> On Apr 16, 2008, at 10:10 AM, Ford, Andy wrote: > > > There must be some reason for each server or device to be on the > network, it must provide some service, even if it's just a lowly(?) > sshd. > Do yourself and your organization a favor and monitor that reason! > To some extent, yes, but not necessarily a service we can monitor. There are quite a few devices on the network that it is important to us to know should the device fail, but aren't offering any separately monitorable "service", per se. For example, printers. We need to know if one dies, so we can fix it before it becomes a problem (not to mention that fixing the boss's printer before he even knows it has a problem makes you look good ;-) ), but other than the simple ping host check, they don't offer any "services" we can monitor. Even some more essential devices such as switches can fall into this category, as they are just routing traffic, not offering any "services". I could, of course, go crazy and use check_snmp or something to monitor each port on said switch as a service, but that is way overkill for our needs- we just need to know that the switch is there and functioning, i.e. host check. Not to mention the rather large category of client machines, which we need to know are running so they can be backed up, and, of course, used for whatever the user needs. Kind of difficult to monitor the ability to run office, or an e-mail client :-). We still want to monitor the host, though, so that hopefully if/when a client machine should die we can fix it before the user (who may well come in before us in the morning) is impacted. We could, of course, monitor something like ssh on those machines, but why? All we (and the user) care about is that the machine is functioning. So yeah, while this may not be the way nagios is designed to work, and may never be (which I can live with if so), I really don't see this as being all that unusual a situation, as some responses seem to imply. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Israel Brewster >> Sent: Wednesday, April 16, 2008 1:01 PM >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] Hosts w/o services >> >> Running nagios 3.0, I have set up a number (most) of my hosts >> without >> services, since all I am interested in monitoring is the hosts >> themselves. However, this is causing a number of little annoyances, >> such as the hosts not showing up when I type their name into the >> nagios sidebar search, throwing numerous warnings if I do a verify >> from the command line, giving me a blank page when I click the >> hostname link from the hostgroup overview page, etc. Is there >> any way >> around these issues other than adding a check_dummy service check to >> each host? Thanks. > > > > > 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 21:25:41 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 16 Apr 2008 15:25:41 -0400 Subject: Hosts w/o services In-Reply-To: <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> Message-ID: <20080416192541.GS6458@cgi.jachomes.com> On Wed, Apr 16, 2008 at 11:20:29AM -0800, Israel Brewster wrote: > To some extent, yes, but not necessarily a service we can monitor. There are cases that fit this description, but I'm not sure if the examples you provide are. > There are quite a few devices on the network that it is important to > us to know should the device fail, but aren't offering any separately > monitorable "service", per se. For example, printers. We need to know > if one dies, so we can fix it before it becomes a problem (not to > mention that fixing the boss's printer before he even knows it has a > problem makes you look good ;-) ), but other than the simple ping host > check, they don't offer any "services" we can monitor. Telnet to 9100 and look for a banner. Or the equivalent for non JetDirect printers.. > Even some more essential devices such as switches can fall into this > category, as they are just routing traffic, not offering any > "services". I could, of course, go crazy and use check_snmp or > something to monitor each port on said switch as a service, but that > is way overkill for our needs- we just need to know that the switch is > there and functioning, i.e. host check. And moving traffic; you might find it useful to ping-check other things on that switch. Or at least ssh-check the switch controller itself. > Not to mention the rather large category of client machines, which we > need to know are running so they can be backed up, and, of course, > used for whatever the user needs. Kind of difficult to monitor the > ability to run office, or an e-mail client :-). We still want to > monitor the host, though, so that hopefully if/when a client machine > should die we can fix it before the user (who may well come in before > us in the morning) is impacted. We could, of course, monitor something > like ssh on those machines, but why? All we (and the user) care about > is that the machine is functioning. Sure. But for workstations, you're not monitoring diskspace? Open TCP listens (to watch for trojans) > So yeah, while this may not be the way nagios is designed to work, and > may never be (which I can live with if so), I really don't see this as > being all that unusual a situation, as some responses seem to imply. Well, it's not that it's unusual, I think; I believe the assertion being made is that only doing a ping is not the Best Practice. Cheers, -- jra -- Jay R. Ashworth jra at baylink.com Designer +-Internetworking------+---------+ RFC 2100 Ashworth & Associates | Best Practices Wiki | | '87 e24 St Petersburg FL USA +-http://bestpractices.wikia.com-+ +1 727 647 1274 If you can read this... thank a system administrator. Or two. --me ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 21:31:05 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Wed, 16 Apr 2008 15:31:05 -0400 Subject: check_logfiles documentation In-Reply-To: <2274b9c30804161214m62a54b00rf9c78f980b7d484@mail.gmail.com> References: <2274b9c30804161214m62a54b00rf9c78f980b7d484@mail.gmail.com> Message-ID: <004901c89ff8$69cd30e0$49070a0a@sentinel> Kyle, Thanks, but using this resource I wasn't able to get far. I'm sure that I'm making a small mistake. Here is how I have my setup so far: Nagios Monitoring Server: version 3.0.1 Commands.cfg: define command { command_name check_nrpe_arg command_line $USER1$/check_nrpe -p 5777 -H $HOSTADDRESS$ -t $ARG1$ c $ARG2$ -a $ARG3$ } Services.cfg: define service{ use master-service host rflx01app service_description Log Files check_command check_nrpe_arg!20!check_logfiles!etc/$SERVICEDESC$ } Host Being Monitored: Nrpe.cfg: command[check_logfiles]=/usr/local/nagios/libexec/check_logfiles -f etc/check_websphere check_websphere (located in "/usr/local/nagios/etc/" along with the nrpe.cfg) \$seekfilesdir = '/usr/local/nagios/var/tmp'; # where the state information will be saved. \$protocolsdir = '/usr/local/nagios/var/tmp'; # where protocols with found patterns will be stored. \$scriptpath = '/usr/local/nagios/var/tmp'; # where scripts will be searched for. \$MACROS = \{ CL_DISK01 => "/dev/dsk/c0d1", CL_DISK02 => "/dev/dsk/c0d2" \}; \@searches = ( { tag => 'websphere', logfile => '/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/rflxappserver1/SystemOu t.log', rotation => 'SystemOut', criticalpatterns => ['java.lang.OutOfMemoryError', 'hung.*'], options => 'noscript,protocol,nocount', }, ); At my first attempt Nagios displayed an unknown status, but with this latest config that I have above, Nagios now shows "Connection refused by host". Thanks again, -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: Wednesday, April 16, 2008 3:15 PM To: Victor Lanza Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_logfiles documentation http://www.consol.de/opensource/nagios/check-logfiles Theres an english flag in the top left. Near the bottom of the page there's a link with a load of examples. On 4/16/08, Victor Lanza wrote: > Hi, > > > > Does anyone have a detailed doc written for configuring check_logfiles. I'm > new to Nagios and Linux :-) and I've managed to install Nagios, NRPE, as > well as the check_logfiles plugin. I've set up a few hosts, commands, and > service checks with and without the use of NRPE and everything is working in > that aspect. I'm just stuck on getting the plugin jumpstarted and the > current documentation provided in the check_logs site is a bit overwhelming. > > > > I would greatly appreciate it. > > > > 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 marc at ena.com Wed Apr 16 21:32:16 2008 From: marc at ena.com (Marc Powell) Date: Wed, 16 Apr 2008 14:32:16 -0500 Subject: Hosts w/o services In-Reply-To: <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> References: <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Israel Brewster > Sent: Wednesday, April 16, 2008 2:20 PM > To: Ford, Andy > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Hosts w/o services > > On Apr 16, 2008, at 10:10 AM, Ford, Andy wrote: > So yeah, while this may not be the way nagios is designed to work, and > may never be (which I can live with if so), I really don't see this as > being all that unusual a situation, as some responses seem to imply. In such cases the typical action is to configure the ping as a service check and no, a single ping or check_dummy, as a host check, Whether you're using parenting or not determines which of those you choose. -- 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 israel at frontierflying.com Wed Apr 16 21:54:32 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 16 Apr 2008 11:54:32 -0800 Subject: Hosts w/o services In-Reply-To: <48065443.8000504@aps.anl.gov> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> <48065443.8000504@aps.anl.gov> Message-ID: <2DA115FA-4783-44CB-90A2-057C8CDBFAFB@frontierflying.com> On Apr 16, 2008, at 11:32 AM, David Wallis wrote: > I have the same situation with some devices. I just configure a > "ping" service for them, and then move on to more interesting > problems. When there's such a simple solution, it sometimes doesn't > pay to overthink the problem. Yeah, I'm seeing that. Just didn't think it would be such a big issue :-D I was actually expecting either a simple solution, or a simple "it can't be done". Unfortunately, being the stubborn type, I tend to beat these things into the ground :-P :-D ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > -- > David Wallis > Information Technology > Advanced Photon Source > Argonne National Laboratory > 630.252.7375 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 21:49:03 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 16 Apr 2008 11:49:03 -0800 Subject: Hosts w/o services In-Reply-To: <20080416192541.GS6458@cgi.jachomes.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> <20080416192541.GS6458@cgi.jachomes.com> Message-ID: <8A0EE4A1-F21A-4214-B383-C5DB60652874@frontierflying.com> On Apr 16, 2008, at 11:25 AM, Jay R. Ashworth wrote: > On Wed, Apr 16, 2008 at 11:20:29AM -0800, Israel Brewster wrote: >> To some extent, yes, but not necessarily a service we can monitor. > > There are cases that fit this description, but I'm not sure if the > examples you provide are. > >> For example, printers. > > Telnet to 9100 and look for a banner. Or the equivalent for non > JetDirect printers.. Ok, that one might be of some use, in the case where the printer is responding to pings (host up) but not accepting connections (service down). Thanks for the suggestion, I'll look into it. >> Even some more essential devices such as switches... > > And moving traffic; you might find it useful to ping-check other > things > on that switch. Or at least ssh-check the switch controller itself. Yep, we are - all the hosts connected to the switch. That's not a service check on the switch, though, that's host checks on devices connected to it. Trying to monitor something like this directly on the switch as a service check would just be redundant. Maybe save a few seconds, but if you see all the hosts on the far side of a switch go down, while the switch is still up, it should be fairly obvious that the switch is having problems :-D >> Not to mention the rather large category of client machines > > Sure. But for workstations, you're not monitoring diskspace? Open > TCP > listens (to watch for trojans) Well, we could, and for some places this sort of through monitoring is overkill. >> So yeah, while this may not be the way nagios is designed to work, >> and >> may never be (which I can live with if so), I really don't see this >> as >> being all that unusual a situation, as some responses seem to imply. > > Well, it's not that it's unusual, I think; I believe the assertion > being made is that only doing a ping is not the Best Practice. I guess I see your point, in that there is typically something on any device which could be monitorable as a service. One could also argue that if it could be an issue (such as disk space on a client machine, or Open TCP listens), it should be monitored. These are valid arguments. However, I would argue that cluttering up your nagios display with services that either a) are fringe cases which would be quickly noticed anyway, or b) which you really don't care about, not to mention the additional network, monitoring server, and client load this imposes, is not best practice. Best Practice, in my mind at least, is Keep It Simple. Just monitor what you need to in order to provide the best service to your clients you can. ----------------------------------------------- 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 jra at baylink.com > Designer +-Internetworking------+--------- > + RFC 2100 > Ashworth & Associates | Best Practices Wiki | > | '87 e24 > St Petersburg FL USA +-http://bestpractices.wikia.com-+ +1 > 727 647 1274 > > If you can read this... thank a system administrator. Or two. > --me > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 israel at frontierflying.com Wed Apr 16 21:51:55 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 16 Apr 2008 11:51:55 -0800 Subject: Hosts w/o services In-Reply-To: References: Message-ID: On Apr 16, 2008, at 11:32 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 Israel Brewster >> Sent: Wednesday, April 16, 2008 2:20 PM >> To: Ford, Andy >> Cc: Nagios Users Mailinglist >> Subject: Re: [Nagios-users] Hosts w/o services >> >> On Apr 16, 2008, at 10:10 AM, Ford, Andy wrote: > > >> So yeah, while this may not be the way nagios is designed to work, >> and >> may never be (which I can live with if so), I really don't see this >> as >> being all that unusual a situation, as some responses seem to imply. > > In such cases the typical action is to configure the ping as a service > check and no, a single ping or check_dummy, as a host check, Whether > you're using parenting or not determines which of those you choose. Thanks :-) Yeah, that's how I had it when I was running 2.x. It just seemed more intuitively obvious to go with host checks once 3.0 made that a reasonable option, since it was the host state, not a service state, that we were monitoring. That's ok though. I was just wondering if there was a better way. Apparently not :-) Thanks again everyone! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > -- > 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 marc at ena.com Wed Apr 16 22:04:15 2008 From: marc at ena.com (Marc Powell) Date: Wed, 16 Apr 2008 15:04:15 -0500 Subject: Hosts w/o services In-Reply-To: <8A0EE4A1-F21A-4214-B383-C5DB60652874@frontierflying.com> References: <8A0EE4A1-F21A-4214-B383-C5DB60652874@frontierflying.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Israel Brewster > Sent: Wednesday, April 16, 2008 2:49 PM > To: Jay R. Ashworth > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Hosts w/o services > > this imposes, is not best practice. Best Practice, in my mind at > least, is Keep It Simple. Just monitor what you need to in order to > provide the best service to your clients you can. I think that in almost all cases, this is going to be more than a simple ping. Take a simple case of a router. You might think that if it's pingable, it's up and working, if not it's down. However, if you're looking to provide the best service to your clients you're also going to be concerned with CPU utilization on that router, memory use, interface errors/status, etc... -- 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 andyford at agedwards.com Wed Apr 16 22:11:30 2008 From: andyford at agedwards.com (Ford, Andy) Date: Wed, 16 Apr 2008 15:11:30 -0500 Subject: Hosts w/o services In-Reply-To: <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F1E3@hqemhopn1.home.corp.agedwards.com> Well, if you dig, I think you will find that you can monitor much more than you think. In fact, to take one example you mentioned: printers. If I was in charge of monitoring the availability of the boss's printer, I would have Nagios run a test printout every morning that would either return a status or, if it's an old printer that's less intelligent, I'd have a piece of paper in the output tray that I'd pick up on my way to my desk! At that point, you know not only that it's turned on, but that the toner is good, it's not jammed, and a bunch of other stuff. Even in the worst case scenario of a dot matrix printer connected via serial line, you can whip up a plugin that sends a printout via a command line tool with "lpr" or some other old standby. Samba might come in hand there. This may not be applicable to your printer, but for instance: [forda at hqnagpl1 ~]$ /usr/lib/nagios/plugins/check_hpjd -h check_hpjd (nagios-plugins 1.4.8) 1.35 Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2006 Nagios Plugin Development Team This plugin tests the STATUS of an HP printer with a JetDirect card. Net-snmp must be installed on the computer running the plugin. > -----Original Message----- > From: Israel Brewster [mailto:israel at frontierflying.com] > Sent: Wednesday, April 16, 2008 2:20 PM > To: Ford, Andy > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Hosts w/o services > > On Apr 16, 2008, at 10:10 AM, Ford, Andy wrote: > > > > > > There must be some reason for each server or device to be on the > > network, it must provide some service, even if it's just a lowly(?) > > sshd. > > Do yourself and your organization a favor and monitor that reason! > > > > To some extent, yes, but not necessarily a service we can monitor. > There are quite a few devices on the network that it is important to > us to know should the device fail, but aren't offering any > separately > monitorable "service", per se. For example, printers. We need > to know > if one dies, so we can fix it before it becomes a problem (not to > mention that fixing the boss's printer before he even knows it has a > problem makes you look good ;-) ), but other than the simple > ping host > check, they don't offer any "services" we can monitor. 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SHersker at TNGUS.com Wed Apr 16 22:55:20 2008 From: SHersker at TNGUS.com (Hersker, Steve) Date: Wed, 16 Apr 2008 16:55:20 -0400 Subject: Anyone have any luck with the Nagios Email Reporter? In-Reply-To: References: Message-ID: I excitedly grabbed the Nagios Email Reporter plugin from NagiosExchange, but I'm not having any success. I've been able to hack my way through a few issues so now I'm at the point where it at least doesn't bomb on me. But, when I run the "host_down_report -t last7days" (or any other time period), all I get in response is: 24x7 And that's it. My Perl skills are weak at best, so I'm not sure where to go from here. Anyone else have any luck and wouldn't mind sharing? Thanks! Steve ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 17 00:10:15 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Wed, 16 Apr 2008 18:10:15 -0400 Subject: check_logfiles documentation In-Reply-To: <20080416195121.GW6458@cgi.jachomes.com> References: <2274b9c30804161214m62a54b00rf9c78f980b7d484@mail.gmail.com> <004901c89ff8$69cd30e0$49070a0a@sentinel> <20080416195121.GW6458@cgi.jachomes.com> Message-ID: <000601c8a00e$a6a69360$0302a8c0@sentinel> That was copy and paste and it was incorrect in my config file as well. Thanks for pointing it out. :) I used that port (as a newbie that I am) because I saw it in the examples provided online. I have no clue what this value should really be. You're right, the way I've configured NRPE is to used TCP wrappers, but I'm 100% sure this works as I send a simple check_disk command using NRPE and I get the proper response. Furthermore, I do have nrpe added to /etc/services and configured the nagios server to be allowed to communicate with the NRPE daemon which can be proven by the issuing commands like the one above. -----Original Message----- From: Jay R. Ashworth [mailto:jra at baylink.com] Sent: Wednesday, April 16, 2008 3:51 PM To: Victor Lanza Subject: Re: [Nagios-users] check_logfiles documentation On Wed, Apr 16, 2008 at 03:31:05PM -0400, Victor Lanza wrote: > define command { > command_name check_nrpe_arg > command_line $USER1$/check_nrpe -p 5777 -H $HOSTADDRESS$ -t $ARG1$ > c $ARG2$ -a $ARG3$ > } If that was copy and paste, note that what should be -c is missing te hyphen, and that your port nunmber is non-standard (I came in late; you might have done that on purpose). If you're sending arguments and the target nrpe was configured to reject them it will also bounce. But not the way you're seeing. I've heard that some builds of the nrpe daemon are configured to use TPC wrappers, and thus require a properly configured /etc/hosts.{allow,deny} (which also implies adding nrpe to /etc/services). Could one of those things be your problem? Cheers, -- jr '(just started yesterday. yes, I learn fast :-)' a -- 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 emanuel.massano at fccn.pt Thu Apr 17 02:08:32 2008 From: emanuel.massano at fccn.pt (Emanuel Massano) Date: Thu, 17 Apr 2008 01:08:32 +0100 Subject: Hosts w/o services In-Reply-To: <2DA115FA-4783-44CB-90A2-057C8CDBFAFB@frontierflying.com> References: <3B866DD1-D0C8-486B-81D4-A0C92D071CC9@frontierflying.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F1E2@hqemhopn1.home.corp.agedwards.com> <4D9BC943-7724-4A3C-AEB5-BE80C5F21D07@frontierflying.com> <48065443.8000504@aps.anl.gov> <2DA115FA-4783-44CB-90A2-057C8CDBFAFB@frontierflying.com> Message-ID: <48069500.4060806@fccn.pt> 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 sholikar at yahoo.com Thu Apr 17 13:40:38 2008 From: sholikar at yahoo.com (sachin holikar) Date: Thu, 17 Apr 2008 04:40:38 -0700 (PDT) Subject: NRPE uninstall? Message-ID: <961497.33008.qm@web53202.mail.re2.yahoo.com> Hi, We have a working Nagios Setup. Now we decided to use new nagios version i.e. 3.0 and a new system as well. Accordingly installed nagios 3.0 on it and NRPE 2.12v . All looks ok until I tried to do NRPE on our existing configured Hosts and it gave the error as , CHECK_NRPE: Error - Could not complete SSL handshake. Few docs suggests that it is becazue of the version difference between 2 NRPE installations. old one is NRPE 2.10 and new nrpe server is 2.12. Is it the real cauze of the above error? If so then I will uninstall NRPE 2.12 and reinstall with the 2.10 version. Could you someone suggest how to uninstall existing NRPE 2.12 version from the system ? Or should I just go with another installation? Thanx in advance. -Sac --------------------------------- 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 Sebastian.Ries at dtnet.de Thu Apr 17 13:45:52 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 17 Apr 2008 13:45:52 +0200 Subject: NRPE uninstall? In-Reply-To: <961497.33008.qm@web53202.mail.re2.yahoo.com> References: <961497.33008.qm@web53202.mail.re2.yahoo.com> Message-ID: <1208432752.29927.31.camel@bofh.dtnet.de> Hi > > We have a working Nagios Setup. Now we decided to use new nagios > version i.e. 3.0 and a new system as well. > > Accordingly installed nagios 3.0 on it and NRPE 2.12v . All looks ok > until I tried to do NRPE on our existing configured Hosts and it gave > the error as , > > CHECK_NRPE: Error - Could not complete SSL handshake. Take a look at the log on the remote machine nrpe is running on. Mostly this error occurs when the nrpe daemon does not allow connections from the nagios server. Have a look at "allowed_hosts" in your nrpe config. Does this contain the IP-Adress of the old nagios server? 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 vicjalan at gmail.com Thu Apr 17 13:53:40 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 17 Apr 2008 07:53:40 -0400 Subject: NRPE uninstall? In-Reply-To: <961497.33008.qm@web53202.mail.re2.yahoo.com> References: <961497.33008.qm@web53202.mail.re2.yahoo.com> Message-ID: <001001c8a081$ae1b4ff0$49070a0a@sentinel> -- Few docs suggests that it is becazue of the version difference between 2 NRPE installations This is true but in the case where the plugin is one version and the daemon is a different version. Did you update both the plugin on the nagios server and also the daemon on the host server? If not, you will get errors like the one above. Best, _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of sachin holikar Sent: Thursday, April 17, 2008 7:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE uninstall? Hi, We have a working Nagios Setup. Now we decided to use new nagios version i.e. 3.0 and a new system as well. Accordingly installed nagios 3.0 on it and NRPE 2.12v . All looks ok until I tried to do NRPE on our existing configured Hosts and it gave the error as , CHECK_NRPE: Error - Could not complete SSL handshake. Few docs suggests that it is becazue of the version difference between 2 NRPE installations. old one is NRPE 2.10 and new nrpe server is 2.12. Is it the real cauze of the above error? If so then I will uninstall NRPE 2.12 and reinstall with the 2.10 version. Could you someone suggest how to uninstall existing NRPE 2.12 version from the system ? Or should I just go with another installation? Thanx in advance. -Sac _____ 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 sholikar at yahoo.com Thu Apr 17 13:54:10 2008 From: sholikar at yahoo.com (sachin holikar) Date: Thu, 17 Apr 2008 04:54:10 -0700 (PDT) Subject: NRPE uninstall? In-Reply-To: <1208432752.29927.31.camel@bofh.dtnet.de> References: <1208432752.29927.31.camel@bofh.dtnet.de> Message-ID: <398628.71256.qm@web53212.mail.re2.yahoo.com> You rock Sebastian !! This was exactly the case. For now have kept the original entry and just added the new one as well. And it gave me the required o/p. Just dont know why Nagios Support site says this then ? Description: When attempting to use the check_nrpe plugin, the following error message is printed: CHECK_NRPE: Error - Could not complete SSL handshake Solution: This error message could be due to several problems: Different versions. Make sure you are using the same version of the check_nrpe plugin and the NRPE daemon. Newer versions of NRPE are usually not backward compatible with older versions. Any idea ? Am I going to face any issues later on ? If so then I can easily go ahead with older version of NRPE installation. Thanx Sebastian Ries wrote: Hi > > We have a working Nagios Setup. Now we decided to use new nagios > version i.e. 3.0 and a new system as well. > > Accordingly installed nagios 3.0 on it and NRPE 2.12v . All looks ok > until I tried to do NRPE on our existing configured Hosts and it gave > the error as , > > CHECK_NRPE: Error - Could not complete SSL handshake. Take a look at the log on the remote machine nrpe is running on. Mostly this error occurs when the nrpe daemon does not allow connections from the nagios server. Have a look at "allowed_hosts" in your nrpe config. Does this contain the IP-Adress of the old nagios server? 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 --------------------------------- 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 rupertt at gmail.com Thu Apr 17 14:16:40 2008 From: rupertt at gmail.com (Heiko) Date: Thu, 17 Apr 2008 14:16:40 +0200 Subject: sending service/host notification status to failover server In-Reply-To: <537dcd6b0804152351k696b49b0v5f5b8d2d0f58eb7f@mail.gmail.com> References: <537dcd6b0804152351k696b49b0v5f5b8d2d0f58eb7f@mail.gmail.com> Message-ID: <537dcd6b0804170516n4e93edf6q14ab42db4f349d84@mail.gmail.com> On Wed, Apr 16, 2008 at 8:51 AM, Heiko wrote: > Hello, > > i have 2 nagios servers, where one acts as an failover(with disabled > checks/notification.). > I use send_nsca to send the current servcie/host status to the > failover server, since we have some notifications disabled on main > server, > how can i transfer these settings to the failover server? > > cheers > > > Heiko > no one? I found the external commands for this, but integration into the send_nsca script isnt clear for me. thx ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdaniels at county.simcoe.on.ca Thu Apr 17 14:33:53 2008 From: mdaniels at county.simcoe.on.ca (Daniels, Mike) Date: Thu, 17 Apr 2008 08:33:53 -0400 Subject: Recurring Notification Problem Message-ID: <9A4B24B9A8668B4EBCDA283505751121B2DD95@glenwood.county.simcoe.on.ca> Hi all, I was wondering if anyone has experienced problems with recurring critical/warning notifications with Nagios 3.0.1? I've just implemented a new server and added a few test hosts to it. Despite our configuration files specifying a notification interval of 0, we are receiving notifications approximately every five minutes. Coincidentally, this is the same length of time between service checks. The problem occurs only with our service checks, hosts that are down only notify once as they are configured to. The configuration file was created on our Nagios 2.x production box through NagiosQL 2.0 and copied to our test 3.0.1 box. There were no errors or warnings reported when checking the configuration before starting Nagios. Nagios is running on CentOS 5, with NDOUtils 1.4b7. Here is the service definition: define service { host_name CountyServer-Ardmore,CountyServer-Balm,CountyServer-Bayview,CountyServer -TestServer,CountyServerDMZ-Springhurst,CountyServerDMZ-VTH-Web,CountySe rverDMZ-Web-Dev service_description Terminal Services is_volatile 1 check_command check_tcp!3389 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 0 check_freshness 1 event_handler notify-service-by-email event_handler_enabled 1 flap_detection_enabled 0 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups NetworkCommunications notification_interval 0 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 register 1 } I've checked and double checked the configuration file and I cannot find an error. I have also tried setting the notification interval to a high number, 56000 just for testing, and it has made no difference to the notifications. They still come in every five minutes. Thanks, Mike Daniels Network Systems Analyst Corporation of the County of Simcoe 1110 Highway 26 Midhurst, ON Email: mike.daniels at simcoe.ca -------------- 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 Apr 17 15:58:02 2008 From: marc at ena.com (Marc Powell) Date: Thu, 17 Apr 2008 08:58:02 -0500 Subject: sending service/host notification status tofailover server In-Reply-To: <537dcd6b0804170516n4e93edf6q14ab42db4f349d84@mail.gmail.com> References: <537dcd6b0804170516n4e93edf6q14ab42db4f349d84@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 Heiko > Sent: Thursday, April 17, 2008 7:17 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] sending service/host notification status > tofailover server > > On Wed, Apr 16, 2008 at 8:51 AM, Heiko wrote: > > failover server, since we have some notifications disabled on main > > server, > > how can i transfer these settings to the failover server? > I found the external commands for this, but integration into the > send_nsca script isnt clear for me. Because you can't use send_nsca for that; it can only send check_results. There's also no trigger like an event_handler that happens when notifications are disabled or enabled either. The only way I can think to do that is to periodically poll the status file to see what's been enabled/disabled since last check and 'ssh failover echo [external_command]...' appropriately. Not very elegant though. -- 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 Apr 17 16:08:09 2008 From: marc at ena.com (Marc Powell) Date: Thu, 17 Apr 2008 09:08:09 -0500 Subject: Recurring Notification Problem In-Reply-To: <9A4B24B9A8668B4EBCDA283505751121B2DD95@glenwood.county.simcoe.on.ca> References: <9A4B24B9A8668B4EBCDA283505751121B2DD95@glenwood.county.simcoe.on.ca> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Daniels, Mike > Sent: Thursday, April 17, 2008 7:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Recurring Notification Problem > > Hi all, > > I was wondering if anyone has experienced problems with recurring > critical/warning notifications with Nagios 3.0.1? I've just implemented a new > Here is the service definition: > > define service { > host_name CountyServer-Ardmore,CountyServer- > Balm,CountyServer-Bayview,CountyServer-TestServer,CountyServerDMZ- > Springhurst,CountyServerDMZ-VTH-Web,CountyServerDMZ-Web-Dev > service_description Terminal Services > is_volatile 1 RTFM. -- 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 Sebastian.Ries at dtnet.de Thu Apr 17 17:00:13 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 17 Apr 2008 17:00:13 +0200 Subject: NRPE uninstall? In-Reply-To: <398628.71256.qm@web53212.mail.re2.yahoo.com> References: <398628.71256.qm@web53212.mail.re2.yahoo.com> Message-ID: <1208444413.3600.2.camel@bofh.dtnet.de> Hi > > Description: > When attempting to use the > check_nrpe plugin, the following > error message is printed: > CHECK_NRPE: Error - Could not > complete SSL handshake > > > > Solution: > This error message could be due to > several problems: > 1. Different versions. Make > sure you are using the same > version of the check_nrpe > plugin and the NRPE daemon. > Newer versions of NRPE are > usually not backward > compatible with older > versions. > Any idea ? Am I going to face any issues later on ? If so then I can > easily go ahead with older version of NRPE installation. > I do not have further information or knowledge about that... All I know is that I get this error message whenever I set up a new nrpe daemon and forget to set allowed_hosts to the IP of our nagios server ;-) But post this to the documentation guys. I think adding it as a second solution might help some other people. Regards Sebastian -- ------------------------------------------------------------ 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 vicjalan at gmail.com Thu Apr 17 17:33:52 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 17 Apr 2008 11:33:52 -0400 Subject: check_logfiles documentation In-Reply-To: <20080416195121.GW6458@cgi.jachomes.com> References: <2274b9c30804161214m62a54b00rf9c78f980b7d484@mail.gmail.com> <004901c89ff8$69cd30e0$49070a0a@sentinel> <20080416195121.GW6458@cgi.jachomes.com> Message-ID: <003301c8a0a0$70ed98d0$49070a0a@sentinel> Ok...Before I tackle the issue with Nagios not getting any feedback from check_logfiles I decided to test the plugin locally on the host machine. However I'm not getting the results I should am expecting. I execute this at the command line: Check_logfiles --tag=websphere --logfile=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/rflxappserver1 /SystemOut.log --criticalpattern="java.lang.Exception: DBPool returned NULL connection." My results are: OK - no errors or warning|websphere_lines=0 websphere_warnings=0 websphere_criticals=0 websphere_unknowns=0 However when I check the SystemOut.log, I see the line that contains that error. Am I missing something? -----Original Message----- From: Jay R. Ashworth [mailto:jra at baylink.com] Sent: Wednesday, April 16, 2008 3:51 PM To: Victor Lanza Subject: Re: [Nagios-users] check_logfiles documentation On Wed, Apr 16, 2008 at 03:31:05PM -0400, Victor Lanza wrote: > define command { > command_name check_nrpe_arg > command_line $USER1$/check_nrpe -p 5777 -H $HOSTADDRESS$ -t $ARG1$ > c $ARG2$ -a $ARG3$ > } If that was copy and paste, note that what should be -c is missing te hyphen, and that your port nunmber is non-standard (I came in late; you might have done that on purpose). If you're sending arguments and the target nrpe was configured to reject them it will also bounce. But not the way you're seeing. I've heard that some builds of the nrpe daemon are configured to use TPC wrappers, and thus require a properly configured /etc/hosts.{allow,deny} (which also implies adding nrpe to /etc/services). Could one of those things be your problem? Cheers, -- jr '(just started yesterday. yes, I learn fast :-)' a -- 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 Thu Apr 17 18:33:29 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 17 Apr 2008 12:33:29 -0400 Subject: check_logfiles documentation In-Reply-To: <003301c8a0a0$70ed98d0$49070a0a@sentinel> References: <2274b9c30804161214m62a54b00rf9c78f980b7d484@mail.gmail.com> <004901c89ff8$69cd30e0$49070a0a@sentinel> <20080416195121.GW6458@cgi.jachomes.com> <003301c8a0a0$70ed98d0$49070a0a@sentinel> Message-ID: <20080417163329.GD10538@cgi.jachomes.com> On Thu, Apr 17, 2008 at 11:33:52AM -0400, Victor Lanza wrote: > Ok...Before I tackle the issue with Nagios not getting any feedback from > check_logfiles I decided to test the plugin locally on the host machine. > However I'm not getting the results I should am expecting. > > I execute this at the command line: > > Check_logfiles --tag=websphere > --logfile=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/rflxappserver1 > /SystemOut.log --criticalpattern="java.lang.Exception: DBPool returned NULL > connection." > > My results are: > > OK - no errors or warning|websphere_lines=0 websphere_warnings=0 > websphere_criticals=0 websphere_unknowns=0 > > However when I check the SystemOut.log, I see the line that contains that > error. Am I missing something? You're running this on the monitored machine, not on the console machine, correct? If so, then there's some problem with check_logfiles. Do remember, though, that that comparison is likely to be case sensitive, and will certainly be sensitive to spacing and pucnctuation. This is also true of the logfilename itself, come to think of it. It *looks* as if you copied the error message into the command line, so that shouldn't be it, but I thought I'd mention it. Try changing one character in that logfilename to make sure you get the expected 'I can't find that logfile' error from check_logfiles... and if not, carefully double check that filename argument (and hang a bug against check_logfiles; 'I can't find that log file' probably ought to be an error condition; at least as a different status return (WARNING - logfile not found). 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 Gerhard.Lausser at consol.de Thu Apr 17 19:34:05 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Thu, 17 Apr 2008 19:34:05 +0200 Subject: check_logfiles documentation In-Reply-To: <20080417163329.GD10538@cgi.jachomes.com> References: <20080417163329.GD10538@cgi.jachomes.com> Message-ID: <200804171734.m3HHY9X8010219@sol1.bb.consol.de> Hi guys, i just explained it to Victor in private mail, but this seems to be a FAQ. > > OK - no errors or warning|websphere_lines=0 websphere_warnings=0 ^^ ^^ .._lines=0 means that _no_ lines were scanned for patterns at all. Why? First, because check_logfiles only examines lines which were appended to the logfile since the last run. And second, if you run check_logfiles for the very first time, it does not start searching from the beginning of the file. It only initializes itself by positioning at the end-of-file. This was necessary to avoid alerts caused by very old error messages in the logfile. > check_logfiles... and if not, carefully double check that > filename argument (and hang a bug against check_logfiles; 'I > can't find that log file' probably ought to be an error > condition; at least as a different status return (WARNING - > logfile not found). This message already exists: $ check_logfiles --logfile=/var/log/schmarrn.log --criticalpattern=kaas UNKNOWN - (1 unknown in check_logfiles.protocol-2008-04-17-19-32-10) - could not find logfile /var/log/schmarrn.log |default_lines=0 default_warnings=0 default_criticals=0 default_unknowns=1 (There is the option "nologfilenocry" which can be set in a configurationfile. With this option, a missing logfile is silently tolerated). 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 vicjalan at gmail.com Thu Apr 17 19:40:37 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 17 Apr 2008 13:40:37 -0400 Subject: check_logfiles documentation In-Reply-To: <200804171734.m3HHY9X8010219@sol1.bb.consol.de> References: <20080417163329.GD10538@cgi.jachomes.com> <200804171734.m3HHY9X8010219@sol1.bb.consol.de> Message-ID: <004701c8a0b2$26377290$49070a0a@sentinel> Thanks all!!...I literally was loosing it...I started arguing with my monitor..hehe.. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gerhard Lausser Sent: Thursday, April 17, 2008 1:34 PM To: 'Jay R. Ashworth'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_logfiles documentation Hi guys, i just explained it to Victor in private mail, but this seems to be a FAQ. > > OK - no errors or warning|websphere_lines=0 websphere_warnings=0 ^^ ^^ .._lines=0 means that _no_ lines were scanned for patterns at all. Why? First, because check_logfiles only examines lines which were appended to the logfile since the last run. And second, if you run check_logfiles for the very first time, it does not start searching from the beginning of the file. It only initializes itself by positioning at the end-of-file. This was necessary to avoid alerts caused by very old error messages in the logfile. > check_logfiles... and if not, carefully double check that > filename argument (and hang a bug against check_logfiles; 'I > can't find that log file' probably ought to be an error > condition; at least as a different status return (WARNING - > logfile not found). This message already exists: $ check_logfiles --logfile=/var/log/schmarrn.log --criticalpattern=kaas UNKNOWN - (1 unknown in check_logfiles.protocol-2008-04-17-19-32-10) - could not find logfile /var/log/schmarrn.log |default_lines=0 default_warnings=0 default_criticals=0 default_unknowns=1 (There is the option "nologfilenocry" which can be set in a configurationfile. With this option, a missing logfile is silently tolerated). 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/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 Thu Apr 17 20:11:07 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 17 Apr 2008 14:11:07 -0400 Subject: NRPE uninstall? In-Reply-To: <1208432752.29927.31.camel@bofh.dtnet.de> References: <961497.33008.qm@web53202.mail.re2.yahoo.com> <1208432752.29927.31.camel@bofh.dtnet.de> Message-ID: <20080417181107.GE10538@cgi.jachomes.com> On Thu, Apr 17, 2008 at 01:45:52PM +0200, Sebastian Ries wrote: > Take a look at the log on the remote machine nrpe is running on. > Mostly this error occurs when the nrpe daemon does not allow connections > from the nagios server. > Have a look at "allowed_hosts" in your nrpe config. > Does this contain the IP-Adress of the old nagios server? And note that you cannot *comment the end of that line*. 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 Thu Apr 17 20:12:03 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 17 Apr 2008 14:12:03 -0400 Subject: NRPE uninstall? In-Reply-To: <398628.71256.qm@web53212.mail.re2.yahoo.com> References: <1208432752.29927.31.camel@bofh.dtnet.de> <398628.71256.qm@web53212.mail.re2.yahoo.com> Message-ID: <20080417181203.GF10538@cgi.jachomes.com> On Thu, Apr 17, 2008 at 04:54:10AM -0700, sachin holikar wrote: > You rock Sebastian !! This was exactly the case. For now have kept the > original entry and just added the new one as well. And it gave me the > required o/p. > > Just dont know why Nagios Support site says this then ? What *I* don't know is why the code can't give a better error. The target machine's nrpe log will though usually tell you you couldn't connect. 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 Thu Apr 17 20:20:48 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 17 Apr 2008 14:20:48 -0400 Subject: Recurring Notification Problem In-Reply-To: References: <9A4B24B9A8668B4EBCDA283505751121B2DD95@glenwood.county.simcoe.on.ca> Message-ID: <20080417182048.GG10538@cgi.jachomes.com> On Thu, Apr 17, 2008 at 09:08:09AM -0500, Marc Powell wrote: > > I was wondering if anyone has experienced problems with recurring > > critical/warning notifications with Nagios 3.0.1? I've just > implemented a new > > > > Here is the service definition: > > > > define service { > > host_name > CountyServer-Ardmore,CountyServer- > > Balm,CountyServer-Bayview,CountyServer-TestServer,CountyServerDMZ- > > Springhurst,CountyServerDMZ-VTH-Web,CountyServerDMZ-Web-Dev > > service_description Terminal Services > > is_volatile 1 > > RTFM. Oh, goodie. I was so hoping I'd find we had someone like *you* on the user support mailing list, Marc. Cheers, -- jr '' a -- 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 Thu Apr 17 20:22:17 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 17 Apr 2008 14:22:17 -0400 Subject: check_logfiles documentation In-Reply-To: <200804171734.m3HHY9X8010219@sol1.bb.consol.de> References: <20080417163329.GD10538@cgi.jachomes.com> <200804171734.m3HHY9X8010219@sol1.bb.consol.de> Message-ID: <20080417182217.GH10538@cgi.jachomes.com> On Thu, Apr 17, 2008 at 07:34:05PM +0200, Gerhard Lausser wrote: > (There is the option "nologfilenocry" which can be set in a > configurationfile. With this option, a missing logfile is silently > tolerated). It's your plugin, then? That's a *classic* switch name. 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 vicjalan at gmail.com Thu Apr 17 21:20:20 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 17 Apr 2008 15:20:20 -0400 Subject: check_logfiles documentation In-Reply-To: <20080417182217.GH10538@cgi.jachomes.com> References: <20080417163329.GD10538@cgi.jachomes.com><200804171734.m3HHY9X8010219@sol1.bb.consol.de> <20080417182217.GH10538@cgi.jachomes.com> Message-ID: <004801c8a0c0$14127ca0$49070a0a@sentinel> Ok, so thanks to that small detail I was able to test the check_logfiles and everything works like a charm, I get the seekfile as well as the protocol file with results. Now when I set up the commands again in Nagios and the service checks I get the following in the interface: (No output returned from plugin) The command is set up this way: define command{ command_name check_nrpe_log command_line $USER1$/check_nrpe -p 5666 -H $HOSTADDRESS$ -c $ARG1$ } The service is set up this way: define service{ use master-service host rflx01app service_description Websphere Logs check_command check_nrpe_log!check_logfiles } Now I try running the command via the command line from the Nagios server (not the server being monitored) with the following: check_nrpe -H 192.168.1.90 -p 5666 -c check_logfiles This should be the equivalent of the command being issued by Nagios based on the setup above. The results are: CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 00000037 SystemOut 0 java.lang.Exception: DBPool returned NULL connection. ...|websphere_lines=598 websphere_warnings=1 websphere_criticals=17 websphere_unknowns=0 Why can't Nagios receive or interpret these results? Do I need a separate plugin for that? I haven't read much on NSCA but is that what I need? (I had to learn that from scratch :( if that's the case) Thanks all, -----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: Thursday, April 17, 2008 2:22 PM To: Gerhard Lausser Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_logfiles documentation On Thu, Apr 17, 2008 at 07:34:05PM +0200, Gerhard Lausser wrote: > (There is the option "nologfilenocry" which can be set in a > configurationfile. With this option, a missing logfile is silently > tolerated). It's your plugin, then? That's a *classic* switch name. 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/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 Thu Apr 17 21:51:18 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 17 Apr 2008 15:51:18 -0400 Subject: check_logfiles documentation In-Reply-To: <004801c8a0c0$14127ca0$49070a0a@sentinel> References: <20080417182217.GH10538@cgi.jachomes.com> <004801c8a0c0$14127ca0$49070a0a@sentinel> Message-ID: <20080417195118.GK10538@cgi.jachomes.com> On Thu, Apr 17, 2008 at 03:20:20PM -0400, Victor Lanza wrote: > Ok, so thanks to that small detail I was able to test the check_logfiles and > everything works like a charm, I get the seekfile as well as the protocol > file with results. > > Now when I set up the commands again in Nagios and the service checks I get > the following in the interface: > > (No output returned from plugin) > > The command is set up this way: > > define command{ > command_name check_nrpe_log I suspect you don't want to do it that way. > command_line $USER1$/check_nrpe -p 5666 -H $HOSTADDRESS$ -c > $ARG1$ > } > > The service is set up this way: > > define service{ > use master-service > host rflx01app > service_description Websphere Logs > check_command check_nrpe_log!check_logfiles > } > > Now I try running the command via the command line from the Nagios server > (not the server being monitored) with the following: > > > check_nrpe -H 192.168.1.90 -p 5666 -c check_logfiles > > This should be the equivalent of the command being issued by Nagios based on > the setup above. The results are: > > CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 00000037 > SystemOut 0 java.lang.Exception: DBPool returned NULL > connection. ...|websphere_lines=598 websphere_warnings=1 > websphere_criticals=17 websphere_unknowns=0 > > Why can't Nagios receive or interpret these results? Do I need a separate > plugin for that? I haven't read much on NSCA but is that what I need? (I had > to learn that from scratch :( if that's the case) No, if you can get to that point from the command line on the monitoring machine, then you should be ok into Nagios, I would expect. I see that the first hyphen on the response line is *not* followed by a space, as I've come to expect... but I'll defer to Gerhard and others on the formatting of the plugin return string; that's magic deeper than mine at the moment. 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 hvdkooij at vanderkooij.org Thu Apr 17 22:18:24 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 Apr 2008 22:18:24 +0200 Subject: Recurring Notification Problem In-Reply-To: <9A4B24B9A8668B4EBCDA283505751121B2DD95@glenwood.county.simcoe.on.ca> References: <9A4B24B9A8668B4EBCDA283505751121B2DD95@glenwood.county.simcoe.on.ca> Message-ID: <4807B090.3080506@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniels, Mike wrote: | define service { | host_name | CountyServer-Ardmore,CountyServer-Balm,CountyServer-Bayview,CountyServer-TestServer,CountyServerDMZ-Springhurst,CountyServerDMZ-VTH-Web,CountyServerDMZ-Web-Dev | service_description Terminal Services | is_volatile 1 This means you want to know it is there is the slightest change in the output during a warning or critical phase. So once every service check makes perfect sense. It is what you explicitly asked for in your configuration. Please consult the fine manual to understand what volatile means. 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) iD8DBQFIB7CPBvzDRVjxmYERAoNaAKCBci26eLiTmIJmPkVDi/FBBnn2bACfdg9d IujptYfTozHAw69YUFmXrJQ= =j9mn -----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 jra at baylink.com Thu Apr 17 23:06:08 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 17 Apr 2008 17:06:08 -0400 Subject: check_users: list the users? Message-ID: <20080417210608.GM10538@cgi.jachomes.com> I've just installed Nagios 3 and begun to configure it for my network (25ish servers, all but 2 running Linux, 250ish workstations, all but about 25 running Ubuntu), and after slogging through "SSL error" on check_nrpe -- which means about 3 different things having nothing to do with SSL -- and the ever popular "audio embeds *aren't* application/wav; they're audio/x-wav, just ask my mime.types file" problems, I'm now up to the possibly uncommon way I want to use check_users... I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users -- I'm putting this on servers that, typically, have no humans logged in at all. Since that's true, I'd like to have the list of users from who -q returned as part of the status message. a) Is this a not uncommon usage, and when I patch the program, should I therefore post and or submit a patch to do this? b) How long can that status message become without breaking 1) nagios and 2) nrpe? Anyone have opinions, answers, or pointers? 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 jastrolo at gmail.com Thu Apr 17 23:21:55 2008 From: jastrolo at gmail.com (Joe Astrologo) Date: Thu, 17 Apr 2008 17:21:55 -0400 Subject: linux memory usage graph using nagiosgraph Message-ID: <879d1e490804171421h645bc5nca1b1aee090d9cde@mail.gmail.com> I am able to graph CPU statistics but not memory stats for my linux clients. I use NRPE to monitor memory on my linux clients. nagios graph map config is below: # Service Type Linux Memory Check # output:Memory Check: total:1106.54 Mb - used: 304.37 Mb (28%) - free: 802.16 Mb (72%) /output:Memory Check: total:([-.0-9]+) Mb - used: ([-.0-9]+) Mb \((\d+)%\) - free: ([-.0-9]+) Mb \((\d+)%\)/ and push @s, [ memory, [ bytesmax, GAUGE, $1*1024**2 ], [ bytesused, GAUGE, $2*1024**2 ], [ pctused, GAUGE, $3 ], [ bytesfree, GAUGE, $4*1024**2 ], [ pctfree, GAUGE, $5 ] ]; -------------- 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 gevery at gmail.com Thu Apr 17 23:37:54 2008 From: gevery at gmail.com (Gary Every) Date: Thu, 17 Apr 2008 14:37:54 -0700 Subject: check_users: list the users? In-Reply-To: <20080417210608.GM10538@cgi.jachomes.com> References: <20080417210608.GM10538@cgi.jachomes.com> Message-ID: Could write a script that runs on the local machine(s) when called from nagios via snmp This will require that all snmp's are set up alike on all the local machines, and a line formatted similarly below be added to each /etc/snmp/snmpd.conf file: exec check_users /usr/local/bin/check_users.sh #!/bin/bash ## Title: check_users.sh ## This will check the users logged in and report a crit if there are too many WHO=/usr/bin/who WC=/usr/bin/wc WARN=1 CRIT=3 users=`$WHO` output=`$WHO | $WC -l` if [ "$output" = "1" ] || [ "$output" = "2" ] then RETVAL=1 elif [ "$output" -gt "2" ] then RETVAL=2 fi if [ "$users" = "" ] then users="No users logged in" fi ## Let's output it: echo $users exit $RETVAL Restart your snmpd Now, from the nagios box cli: /usr/lib/nagios/plugins/check_snmp -H YOUR_HOST_TO_CHECK -C YOUR_SNMP_COMMUNITY_STRING -o enterprises.ucdavis.extTable.extEntry.extResult.NUMBER,enterprises.ucdavis.extTable.extEntry.extOutput.NUMBER -w 0 -c 1 where: NUMBER above is actually the exec command you want to execute in the snmpd.conf file. You can have many "exec" lines, and they are accessed via this number. For example: \ exec check_users /usr/local/bin/check_users.sh exec check_procs /usr/local/bin/check_procs.sh If those are the only two, then you access check_users.sh by replacing NUMBER with 1 or check_procs.sh by replacing it with 2, and so on . . . . HTH! G.~ On Thu, Apr 17, 2008 at 2:06 PM, Jay R. Ashworth wrote: > I've just installed Nagios 3 and begun to configure it for my network > (25ish servers, all but 2 running Linux, 250ish workstations, all but > about 25 running Ubuntu), and after slogging through "SSL error" on > check_nrpe -- which means about 3 different things having nothing to do > with SSL -- and the ever popular "audio embeds *aren't* > application/wav; they're audio/x-wav, just ask my mime.types file" > problems, I'm now up to the possibly uncommon way I want to use > check_users... > > I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users -- > I'm putting this on servers that, typically, have no humans logged in > at all. > > Since that's true, I'd like to have the list of users from who -q > returned as part of the status message. > > a) Is this a not uncommon usage, and when I patch the program, should I > therefore post and or submit a patch to do this? > > b) How long can that status message become without breaking 1) nagios > and 2) nrpe? > > Anyone have opinions, answers, or pointers? > > 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 > -- Gary Every "Pay it Forward!" -------------- 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 Matthias.Flacke at gmx.de Fri Apr 18 00:00:43 2008 From: Matthias.Flacke at gmx.de (Matthias Flacke) Date: Fri, 18 Apr 2008 00:00:43 +0200 Subject: check_users: list the users? In-Reply-To: <20080417210608.GM10538@cgi.jachomes.com> References: <20080417210608.GM10538@cgi.jachomes.com> Message-ID: <4807C88B.40207@gmx.de> Jay R. Ashworth wrote: > I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users -- > I'm putting this on servers that, typically, have no humans logged in > at all. > > Since that's true, I'd like to have the list of users from who -q > returned as part of the status message. > > a) Is this a not uncommon usage, and when I patch the program, should I > therefore post and or submit a patch to do this? > > b) How long can that status message become without breaking 1) nagios > and 2) nrpe? > > Anyone have opinions, answers, or pointers? ...as a check_multi snippet (uses Nagios3 multiline feature): $ cat users.cmd command [ count ] = check_users -w 1 -c 3 command [ who_q ] = who -q | head -1 $ ./check_multi -n users -f users.cmd -r 1 users CRITICAL - 2 plugins checked, 1 critical (users), 1 ok [ 1] users USERS CRITICAL - 3 users currently logged in [ 2] who_q mflacke mflacke mflacke Greetz, Matthias Flacke -- http://my-plugin.de/check_multi ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at turnstep.com Fri Apr 18 03:13:15 2008 From: greg at turnstep.com (Greg Sabino Mullane) Date: Fri, 18 Apr 2008 01:13:15 -0000 Subject: checkcommands.conf templates for check_postgres.pl In-Reply-To: <1207583637.12507.53.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1207583637.12507.53.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <2ca4151eb08b9131fbe441ce78143a3c@biglumber.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > It probably wouldn't be a bad idea to include some checkcommands.conf > templates and example service or hostgroup examples. See below. Thank you, just committed and pushed. Will be in version 1.5.1, or in 1.6.0 if we get there first. You can grab the latest version with these changes via git; suggestions are always welcome: git-clone http://bucardo.org/check_postgres.git/ - -- Greg Sabino Mullane greg at turnstep.com PGP Key: 0x14964AC8 200804172108 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkgH9YgACgkQvJuQZxSWSsgUkgCfbJLVrhRxt/bD4PiLek8MN0MR hWwAniP3QCG1CFrIfWhz+qx/mWpoTwLq =qyRD -----END PGP SIGNATURE----- -- Sent via pgsql-admin mailing list (pgsql-admin at postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin From Jlvazquez825 at bellsouth.net Fri Apr 18 07:43:15 2008 From: Jlvazquez825 at bellsouth.net (Jorge L. Vazquez) Date: Fri, 18 Apr 2008 01:43:15 -0400 Subject: problem with service details... Message-ID: <003201c8a117$199cdf10$42eefea9@laptopxp> I've just installed nagios, and the client on a host windows machine, but the nagios console in the service detail pane is showing status unknown, and under status details I get "Server port must be an integer".. Is there an specific port that nagios is supposed to run on the server?.. it seems like a connection problem, well the problem is that the server is not reading or monitoring any of the services on the client machine. Any help appreciated Thanks http://www.pcteckonline.org -------------- 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 mikronixx at gmail.com Fri Apr 18 08:46:29 2008 From: mikronixx at gmail.com (Mike) Date: Thu, 17 Apr 2008 23:46:29 -0700 Subject: command line Acknowledgments Message-ID: <480843C5.4050508@gmail.com> To All; Is there a way to either acknowledge an alert or turn off checks/notifications for a host from the command line? This would be useful for when you don't have your laptop with you, but you want to acknowledge a page from nagios through a cellphone with an ssh client. 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 Sebastian.Ries at dtnet.de Fri Apr 18 08:55:41 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 18 Apr 2008 08:55:41 +0200 Subject: NRPE uninstall? In-Reply-To: <20080417181107.GE10538@cgi.jachomes.com> References: <961497.33008.qm@web53202.mail.re2.yahoo.com> <1208432752.29927.31.camel@bofh.dtnet.de> <20080417181107.GE10538@cgi.jachomes.com> Message-ID: <1208501741.3600.6.camel@bofh.dtnet.de> Hi > And note that you cannot *comment the end of that line*. What exactly do you mean? Do you want to say that if I add allowed_hosts=ip.of.nagios.server # to my nrpe.conf this line is not parsed an treated as if the whole line was a comment? This is the case in postfix configuration (and it is documented there...) Regards Sebastian -- ------------------------------------------------------------ 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 oliver.hookins at anchor.com.au Fri Apr 18 08:57:16 2008 From: oliver.hookins at anchor.com.au (Oliver Hookins) Date: Fri, 18 Apr 2008 16:57:16 +1000 Subject: command line Acknowledgments In-Reply-To: <480843C5.4050508@gmail.com> References: <480843C5.4050508@gmail.com> Message-ID: <20080418065716.GC10358@captain.bridge.anchor.net.au> On Thu Apr 17, 2008 at 23:46:29 -0700, Mike wrote: >To All; > >Is there a way to either acknowledge an alert or turn off >checks/notifications for a host from the command line? This would be >useful for when you don't have your laptop with you, but you want to >acknowledge a page from nagios through a cellphone with an ssh client. You can acknowledge an alert using commands submitted to the external command file: http://www.nagios.org/developerinfo/externalcommands/commandlist.php How you interface this with devices like cell phones is up to you. You could use an SMS provider to allow you to send an SMS back to the Nagios server and acknowledge a notification without even having to log in, potentially. -- Regards, Oliver Hookins Anchor Systems ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 18 10:22:55 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 18 Apr 2008 09:22:55 +0100 Subject: check_users: list the users? In-Reply-To: <20080417210608.GM10538@cgi.jachomes.com> References: <20080417210608.GM10538@cgi.jachomes.com> Message-ID: <48085A5F.8030506@googlemail.com> Jay R. Ashworth wrote: > I've just installed Nagios 3 and begun to configure it for my network > (25ish servers, all but 2 running Linux, 250ish workstations, all but > about 25 running Ubuntu), and after slogging through "SSL error" on > check_nrpe -- which means about 3 different things having nothing to do > with SSL -- and the ever popular "audio embeds *aren't* > application/wav; they're audio/x-wav, just ask my mime.types file" > problems, I'm now up to the possibly uncommon way I want to use > check_users... > > I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users -- > I'm putting this on servers that, typically, have no humans logged in > at all. > > Since that's true, I'd like to have the list of users from who -q > returned as part of the status message. > > a) Is this a not uncommon usage, and when I patch the program, should I > therefore post and or submit a patch to do this? > > b) How long can that status message become without breaking 1) nagios > and 2) nrpe? > > Anyone have opinions, answers, or pointers? > > Cheers, > -- jra > See my show_users plugin on nagiosexchange.org, it's written in bash so will work on all Linux boxen as well as FreeBSD or any other unicies that you can install Bash on. It can take whitelists/blacklists of users, (I recommend the whitelist) which I use to successfully catch developers or anyone else logging in to any of my *nix servers that aren't on my shortlist. You can find it here: http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1415.html -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 jra at baylink.com Fri Apr 18 23:07:18 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 18 Apr 2008 17:07:18 -0400 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: References: <20080418161642.GB15519@cgi.jachomes.com> Message-ID: <20080418210718.GG15519@cgi.jachomes.com> On Fri, Apr 18, 2008 at 08:03:06PM +0200, Peter Michael Calum wrote: > I'm sure that DNS resolution works correctly for khk23dso3.ip.tdk.dk - You missed the thrust of my question. If you try, with dig or nslookup, and therefore no local caching, to look that domain up 100 times, will you get 100 hits? Same question *with* local caching. We're about reliability on this question, I think. 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 marcos.marinho at rac.com.br Fri Apr 18 21:18:44 2008 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Fri, 18 Apr 2008 16:18:44 -0300 Subject: [Fwd: RE: SNMP disk checking in Windows NTFS mounted system] Message-ID: <4808F414.80509@rac.com.br> 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 pemca at tdc.dk Fri Apr 18 20:03:06 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Fri, 18 Apr 2008 20:03:06 +0200 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: <20080418161642.GB15519@cgi.jachomes.com> References: <052B74C5F318614D8412EFC571D6FDDC02410D3C@OESTMB403A.tdk.dk> <20080418161642.GB15519@cgi.jachomes.com> Message-ID: Hi, I'm sure that DNS resolution works correctly for khk23dso3.ip.tdk.dk - I've tried to run the command manually from my nagios server 10-20 times and always got 0 in result code, but i will try to write a loop in a script and save the resultcode. rgds, Peter Calum Denmark -----Oprindelig meddelelse----- Fra: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] P? vegne af Jay R. Ashworth Sendt: 18. april 2008 18:17 Til: nagios-users at lists.sourceforge.net Emne: Re: [Nagios-users] Return code 255 and flapping services on Solaris9 On Fri, Apr 18, 2008 at 05:08:46PM +0200, Peter Michael Calum wrote: > /usr/local/nagios/libexec/check_by_ssh -H khk23dso3.ip.tdk.dk -l nagios -i > /home/nagios/.ssh/id_rsa -C 'plugin/check_disk -w 25% -c 15% -l -X devfs' > > > DISK OK - free space: / 12192 MB (92% inode=99%); /usr 12668 MB (86% > inode=95%); /var 4393 MB (69% inode=95%); /var/run 10628 MB (99% inode=99%); > /tmp 10628 MB (99% inode=99%); /opt 14585 MB (99% inode=99%); /export/home > 8499 MB (87% inode=99%);| /=970MB;9972;11301;0;13296 > /usr=1957MB;11080;12557;0;14774 /var=1890MB;4759;5394;0;6346 > /var/run=0MB;7971;9033;0;10628 /tmp=0MB;7971;9033;0;10628 > /opt=41MB;11080;12557;0;14774 /export/home=1252MB;7387;8372;0;9850 That check-command depends on DNS resolution to work. Are you running an internal zone server for .ip.tdk.dk? Have you tested to make sure that that name can be reliably, repeatably, resolved? Does the command return the expected results from the command line if you run it 100 times in a row? 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 jra at baylink.com Fri Apr 18 18:16:42 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 18 Apr 2008 12:16:42 -0400 Subject: Return code 255 and flapping services on Solaris 9 In-Reply-To: References: <052B74C5F318614D8412EFC571D6FDDC02410D3C@OESTMB403A.tdk.dk> Message-ID: <20080418161642.GB15519@cgi.jachomes.com> On Fri, Apr 18, 2008 at 05:08:46PM +0200, Peter Michael Calum wrote: > /usr/local/nagios/libexec/check_by_ssh -H khk23dso3.ip.tdk.dk -l nagios -i > /home/nagios/.ssh/id_rsa -C 'plugin/check_disk -w 25% -c 15% -l -X devfs' > > > DISK OK - free space: / 12192 MB (92% inode=99%); /usr 12668 MB (86% > inode=95%); /var 4393 MB (69% inode=95%); /var/run 10628 MB (99% inode=99%); > /tmp 10628 MB (99% inode=99%); /opt 14585 MB (99% inode=99%); /export/home > 8499 MB (87% inode=99%);| /=970MB;9972;11301;0;13296 > /usr=1957MB;11080;12557;0;14774 /var=1890MB;4759;5394;0;6346 > /var/run=0MB;7971;9033;0;10628 /tmp=0MB;7971;9033;0;10628 > /opt=41MB;11080;12557;0;14774 /export/home=1252MB;7387;8372;0;9850 That check-command depends on DNS resolution to work. Are you running an internal zone server for .ip.tdk.dk? Have you tested to make sure that that name can be reliably, repeatably, resolved? Does the command return the expected results from the command line if you run it 100 times in a row? 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 pemca at tdc.dk Fri Apr 18 17:08:46 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Fri, 18 Apr 2008 17:08:46 +0200 Subject: Return code 255 and flapping services on Solaris 9 In-Reply-To: <052B74C5F318614D8412EFC571D6FDDC02410D3C@OESTMB403A.tdk.dk> References: <052B74C5F318614D8412EFC571D6FDDC02410D3C@OESTMB403A.tdk.dk> Message-ID: Hi I'm running nagios plugins on a group of solaris 9 machines. I use the check_by_ssh command to check disk, load ect on the remote machines. I'm running the same check _ by _ ssh command against a hostgroup of 15 machines, but one of them fails very often and returns (Return code of 255 is out of bounds) on one or more services, so services on that machine is constantly flapping. The machine which fails runs a DNS storage server application, and seems to work fine, no errors in messages file, no counts on interfaces, ssh and all commands runs fine and so on.. If i run the check_disk locally on the machine it works fine, and if i run it manually from the nagios machine with check_by_ssh it also works fine, but if nagios runs it it don't work ?? - and all other machines in the same group works fine - strange this is run manually from nagios machine : /usr/local/nagios/libexec/check_by_ssh -H khk23dso3.ip.tdk.dk -l nagios -i /home/nagios/.ssh/id_rsa -C 'plugin/check_disk -w 25% -c 15% -l -X devfs' DISK OK - free space: / 12192 MB (92% inode=99%); /usr 12668 MB (86% inode=95%); /var 4393 MB (69% inode=95%); /var/run 10628 MB (99% inode=99%); /tmp 10628 MB (99% inode=99%); /opt 14585 MB (99% inode=99%); /export/home 8499 MB (87% inode=99%);| /=970MB;9972;11301;0;13296 /usr=1957MB;11080;12557;0;14774 /var=1890MB;4759;5394;0;6346 /var/run=0MB;7971;9033;0;10628 /tmp=0MB;7971;9033;0;10628 /opt=41MB;11080;12557;0;14774 /export/home=1252MB;7387;8372;0;9850 I tried to print out the resultcode (echo $?) but i se only 0 as resultcode. can anyone help or give an idea on this problem rgds, Peter Calum -------------- 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 Apr 18 16:31:30 2008 From: marc at ena.com (Marc Powell) Date: Fri, 18 Apr 2008 09:31:30 -0500 Subject: problem with service details... In-Reply-To: <003201c8a117$199cdf10$42eefea9@laptopxp> References: <003201c8a117$199cdf10$42eefea9@laptopxp> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jorge L. Vazquez > Sent: Friday, April 18, 2008 12:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem with service details... > > I've just installed nagios, and the client on a host windows machine, but the > nagios console in the service detail pane is showing status unknown, and under > status details I get "Server port must be an integer".... Is there an specific > port that nagios is supposed to run on the server?.. it seems like a Yes, but that's likely going to depend on the daemon that you're running on windows. The documentation for it should specify. > connection problem, well the problem is that the server is not reading or > monitoring any of the services on the client machine. It seems to me that your command{} or service{} definition is invalid and probably specifies a port flag (typically -p) but doesn't actually specify the port number. Whatever it is might have a default if you remove the flag or you need to specify the port number to use. Please review the documentation for the windows daemon you're using (nrpe_nt, etc). It should specify how to configure nagios and windows to be successful. If you need further assistance, specific details about the installation and program you're using on the windows side and the relevant command{}, host{} and service{} definitions would be needed. -- 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 Apr 18 16:25:54 2008 From: marc at ena.com (Marc Powell) Date: Fri, 18 Apr 2008 09:25:54 -0500 Subject: About passive check In-Reply-To: <200804181112.AA02122@S2005110.jp.fujitsu.com> References: <200804181112.AA02122@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: Friday, April 18, 2008 6:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] About passive check > > Hello > > I have a question regarding to passive check. > > Is there any way to change the service status into "PENDING" > by using passive check? Any way? Yes, modify the nagios source to add that feature. Already done way? No, none 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 aaron.segura at cabelas.com Fri Apr 18 15:54:00 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Fri, 18 Apr 2008 07:54:00 -0600 Subject: command line Acknowledgments In-Reply-To: <480843C5.4050508@gmail.com> References: <480843C5.4050508@gmail.com> Message-ID: <1208526840.4488.20.camel@wahoo> On Thu, 2008-04-17 at 23:46 -0700, Mike wrote: > To All; > > Is there a way to either acknowledge an alert or turn off > checks/notifications for a host from the command line? This would be > useful for when you don't have your laptop with you, but you want to > acknowledge a page from nagios through a cellphone with an ssh client. > > Thanks, > > Mike > I've written a couple of PHP scripts that handle both of those actions. Ack: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed% 2F2321.html;d=1 and Notifications switching: http://www.sweetdeliah.com/nagios/notifications/ Enjoy. aaron ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 18 15:48:28 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 18 Apr 2008 14:48:28 +0100 Subject: check_users: list the users? In-Reply-To: <20080418121641.GB14807@cgi.jachomes.com> References: <20080417210608.GM10538@cgi.jachomes.com> <48085A5F.8030506@googlemail.com> <20080418121641.GB14807@cgi.jachomes.com> Message-ID: <4808A6AC.2080605@googlemail.com> Jay R. Ashworth wrote: > On Fri, Apr 18, 2008 at 09:22:55AM +0100, Hari Sekhon wrote: > >> Jay R. Ashworth wrote: >> >>> I'm putting this on servers that, typically, have no humans logged in >>> at all. >>> >>> Since that's true, I'd like to have the list of users from who -q >>> returned as part of the status message. >>> >> See my show_users plugin on nagiosexchange.org, it's written in bash so >> will work on all Linux boxen as well as FreeBSD or any other unicies >> that you can install Bash on. >> >> It can take whitelists/blacklists of users, (I recommend the whitelist) >> which I use to successfully catch developers or anyone else logging in >> to any of my *nix servers that aren't on my shortlist. >> >> You can find it here: >> >> http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1415.html >> > > Sounds like the ticket, Mr. Seldon. Er, um... :-) > > Cheers, > -- jra > I have never got that joke.... I know I'm probably missing something great in the Foundation Series.... -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 Gerhard.Lausser at consol.de Fri Apr 18 15:31:09 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Fri, 18 Apr 2008 15:31:09 +0200 Subject: check_logfiles documentation In-Reply-To: <004801c8a0c0$14127ca0$49070a0a@sentinel> References: <004801c8a0c0$14127ca0$49070a0a@sentinel> Message-ID: <200804181331.m3IDVBRU028265@sol1.bb.consol.de> Hi, > CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 00000037 Jay is right, the code is sprintf "%s - %s...", so there _must_ be a space after the hyphen. Besides that, the nagios servide definition is a bit special (there is no need for a command check_nrpe_log. call it check_nrpe because you want to use it not only for check_logfiles), but it should work. Login at rflx01app and make touch /tmp/check_logfiles; tail -f /tmp/check_logfiles As long as this file exists, check_logfiles writes debugging information in it. So you can watch, wether check_logfiles is executed at all when running under Nagios control. What we need to find out is, wether check_logfiles runs and produces output which nagios doesn't accept (which would be strange, because it works when you call check_nrpe manually) or if the error happens even before check_nrpe is executed. Can you also have a look at the nagios.log? 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 jra at baylink.com Fri Apr 18 14:20:45 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 18 Apr 2008 08:20:45 -0400 Subject: NRPE uninstall? In-Reply-To: <1208501741.3600.6.camel@bofh.dtnet.de> References: <961497.33008.qm@web53202.mail.re2.yahoo.com> <1208432752.29927.31.camel@bofh.dtnet.de> <20080417181107.GE10538@cgi.jachomes.com> <1208501741.3600.6.camel@bofh.dtnet.de> Message-ID: <20080418122045.GC14807@cgi.jachomes.com> On Fri, Apr 18, 2008 at 08:55:41AM +0200, Sebastian Ries wrote: > > And note that you cannot *comment the end of that line*. > > What exactly do you mean? > > Do you want to say that if I add > > allowed_hosts=ip.of.nagios.server # > > to my nrpe.conf this line is not parsed an treated as if the whole line > was a comment? By inspection of the nrpe.c source, my interpretation is that comments in nrpe.conf can only be entire lines. If you put the # sign anywhere but column 1, then it will (attempt to) be parsed by the individual line data "parser", and Bad Things Will Happen. What you illustrate is exactly what I did, and that turned out to be the reason why I couldn't get nrpe to talk (stage one). Once you get that part right, then you'll likely have to fiddle the arguments to check_nrpe on the monitoring server a tad (this is the problem if all your remote checks pass, but the status on the service detail is "NRPE v2.5.1" or suchlike). 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 Fri Apr 18 14:16:41 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 18 Apr 2008 08:16:41 -0400 Subject: check_users: list the users? In-Reply-To: <48085A5F.8030506@googlemail.com> References: <20080417210608.GM10538@cgi.jachomes.com> <48085A5F.8030506@googlemail.com> Message-ID: <20080418121641.GB14807@cgi.jachomes.com> On Fri, Apr 18, 2008 at 09:22:55AM +0100, Hari Sekhon wrote: > Jay R. Ashworth wrote: > >I'm putting this on servers that, typically, have no humans logged in > >at all. > > > >Since that's true, I'd like to have the list of users from who -q > >returned as part of the status message. > > See my show_users plugin on nagiosexchange.org, it's written in bash so > will work on all Linux boxen as well as FreeBSD or any other unicies > that you can install Bash on. > > It can take whitelists/blacklists of users, (I recommend the whitelist) > which I use to successfully catch developers or anyone else logging in > to any of my *nix servers that aren't on my shortlist. > > You can find it here: > > http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1415.html Sounds like the ticket, Mr. Seldon. Er, um... :-) 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 yu.watanabe at jp.fujitsu.com Fri Apr 18 13:12:48 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 18 Apr 2008 20:12:48 +0900 Subject: About passive check Message-ID: <200804181112.AA02122@S2005110.jp.fujitsu.com> Hello I have a question regarding to passive check. Is there any way to change the service status into "PENDING" by using passive check? Thanks! 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 pemca at tdc.dk Sat Apr 19 09:22:03 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Sat, 19 Apr 2008 09:22:03 +0200 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: <20080418210718.GG15519@cgi.jachomes.com> References: <20080418161642.GB15519@cgi.jachomes.com> <20080418210718.GG15519@cgi.jachomes.com> Message-ID: Ok, I'll try the dig command a 100 times.. But, i dont think nagios uses lookups when it runs the check_by_ssh plugin. In the nagios setup i have defined the hosts as follows : define host{ use solaris-server host_name khk23dso2.ip.tdk.dk alias DNS Server address 172.17.4.37 } define host{ use solaris-server host_name khk23dso3.ip.tdk.dk alias DNS Storage address 172.17.4.84 } If i give khk23dso3.ip.tdk.dk the same ip address as khk23dso2.ip.tdk.dk in the host definition file, it works fine. I'm just trying to find out what the difference is when i run the check_by_ssh manually and when it is done by nagios. But something must be wrong in khk23dso3.ip.tdk.dk. rgds, Peter, Denmark -----Oprindelig meddelelse----- Fra: Jay R. Ashworth [mailto:jra at baylink.com] Sendt: 18. april 2008 23:07 Til: Peter Michael Calum Cc: nagios-users at lists.sourceforge.net Emne: Re: SV: [Nagios-users] Return code 255 and flapping services on Solaris9 On Fri, Apr 18, 2008 at 08:03:06PM +0200, Peter Michael Calum wrote: > I'm sure that DNS resolution works correctly for khk23dso3.ip.tdk.dk - You missed the thrust of my question. If you try, with dig or nslookup, and therefore no local caching, to look that domain up 100 times, will you get 100 hits? Same question *with* local caching. We're about reliability on this question, I think. 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 Sat Apr 19 15:40:11 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sat, 19 Apr 2008 09:40:11 -0400 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: References: <20080418161642.GB15519@cgi.jachomes.com> <20080418210718.GG15519@cgi.jachomes.com> Message-ID: <20080419134011.GB19624@cgi.jachomes.com> On Sat, Apr 19, 2008 at 09:22:03AM +0200, Peter Michael Calum wrote: > I'm just trying to find out what the difference is when i run the > check_by_ssh manually > and when it is done by nagios. But something must be wrong in > khk23dso3.ip.tdk.dk. Ok, recap for us. You never see it break when you run it manually, but it breaks how frequently when you let Nagios run it? Side question to all: is there a way to configure nagios to drop into a log file somewhere *precisely* what it hands off to a shell or exec when it runs a check-command? 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 andyford at agedwards.com Sat Apr 19 21:24:10 2008 From: andyford at agedwards.com (Ford, Andy) Date: Sat, 19 Apr 2008 14:24:10 -0500 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: <20080419134011.GB19624@cgi.jachomes.com> References: <20080418161642.GB15519@cgi.jachomes.com><20080418210718.GG15519@cgi.jachomes.com> <20080419134011.GB19624@cgi.jachomes.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F1EC@hqemhopn1.home.corp.agedwards.com> > -----Original Message----- > On Sat, Apr 19, 2008 at 09:22:03AM +0200, Peter Michael Calum wrote: > > I'm just trying to find out what the difference is when i run the > > check_by_ssh manually > > and when it is done by nagios. But something must be wrong in > > khk23dso3.ip.tdk.dk. > > Ok, recap for us. > > You never see it break when you run it manually, but it breaks how > frequently when you let Nagios run it? > > Side question to all: is there a way to configure nagios to > drop into a > log file somewhere *precisely* what it hands off to a shell or exec > when it runs a check-command? > > Cheers, > -- jra To debug, you need to wrap your plugin call. See this fine article: http://www.nagios.org/faqs/viewfaq.php?faq_id=379 Andy Ford 314-955-6647 andyford at agedwards.com 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pemca at tdc.dk Sat Apr 19 21:33:35 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Sat, 19 Apr 2008 21:33:35 +0200 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: <20080419134011.GB19624@cgi.jachomes.com> References: <20080418161642.GB15519@cgi.jachomes.com> <20080418210718.GG15519@cgi.jachomes.com> <20080419134011.GB19624@cgi.jachomes.com> Message-ID: >> from Jay R. Ashworth >> You never see it break when you run it manually, but it breaks how frequently when you let Nagios run it? Peter: Correct, I run these from nagios server via the check_by_ssh plugin check_load check_disk check_swap check_users and they are all flapping ( 1 run OK then 3 fault?s or so) a http server on the khk23dso3 machine are checked directly from nagios machine and reports OK all the time. I'll try to make a perl script monday to make a loop run with check_by_ssh manually and save the return codes in a file. But as you ask for : Side question to all: is there a way to configure nagios to drop into a log file somewhere *precisely* what it hands off to a shell or exec when it runs a check-command? it would be good to trace errors .. Just writing this i see this message from Andy Ford To debug, you need to wrap your plugin call. See this fine article: http://www.nagios.org/faqs/viewfaq.php?faq_id=379 Thanks Ill try that tomorrow.. rgds, Peter, Denmark -----Oprindelig meddelelse----- Fra: [mailto:jra at baylink.com] Sendt: 19. april 2008 15:40 Til: Peter Michael Calum Cc: nagios-users at lists.sourceforge.net Emne: Re: SV: SV: [Nagios-users] Return code 255 and flapping services on Solaris9 On Sat, Apr 19, 2008 at 09:22:03AM +0200, Peter Michael Calum wrote: > I'm just trying to find out what the difference is when i run the > check_by_ssh manually > and when it is done by nagios. But something must be wrong in > khk23dso3.ip.tdk.dk. Ok, recap for us. You never see it break when you run it manually, but it breaks how frequently when you let Nagios run it? Side question to all: is there a way to configure nagios to drop into a log file somewhere *precisely* what it hands off to a shell or exec when it runs a check-command? 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 Sun Apr 20 05:40:16 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sat, 19 Apr 2008 23:40:16 -0400 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: References: <20080418161642.GB15519@cgi.jachomes.com> <20080418210718.GG15519@cgi.jachomes.com> <20080419134011.GB19624@cgi.jachomes.com> Message-ID: <20080420034016.GA21598@cgi.jachomes.com> On Sat, Apr 19, 2008 at 09:33:35PM +0200, Peter Michael Calum wrote: > Correct, I run these from nagios server via the check_by_ssh plugin > > check_load > check_disk > check_swap > check_users > > and they are all flapping ( 1 run OK then 3 fault?s or so) Could I ask a potentially stupid question? Why check_by_ssh instead of nrpe? Admittedly, nrpe wasn't the *easiest* thing I've ever configured, but I did manage to get it running reliably in about 2 hours. 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 pemca at tdc.dk Sun Apr 20 16:12:05 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Sun, 20 Apr 2008 16:12:05 +0200 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F1EC@hqemhopn1.home.corp.agedwards.com> References: <20080418161642.GB15519@cgi.jachomes.com><20080418210718.GG15519@cgi.jachomes.com> <20080419134011.GB19624@cgi.jachomes.com> <2D81E1BAE64EB343A9570B11C5E6927F0237F1EC@hqemhopn1.home.corp.agedwards.com> Message-ID: Hi I dont think the debug.sh script works with check_by_ssh, it seems that the parameters is misunderstood in some way the command in my services.cfg looks like this : ------------------------------------------------ define service{ use local-service ; Name of service template to use hostgroup_name SUN240, SUN440, SUN480, RHEL, TSP4 host_name khk23dsg6.ip.tdk.dk service_description DISK check_command check_by_ssh! -l nagios -i /home/nagios/.ssh/id_rsa -C 'plugin/check_disk -w 25% -c 15% -l -X devfs' notifications_enabled 1 } I think maybe the 'plugin/check_disk -w 25% -c 15% -l -X devfs' gives the problem (on the host called by check_by_ssh the plugins is in 'plugin/' under the nagios user account) >> output from nagios_debug.log : (here the '' around the command has disapeared) --------------------------------- Sun Apr 20 15:55:03 CEST 2008 /usr/local/nagios/libexec/check_by_ssh -H 172.17.51.132 -l nagios -i /home/nagios/.ssh/id_rsa -C plugin/check_swap -w 50 -c 30 /usr/local/nagios/libexec/check_by_ssh: invalid option -- w Usage: check_by_ssh -H -C [-fqv] [-1|-2] [-4|-6] [-S [lines]] [-E [lines]] [-t timeout] [-i identity] [-l user] [-n name] [-s servicelist] [-O outputfile] [-p port] [-o ssh-option] Exit code: 3 >> my command definition ------------------------- # 'check_by_ssh' command definition define command{ command_name check_by_ssh command_line $USER1$/check_debug.sh $USER1$/check_by_ssh -H $HOSTADDRESS$ $ARG1$ } >> the debug script -------------------- [root at khk23dsg5 libexec]# cat check_debug.sh #!/bin/bash OUTPUT=/usr/local/nagios/var/nagios_debug.log echo `date` $* >> $OUTPUT # Command should be first argument RESULT=`$* 2>&1` EXITCODE=$? ( echo $RESULT echo "Exit code: $EXITCODE" ) | tee -a $OUTPUT rgds, Peter -----Oprindelig meddelelse----- Fra: Ford, Andy [mailto:andyford at agedwards.com] Sendt: 19. april 2008 21:24 Til: Jay R. Ashworth; Peter Michael Calum Cc: nagios-users at lists.sourceforge.net Emne: RE: [Nagios-users] Return code 255 and flapping services on Solaris9 > -----Original Message----- > On Sat, Apr 19, 2008 at 09:22:03AM +0200, Peter Michael Calum wrote: > > I'm just trying to find out what the difference is when i run the > > check_by_ssh manually > > and when it is done by nagios. But something must be wrong in > > khk23dso3.ip.tdk.dk. > > Ok, recap for us. > > You never see it break when you run it manually, but it breaks how > frequently when you let Nagios run it? > > Side question to all: is there a way to configure nagios to > drop into a > log file somewhere *precisely* what it hands off to a shell or exec > when it runs a check-command? > > Cheers, > -- jra To debug, you need to wrap your plugin call. See this fine article: http://www.nagios.org/faqs/viewfaq.php?faq_id=379 Andy Ford 314-955-6647 andyford at agedwards.com 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pemca at tdc.dk Sun Apr 20 16:22:47 2008 From: pemca at tdc.dk (Peter Michael Calum) Date: Sun, 20 Apr 2008 16:22:47 +0200 Subject: Return code 255 and flapping services on Solaris9 In-Reply-To: <20080420034016.GA21598@cgi.jachomes.com> References: <20080418161642.GB15519@cgi.jachomes.com> <20080418210718.GG15519@cgi.jachomes.com> <20080419134011.GB19624@cgi.jachomes.com> <20080420034016.GA21598@cgi.jachomes.com> Message-ID: Hi The reason that i use check_by_ssh is : - we would have to make a lot of FW setup to allow the nrpe port - i could get problems with some of the owners of the delivered software on the platform (IP telephony/Centrex) if i installed nrpe. - it was easy to set up with ssh keys from the nagios machine - and security was ok - i read in the documentation that running check_by_ssh would not have performance impact up to 100-200 hosts, i have about 50 hosts now. rgds, Peter -----Oprindelig meddelelse----- Fra: Jay R. Ashworth [mailto:jra at baylink.com] Sendt: 20. april 2008 05:40 Til: Peter Michael Calum Cc: nagios-users at lists.sourceforge.net; andyford at agedwards.com Emne: Re: [Nagios-users] Return code 255 and flapping services on Solaris9 On Sat, Apr 19, 2008 at 09:33:35PM +0200, Peter Michael Calum wrote: > Correct, I run these from nagios server via the check_by_ssh plugin > > check_load > check_disk > check_swap > check_users > > and they are all flapping ( 1 run OK then 3 fault?s or so) Could I ask a potentially stupid question? Why check_by_ssh instead of nrpe? Admittedly, nrpe wasn't the *easiest* thing I've ever configured, but I did manage to get it running reliably in about 2 hours. 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 Sun Apr 20 19:53:47 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sun, 20 Apr 2008 13:53:47 -0400 Subject: Environmental monitoring Message-ID: <20080420175347.GA24206@cgi.jachomes.com> I've seen the temperature monitor stuff Ethan has links to on the website, but I'm the new guy, and I don't have a budget quite yet. LaCrosse, for example, has 10-channel capable wireless temp and possible temp/hyg sensor/transmitters for very close to $20 each... but while they have a PC interface, it's not clear at all whether the interface has its own 433MHz receiver, and indeed, whether it's multi-channel. Has anyone else played at all with this sort of low-end environmental monitoring of multiple channels? (I want to put 5 or 6 temp sensors and a hyg sensor in my machine room, and temp sensors in each of my 4 breaker panels, to start. $150 sensors are a non-starter) 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 Sun Apr 20 20:09:24 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sun, 20 Apr 2008 14:09:24 -0400 Subject: Environmental monitoring In-Reply-To: <20080420175347.GA24206@cgi.jachomes.com> References: <20080420175347.GA24206@cgi.jachomes.com> Message-ID: <20080420180924.GQ23922@cgi.jachomes.com> On Sun, Apr 20, 2008 at 01:53:47PM -0400, Jay R. Ashworth wrote: > LaCrosse, for example, has 10-channel capable wireless temp and > possible temp/hyg sensor/transmitters for very close to $20 each... but > while they have a PC interface, it's not clear at all whether the > interface has its own 433MHz receiver, and indeed, whether it's > multi-channel. > > Has anyone else played at all with this sort of low-end environmental > monitoring of multiple channels? (I want to put 5 or 6 temp sensors > and a hyg sensor in my machine room, and temp sensors in each of my 4 > breaker panels, to start. $150 sensors are a non-starter) As tacky as it is to folo yourself, this page http://www.cheapertronics.com/product_details.php?category_id=64&item_id=25 may prove interesting on this front. Though I'm not clear whether those sensors are addressable. [ looks further ] 3-channel apparently. But the concept appears possible. 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 thomas at mainloop.se Sun Apr 20 23:37:10 2008 From: thomas at mainloop.se (Thomas Althoff) Date: Sun, 20 Apr 2008 23:37:10 +0200 Subject: Environmental monitoring In-Reply-To: <20080420175347.GA24206@cgi.jachomes.com> References: <20080420175347.GA24206@cgi.jachomes.com> Message-ID: <6788CB42B92B3449B633BEBC173D9BB7E631BC@spoke.intranet.mainloop.net> > I've seen the temperature monitor stuff Ethan has links to on the website, but I'm the new guy, and I don't have a budget quite yet. 1-Wire is your friend http://en.wikipedia.org/wiki/1-Wire plus http://www.owfs.org/ I have 8 senors in my rack ~$150. One sensor + usb 1-wire ~$30-40 -Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 21 02:16:02 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 21 Apr 2008 09:16:02 +0900 Subject: About passive check In-Reply-To: References: Message-ID: <200804210016.AA02123@S2005110.jp.fujitsu.com> Hello, So , in other words, modifying the source code is necessary for this feature? I mean is there any external commands that changes the service status into PENDING? 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: Friday, April 18, 2008 6:13 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] About passive check >> >> Hello >> >> I have a question regarding to passive check. >> >> Is there any way to change the service status into "PENDING" >> by using passive check? > >Any way? Yes, modify the nagios source to add that feature. Already done >way? No, none 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 > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at groundworkopensource.com Mon Apr 21 05:13:28 2008 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Sun, 20 Apr 2008 20:13:28 -0700 Subject: About passive check In-Reply-To: <200804210016.AA02123@S2005110.jp.fujitsu.com> References: <200804210016.AA02123@S2005110.jp.fujitsu.com> Message-ID: <480C0658.2090106@groundworkopensource.com> No, that state is generated internally by Nagios. It is nagios-specific (the service has not yet been checked), so logically, it does not make sense to set it to this externally... It is pending when you start nagios, before a check is entered. What is the use case? There may be another way to get the result you desire. Thomas Stocking Yu Watanabe wrote: > Hello, > > So , in other words, modifying the source code is necessary for > this feature? > > I mean is there any external commands that changes the > service status into PENDING? > > 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: Friday, April 18, 2008 6:13 AM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] About passive check >>> >>> Hello >>> >>> I have a question regarding to passive check. >>> >>> Is there any way to change the service status into "PENDING" >>> by using passive check? >>> >> Any way? Yes, modify the nagios source to add that feature. Already done >> way? No, none 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 >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > NOTICE: This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited.If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 21 05:43:31 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 21 Apr 2008 12:43:31 +0900 Subject: About passive check In-Reply-To: <480C0658.2090106@groundworkopensource.com> References: <480C0658.2090106@groundworkopensource.com> Message-ID: <200804210343.AA02129@S2005110.jp.fujitsu.com> Hello Thomas, I am planning to use this feature in the cluster environment. >It is pending when you start nagios, before a check is entered. >What is the use case? There may be another way to get the result you >desire. The idea is : 1. Enable active checks for servers that are in RUNNING status. 2. Disable active checks for servers that are in WAIT status. and set the Service Status "PENDING" ************************* Yu Watanabe Thomas Stocking ????????: >No, that state is generated internally by Nagios. It is nagios-specific >(the service has not yet been checked), so logically, it does not make >sense to set it to this externally... >It is pending when you start nagios, before a check is entered. >What is the use case? There may be another way to get the result you >desire. >Thomas Stocking > >Yu Watanabe wrote: >> Hello, >> >> So , in other words, modifying the source code is necessary for >> this feature? >> >> I mean is there any external commands that changes the >> service status into PENDING? >> >> 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: Friday, April 18, 2008 6:13 AM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: [Nagios-users] About passive check >>>> >>>> Hello >>>> >>>> I have a question regarding to passive check. >>>> >>>> Is there any way to change the service status into "PENDING" >>>> by using passive check? >>>> >>> Any way? Yes, modify the nagios source to add that feature. Already done >>> way? No, none 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 >>> >>> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > >NOTICE: This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited.If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You. > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amateo at um.es Mon Apr 21 08:38:39 2008 From: amateo at um.es (Angel L. Mateo) Date: Mon, 21 Apr 2008 08:38:39 +0200 Subject: Nagios 3 GUI config tools In-Reply-To: <56F8CBCA82D02D4B894B69C804906D1ADDEBFD@usnjpar1blex04.us.ad.irmc.com> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <56F8CBCA82D02D4B894B69C804906D1ADDEBFD@usnjpar1blex04.us.ad.irmc.com> Message-ID: <1208759919.13541.30.camel@joshua> > > Centreon looks pretty good, but it's not fully functional for v3.... I > > guess it could be a great frontend if it gets more attention from > > community... > > > > Ciro > > > > Link: http://www.centreon.com/Product/Screenshots.html > > The beta for 2.0 which supported 3.0 is supposed to be released this > week, betting it will be sometime next week though. > We are using centreon 1.4.2.3 with nagios 3 in a test environment and we don't have any problem. The only problem could be that with this configuration we can't use nagios 3 specific features. -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Mon Apr 21 09:42:53 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 21 Apr 2008 03:42:53 -0400 Subject: Nagios 3 GUI config tools In-Reply-To: <1208759919.13541.30.camel@joshua> References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <56F8CBCA82D02D4B894B69C804906D1ADDEBFD@usnjpar1blex04.us.ad.irmc.com> <1208759919.13541.30.camel@joshua> Message-ID: 2008/4/21, Angel L. Mateo : > > > > Centreon looks pretty good, but it's not fully functional for v3.... I > > > guess it could be a great frontend if it gets more attention from > > > community... > > > > > > Ciro > > > > > > Link: http://www.centreon.com/Product/Screenshots.html > > > > The beta for 2.0 which supported 3.0 is supposed to be released this > > week, betting it will be sometime next week though. > > > > We are using centreon 1.4.2.3 with nagios 3 in a test environment and > we don't have any problem. The only problem could be that with this > configuration we can't use nagios 3 specific features. > > -- > Angel L. Mateo Mart?nez > Secci?n de Telem?tica > ?rea de Tecnolog?as de la Informaci?n _o) > y las Comunicaciones Aplicadas (ATICA) / \\ > http://www.um.es/atica _(___V > Tfo: 968367590 > Fax: 968398337 > Well, i tried it some time ago (when it was named oreon), but it didn't support all the configuration directives for Nagios v2, like $ADDRESSN$ (if I remember right) so it's useless for us, as we have nagios running already for many years with a currently long and complex configuration (the reason to try oreon/centreon) and need it to just work after migration to Centreon. Regards. CI.- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 21 10:20:59 2008 From: ANGC0020 at ntu.edu.sg (#ANG CHIN TECK#) Date: Mon, 21 Apr 2008 16:20:59 +0800 Subject: Possible to monitor bios using Nagios? Message-ID: Hi all, Is it possible to monitor usage of bios using Nagios? Jason -------------- 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 jorg.schulz at telia.com Mon Apr 21 10:42:40 2008 From: jorg.schulz at telia.com (jorg) Date: Mon, 21 Apr 2008 10:42:40 +0200 Subject: Possible to monitor bios using Nagios? In-Reply-To: References: Message-ID: <1485.6083937504$1208767457@news.gmane.org> Hi Come on, give us a little bit more information ! What Nagios, what you mean with ?usage of bios? ? If we get more info you get an answer ! /J Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r #ANG CHIN TECK# Skickat: den 21 april 2008 10:21 Till: nagios-users; nagiosplug-help ?mne: [Nagios-users] Possible to monitor bios using Nagios? Hi all, Is it possible to monitor usage of bios using Nagios? Jason -------------- 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 jonathan at nerds.net Mon Apr 21 14:47:27 2008 From: jonathan at nerds.net (Jonathan Dill) Date: Mon, 21 Apr 2008 08:47:27 -0400 Subject: Environmental monitoring In-Reply-To: <20080420175347.GA24206@cgi.jachomes.com> References: <20080420175347.GA24206@cgi.jachomes.com> Message-ID: <06FF3AC7-D89E-421F-B17D-46EFAA150DC9@nerds.net> On Apr 20, 2008, at 1:53 PM, Jay R. Ashworth wrote: > I've seen the temperature monitor stuff Ethan has links to on the > website, but I'm the new guy, and I don't have a budget quite yet. > > LaCrosse, for example, has 10-channel capable wireless temp and > possible temp/hyg sensor/transmitters for very close to $20 each... > but > while they have a PC interface, it's not clear at all whether the > interface has its own 433MHz receiver, and indeed, whether it's > multi-channel. > > Has anyone else played at all with this sort of low-end environmental > monitoring of multiple channels? (I want to put 5 or 6 temp sensors > and a hyg sensor in my machine room, and temp sensors in each of my 4 > breaker panels, to start. $150 sensors are a non-starter) I have been playing with 1-Wire with the thought to write my own plugin using OWFS, but that has gone on the back burner lately. http://www.hobby-boards.com/catalog/main_page.php http://www.owfs.org/ Jonathan ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 21 15:04:45 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Mon, 21 Apr 2008 09:04:45 -0400 Subject: check_logfiles documentation In-Reply-To: <200804181331.m3IDVBRU028265@sol1.bb.consol.de> References: <004801c8a0c0$14127ca0$49070a0a@sentinel> <200804181331.m3IDVBRU028265@sol1.bb.consol.de> Message-ID: <007601c8a3b0$45f513c0$49070a0a@sentinel> Good Morning guys, You guys are awesome!!!!!! Well I don't know exactly what did it but its working!... I changed the check_nrpe_log to check_nrpe and I ran the touch command you asked me to run and when I restarted nagios boom it worked. And btw the hyphen was an error on my part..I copied and pasted the output into the email but I must have touched the mousepad or something and removed the space. I think I just needed a break. I was out Friday which is why didn't respond sooner. Thanks once again... Cheers, VL -----Original Message----- From: Gerhard Lausser [mailto:Gerhard.Lausser at consol.de] Sent: Friday, April 18, 2008 9:31 AM To: 'Victor Lanza'; 'Jay R. Ashworth' Cc: nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] check_logfiles documentation Hi, > CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 00000037 Jay is right, the code is sprintf "%s - %s...", so there _must_ be a space after the hyphen. Besides that, the nagios servide definition is a bit special (there is no need for a command check_nrpe_log. call it check_nrpe because you want to use it not only for check_logfiles), but it should work. Login at rflx01app and make touch /tmp/check_logfiles; tail -f /tmp/check_logfiles As long as this file exists, check_logfiles writes debugging information in it. So you can watch, wether check_logfiles is executed at all when running under Nagios control. What we need to find out is, wether check_logfiles runs and produces output which nagios doesn't accept (which would be strange, because it works when you call check_nrpe manually) or if the error happens even before check_nrpe is executed. Can you also have a look at the nagios.log? 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 dcalderone at gmail.com Mon Apr 21 15:38:31 2008 From: dcalderone at gmail.com (Denis Calderone) Date: Mon, 21 Apr 2008 09:38:31 -0400 Subject: monitoring Cisco VPN 3000 Message-ID: Hi, I was wondering if anyone has had any luck monitoring Cisco VPN concentrators for memory, cpu, and tunnel status. If have been unsuccessful in identifying the proper OIDs to do this with SNMP. Anyway guidance would be greatly appreciated. Regards, Denis -------------- 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 peter.gritsch at fh-joanneum.at Mon Apr 21 15:54:26 2008 From: peter.gritsch at fh-joanneum.at (Gritsch Peter) Date: Mon, 21 Apr 2008 15:54:26 +0200 Subject: monitoring Cisco VPN 3000 In-Reply-To: References: Message-ID: <46CD6B2D6E0F834FB55F5A7080AC44D0089FA906@OLYMPIA.technikum.fh-joanneum.local> Hi, Have a look at http://snmp4nagios.sourceforge.net . Sorry, I didn't find any OID for memory obviously, but cpuusage, number of connections, fans, temperatures, throughput and voltages can be checked. (You can find the OIDs in the ALTIGA*MIBs btw.) CU Peter ________________________________ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Denis Calderone Gesendet: Montag, 21. April 2008 15:39 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] monitoring Cisco VPN 3000 Hi, I was wondering if anyone has had any luck monitoring Cisco VPN concentrators for memory, cpu, and tunnel status. If have been unsuccessful in identifying the proper OIDs to do this with SNMP. Anyway guidance would be greatly appreciated. Regards, Denis FH JOANNEUM Gesellschaft mbH Rechtsform/Legal form: GmbH Firmenbuchgericht/Court of registry: Landesgericht fur ZRS Graz Firmenbuchnummer/Company registration: FN 125888 f DVR: 0813559 UID-Nr.: ATU 42361001 -------------- 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 jra at baylink.com Mon Apr 21 16:33:54 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 21 Apr 2008 10:33:54 -0400 Subject: Environmental monitoring In-Reply-To: <6788CB42B92B3449B633BEBC173D9BB7E631BC@spoke.intranet.mainloop.net> References: <20080420175347.GA24206@cgi.jachomes.com> <6788CB42B92B3449B633BEBC173D9BB7E631BC@spoke.intranet.mainloop.net> Message-ID: <20080421143354.GA27469@cgi.jachomes.com> On Sun, Apr 20, 2008 at 11:37:10PM +0200, Thomas Althoff wrote: > 1-Wire is your friend http://en.wikipedia.org/wiki/1-Wire plus > http://www.owfs.org/ > > I have 8 senors in my rack ~$150. One sensor + usb 1-wire ~$30-40 Aha! Thanks. It ain't wireless, but at the price, I also don't care. :-) 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 jonathan at nerds.net Mon Apr 21 17:29:45 2008 From: jonathan at nerds.net (Jonathan Dill) Date: Mon, 21 Apr 2008 11:29:45 -0400 Subject: Environmental monitoring In-Reply-To: <20080421143354.GA27469@cgi.jachomes.com> References: <20080420175347.GA24206@cgi.jachomes.com> <6788CB42B92B3449B633BEBC173D9BB7E631BC@spoke.intranet.mainloop.net> <20080421143354.GA27469@cgi.jachomes.com> Message-ID: On Apr 21, 2008, at 10:33 AM, Jay R. Ashworth wrote: > On Sun, Apr 20, 2008 at 11:37:10PM +0200, Thomas Althoff wrote: >> 1-Wire is your friend http://en.wikipedia.org/wiki/1-Wire plus >> http://www.owfs.org/ >> >> I have 8 senors in my rack ~$150. One sensor + usb 1-wire ~$30-40 > > Aha! > > Thanks. It ain't wireless, but at the price, I also don't care. :-) Also, it's all cabled together with inexpensive satin cable and RJ11 plugs, probably more reliable to use a powered hub though if you have more than a few sensors, but you can always try that later if you have problems. You do have to be careful which pin goes to ground or + it probably won't damage anything but the device will not be seen if you cross the wires. Cheap "biscuit" phone jack can be useful for testing and troubleshooting, that makes it easy to switch + and ground if you think that may be the problem. Finally, a use for all of that Mac PhoneNet / Gator / serial Terminal Server junk that you never quite got around to throw away, lol. Jonathan ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pierre.lebrech at laposte.net Mon Apr 21 18:34:48 2008 From: pierre.lebrech at laposte.net (Pierre LEBRECH) Date: Mon, 21 Apr 2008 18:34:48 +0200 Subject: nagios check_time and IPsrcaddr from heartbeat Message-ID: <480CC228.90204@laposte.net> Hi, I have somes problems using check_time with IPsrcaddr from heartbeat : When I use IPsrcaddr, the node (eth0) does not respond to check_time requests from my nagios server. But I get answers when the requests are sent on the HA IP (virtual IP or eth0:0). On the other hand, if I deactivate the use of IPsrcaddr, the node (physical node, aka eth0) starts responding to check_time requests but it stops responding when requests are sent to the virtual IP. So, I was wondering if it was possible to make check_time work in both case. Well, It would be great in my case... Thanks for a little help PS : check_time works well on my standalone servers but it doesn't on my clusters where I'm used to use IPsrcaddr. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 21 19:13:19 2008 From: td3201 at gmail.com (Terry) Date: Mon, 21 Apr 2008 12:13:19 -0500 Subject: two notification timeperiods overlapping In-Reply-To: <8ee061010804010755y5dd0387t3d85c7464a30bd73@mail.gmail.com> References: <8ee061010803310839t4f9ed04dg984d0b87124cc114@mail.gmail.com> <8ee061010804010755y5dd0387t3d85c7464a30bd73@mail.gmail.com> Message-ID: <8ee061010804211013y2d6fba59y7bdb91b6d10cf734@mail.gmail.com> This issue still exists. I can't see how it can be anything other than a bug but I would like some clarification. Anyone else doing something like this? > On Mon, Mar 31, 2008 at 10:39 AM, Terry wrote: > > Hello, > > > > I have two timeperiods that do NOT overlap in the config but two > > contacts with each associated timeperiod are both being notified. We > > are in the engineer04 rotation according to my calculations. Anyone > > see why this is happening? > > > > define timeperiod{ > > timeperiod_name engineer03 > > alias engineer03 > > 2007-11-19 / 42 08:00-24:00 > > 2007-11-20 / 42 00:00-24:00 > > 2007-11-21 / 42 00:00-24:00 > > 2007-11-22 / 42 00:00-24:00 > > 2007-11-23 / 42 00:00-24:00 > > 2007-11-24 / 42 00:00-24:00 > > 2007-11-25 / 42 00:00-24:00 > > 2007-11-26 / 42 00:00-08:00 > > } > > > > define timeperiod{ > > timeperiod_name engineer03-workhours > > alias engineer03-workhours > > 2007-11-19 / 42 08:00-17:00 > > 2007-11-20 / 42 08:00-17:00 > > 2007-11-21 / 42 08:00-17:00 > > 2007-11-22 / 42 08:00-17:00 > > 2007-11-23 / 42 08:00-17:00 > > 2007-11-24 / 42 08:00-17:00 > > 2007-11-25 / 42 08:00-17:00 > > } > > > > define timeperiod{ > > timeperiod_name engineer04 > > alias engineer04 > > 2007-11-26 / 42 08:00-24:00 > > 2007-11-27 / 42 00:00-24:00 > > 2007-11-28 / 42 00:00-24:00 > > 2007-11-29 / 42 00:00-24:00 > > 2007-11-30 / 42 00:00-24:00 > > 2007-12-01 / 42 00:00-24:00 > > 2007-12-02 / 42 00:00-24:00 > > 2007-12-03 / 42 00:00-08:00 > > } > > define timeperiod{ > > timeperiod_name engineer04-workhours > > alias engineer04-workhours > > 2007-11-26 / 42 08:00-17:00 > > 2007-11-27 / 42 00:00-17:00 > > 2007-11-28 / 42 00:00-17:00 > > 2007-11-29 / 42 00:00-17:00 > > 2007-11-30 / 42 00:00-17:00 > > 2007-12-01 / 42 00:00-17:00 > > 2007-12-02 / 42 00:00-17:00 > > } > > > > define contact{ > > contact_name jdoe-email-warning > > alias jdoe-email-warning > > service_notification_period engineer03-workhours > > host_notification_period engineer03-workhours > > service_notification_options w,u > > host_notification_options n > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email jdoe at hotmail.com > > } > > > > define contact{ > > contact_name narf-email-warning > > alias nar-email-warning > > service_notification_period engineer04-workhours > > host_notification_period engineer04-workhours > > service_notification_options w,u > > host_notification_options n > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email narf at hotmail.com > > } > > > > > > [1206977436] SERVICE NOTIFICATION: jdoe-email-warning;DEMETER;drive > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > > (85%) - Free: 1. > > 76G (15%) > warning > > [1206977436] SERVICE NOTIFICATION: narf-email-warning;DEMETER;drive > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > > (85%) - Fr > > ee: 1.76G (15%) > warning > > > > You timestamp on this alert is around 10:15 AM. > > > > 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 andrew at profitability.net Mon Apr 21 20:40:16 2008 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 21 Apr 2008 14:40:16 -0400 Subject: Host checks under Nagios 1.x Message-ID: <027a01c8a3df$24b3b250$800101df@andrew2> I've got an interesting problem with a particular setup. I'm monitoring a number of servers that the main Nagios installation doesn't have direct network access to, so I pass all of the host and service checks through an NRPE installation that can communicate with both Nagios and the servers being monitored. A little tweaking with check timeouts and whatnot and this setup works pretty nicely. I've run into a problem where for some reason, the NRPE server periodically stops responding to NRPE requests. Haven't gotten to the bottom of that (Connection refused) yet. Service checks are able to handle the problem fine as the duration of the NRPE outage is much shorter than the time it takes for the services to go into a hard critical state. The problem is, once the first service check goes through and goes into a soft critical state, that triggers the host checks which also fail (host checks go through NRPE as well) and immediately generate a notification. I'd like to find a way to make the host checks a little more forgiving as well. A few things I've thought of or tried: 1. I tried bumping up the host check retries to 30, but since the checks immediately fail with "connection refused" it runs through all 30 tries within just a few seconds. I also worry about this leading to unneeded load on the Nagios server since this is generally going to cause check_nrpe to be run 30 times, for each of the ~20 servers in this setup. 2. Extending the timeout on the check_nrpe commands doesn't help because "connection refused" is returned immediately. 3. Switching to a passive setup is probably the way to go, but for now am trying to avoid all the reconfiguration needed to move in that direction. Ideally what I'd like to be able to do is have the host checks retry on a particular interval (i.e. once per second) rather than instantly after the previous executed. Is there a way to do this? Incidentally, while typing up this email I was actually able to find the root problem with the NRPE setup. NRPE was being called via Xinetd which wasn't configured to allow enough simultaneous connections for a single service. Thus when it started getting hammered with NRPE requests as a result of the host check configuration it would stop allowing NRPE connections for 30 seconds. A quick change to the Xinetd config file seems to have solved the problem. I'm still interested to know how anyone handles the situation where a host may be unresponsive to host checks for a period of time yet you only wish to fire off a notification after a specific period of time. Would a wrapper around the host check be the only way to handle it? Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 21 20:58:54 2008 From: marc at ena.com (Marc Powell) Date: Mon, 21 Apr 2008 13:58:54 -0500 Subject: Host checks under Nagios 1.x In-Reply-To: <027a01c8a3df$24b3b250$800101df@andrew2> References: <027a01c8a3df$24b3b250$800101df@andrew2> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andrew Cruse > Sent: Monday, April 21, 2008 1:40 PM > To: 'nagios Users Mailinglist' > Subject: [Nagios-users] Host checks under Nagios 1.x > > Ideally what I'd like to be able to do is have the host checks retry on a > particular interval (i.e. once per second) rather than instantly after the > previous executed. Is there a way to do this? Really only by upgrading to nagios-3. You _could_ wrap your host check in a script that issues a sleep() after each run but this will play havoc with your other checks. Nagios versions prior to v3 will stop _all_ other processing until the host check completes (max_check_attempts is reached). Nagios-3 introduces significantly better host checking methodology. -- 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 adevey at omniture.com Tue Apr 22 02:30:48 2008 From: adevey at omniture.com (Aaron Devey) Date: Mon, 21 Apr 2008 18:30:48 -0600 Subject: Host checks under Nagios 1.x In-Reply-To: <027a01c8a3df$24b3b250$800101df@andrew2> References: <027a01c8a3df$24b3b250$800101df@andrew2> Message-ID: <480D31B8.8090703@omniture.com> I had a similar problem to this. I only wanted to know if a not-so-important device had been down for an hour or more. Here's what I ended up doing: I disabled the host check (by having it call an "always-ok" checkcommand that always returns 0.) I then added a 'PING' service to the host with a max_check_attempts of 7, and a retry_check_interval of 10 minutes. The pitfall being that I no longer receive 'HOST DOWN' alerts for that host. I instead receive alerts for a failing 'PING' service. -Aaron Andrew Cruse wrote: > I've got an interesting problem with a particular setup. I'm monitoring a > number of servers that the main Nagios installation doesn't have direct > network access to, so I pass all of the host and service checks through an > NRPE installation that can communicate with both Nagios and the servers > being monitored. A little tweaking with check timeouts and whatnot and this > setup works pretty nicely. I've run into a problem where for some reason, > the NRPE server periodically stops responding to NRPE requests. Haven't > gotten to the bottom of that (Connection refused) yet. Service checks are > able to handle the problem fine as the duration of the NRPE outage is much > shorter than the time it takes for the services to go into a hard critical > state. The problem is, once the first service check goes through and goes > into a soft critical state, that triggers the host checks which also fail > (host checks go through NRPE as well) and immediately generate a > notification. I'd like to find a way to make the host checks a little more > forgiving as well. > > A few things I've thought of or tried: > > 1. I tried bumping up the host check retries to 30, but since the checks > immediately fail with "connection refused" it runs through all 30 tries > within just a few seconds. I also worry about this leading to unneeded load > on the Nagios server since this is generally going to cause check_nrpe to be > run 30 times, for each of the ~20 servers in this setup. > > 2. Extending the timeout on the check_nrpe commands doesn't help because > "connection refused" is returned immediately. > > 3. Switching to a passive setup is probably the way to go, but for now am > trying to avoid all the reconfiguration needed to move in that direction. > > > Ideally what I'd like to be able to do is have the host checks retry on a > particular interval (i.e. once per second) rather than instantly after the > previous executed. Is there a way to do this? > > Incidentally, while typing up this email I was actually able to find the > root problem with the NRPE setup. NRPE was being called via Xinetd which > wasn't configured to allow enough simultaneous connections for a single > service. Thus when it started getting hammered with NRPE requests as a > result of the host check configuration it would stop allowing NRPE > connections for 30 seconds. A quick change to the Xinetd config file seems > to have solved the problem. > > I'm still interested to know how anyone handles the situation where a host > may be unresponsive to host checks for a period of time yet you only wish to > fire off a notification after a specific period of time. Would a wrapper > around the host check be the only way to handle it? > > Andrew > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue Apr 22 03:17:38 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 21 Apr 2008 21:17:38 -0400 Subject: Environmental monitoring In-Reply-To: References: <20080420175347.GA24206@cgi.jachomes.com> <6788CB42B92B3449B633BEBC173D9BB7E631BC@spoke.intranet.mainloop.net> <20080421143354.GA27469@cgi.jachomes.com> Message-ID: <20080422011738.GA29351@cgi.jachomes.com> [ inadvertantly didn't send these to the list ] On Mon, Apr 21, 2008 at 11:29:45AM -0400, Jonathan Dill wrote: > On Apr 21, 2008, at 10:33 AM, Jay R. Ashworth wrote: > >Aha! > >Thanks. It ain't wireless, but at the price, I also don't care. :-) > > Also, it's all cabled together with inexpensive satin cable and RJ11 > plugs, probably more reliable to use a powered hub though if you have > more than a few sensors, but you can always try that later if you have > problems. You do have to be careful which pin goes to ground or + it > probably won't damage anything but the device will not be seen if you > cross the wires. Cheap "biscuit" phone jack can be useful for testing > and troubleshooting, that makes it easy to switch + and ground if you > think that may be the problem. Finally, a use for all of that Mac > PhoneNet / Gator / serial Terminal Server junk that you never quite > got around to throw away, lol. Quite so. So my current list of things I want to monitor (and will have to find sensors for) is Machine room temp (5 racks, plus probably 4 other locations and AC outlet temps) Machine room humidity Power panel temp (3 panels) Current and voltage per leg (240 3-phase, closed delta) The temp and humidity are walk-ons. Power panel temps are a bit harder, but I saw thermocouple temp sensors. The power and voltage, now... that's going to be dicey. I can get voltage off a receptacle installed for the purpose, or in a box downstream of a breaker, but the current I have to pull right off the feed wires, and I'm playing hell finding UL rated AC current sensors that will measure 200A RMS AC, much less ones that are 1-wire... 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 Tue Apr 22 03:17:47 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 21 Apr 2008 21:17:47 -0400 Subject: Environmental monitoring In-Reply-To: References: <20080420175347.GA24206@cgi.jachomes.com> <6788CB42B92B3449B633BEBC173D9BB7E631BC@spoke.intranet.mainloop.net> <20080421143354.GA27469@cgi.jachomes.com> <20080421164534.GF27469@cgi.jachomes.com> Message-ID: <20080422011747.GB29351@cgi.jachomes.com> On Mon, Apr 21, 2008 at 01:20:30PM -0400, Jonathan Dill wrote: > hobby-boards has nice sensors that measure humidity, temp, and > optionally light ("solar") in one package. I'd seen those, and the USB transceiver as well, which is nice. > Unfortunately, measuring the current and voltage on 240 3-phase is > probably going to be big ticket item no matter what you do especially > doing it to code and UL listed, ideally you want PDU with that sort of > capability built in. Not to mention you will have to hire an > electrician, have some down time to set it up, and may need permit and > inspection. To measure current with something like Hall Effect > ammeter, the phases have to be physically isolated and not in a single > cable. Yeah. I'm prepared for that. > What is the real goal here and how precise does it have to be? Maybe > there is some way to fudge it or measure empirically. Put a web cam > on the PDU LCD or outside meter, or photo sensor near warning light, > or measure DC voltage going to alarm or LED on PDU. Measure magnetic > field and RF around the feeds or temperature. Noise sensor to detect > sound from alarm inside PDU. Maybe there is some creative way to meet > the goal without precise measurement. 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. I'm just a geek, is the answer; I want to monitor *everything*. 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 schou at acebiosciences.com Tue Apr 22 06:59:02 2008 From: schou at acebiosciences.com (Henrik Schou) Date: Tue, 22 Apr 2008 06:59:02 +0200 Subject: SMS issue Nagios 3.0 Message-ID: <6504836CA50DCC49B810660A47AA91AC1E8799@exchange.ACE1.NET> Hi I have installed Nagios 3.0 and I have some issues with Nagios sending sms-messages. I have installed smstools, and sendsms works fine from the command line. But when I want Nagios to send a notification, it fails. Could this be because of wrong user rights? I have changed the owner of sendsms to Nagios, but that didn't help. Entry in my command.cfg: # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/local/bin/sendsms $PAGER$ "Nagios: Service $SERVICEDESC$ on $HOSTALIAS$ is in state: $SERVICESTATE$" } # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/local/bin/sendsms $PAGER$ "Nagios: Host $HOSTNAME$ ($HOSTADDRESS$) is in state: $HOSTSTATE$" } Entry in my contacts.cfg: define contact{ contact_name schou-sms alias Henrik Schou service_notification_period smshours host_notification_period smshours service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-sms host_notification_commands host-notify-by-sms pager xxxxxxxxxx can_submit_commands 1 } Any ideas? /Henrik ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -------------- 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 Tue Apr 22 07:47:31 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 22 Apr 2008 07:47:31 +0200 Subject: SMS issue Nagios 3.0 In-Reply-To: <6504836CA50DCC49B810660A47AA91AC1E8799@exchange.ACE1.NET> References: <6504836CA50DCC49B810660A47AA91AC1E8799@exchange.ACE1.NET> Message-ID: <480D7BF3.50608@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henrik Schou wrote: | I have installed Nagios 3.0 and I have some issues with Nagios sending | sms-messages. I have installed smstools, and sendsms works fine from the | command line. But when I want Nagios to send a notification, it fails. | Could this be because of wrong user rights? I have changed the owner of | sendsms to Nagios, but that didn?t help. Have you tested it by becoming the nagios user and using the exact commandline from your definition? Tests run as root or another user are not relevant. You need to know what happens as the nagios user. So `su - nagios` and test again. 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) iD8DBQFIDXvxBvzDRVjxmYERAjaAAJ0VS8NTQB74nA7sKYHBsA2tTfiB+gCeO3Rv EhPAE/Zkfkri6hVuRnni4xg= =2hqm -----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 schou at acebiosciences.com Tue Apr 22 08:13:29 2008 From: schou at acebiosciences.com (Henrik Schou) Date: Tue, 22 Apr 2008 08:13:29 +0200 Subject: FW: SMS issue Nagios 3.0 Message-ID: <6504836CA50DCC49B810660A47AA91AC1E879F@exchange.ACE1.NET> When I try as the nagios user I get the following error: sendsms xxxxxxxxxx test mktemp: cannot create temp file /var/spool/sms/outgoing/send_L23225: Permission denied /usr/local/bin/sendsms: line 25: $FILE: ambiguous redirect /usr/local/bin/sendsms: line 26: $FILE: ambiguous redirect /usr/local/bin/sendsms: line 27: $FILE: ambiguous redirect [nagios at nagios bin]$ Which user is the right owner for sendsms? /Henrik -----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: 22. april 2008 07:48 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] SMS issue Nagios 3.0 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henrik Schou wrote: | I have installed Nagios 3.0 and I have some issues with Nagios sending | sms-messages. I have installed smstools, and sendsms works fine from the | command line. But when I want Nagios to send a notification, it fails. | Could this be because of wrong user rights? I have changed the owner of | sendsms to Nagios, but that didn't help. Have you tested it by becoming the nagios user and using the exact commandline from your definition? Tests run as root or another user are not relevant. You need to know what happens as the nagios user. So `su - nagios` and test again. 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) iD8DBQFIDXvxBvzDRVjxmYERAjaAAJ0VS8NTQB74nA7sKYHBsA2tTfiB+gCeO3Rv EhPAE/Zkfkri6hVuRnni4xg= =2hqm -----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/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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 22 09:26:33 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 22 Apr 2008 09:26:33 +0200 Subject: FW: SMS issue Nagios 3.0 In-Reply-To: <6504836CA50DCC49B810660A47AA91AC1E879F@exchange.ACE1.NET> References: <6504836CA50DCC49B810660A47AA91AC1E879F@exchange.ACE1.NET> Message-ID: <200804220926.33255.cschneemann@suse.de> On Tuesday April 22 2008 08:13:29 am Henrik Schou wrote: > When I try as the nagios user I get the following error: > > sendsms xxxxxxxxxx test > mktemp: cannot create temp file /var/spool/sms/outgoing/send_L23225: > Permission denied > /usr/local/bin/sendsms: line 25: $FILE: ambiguous redirect > /usr/local/bin/sendsms: line 26: $FILE: ambiguous redirect > /usr/local/bin/sendsms: line 27: $FILE: ambiguous redirect > [nagios at nagios bin]$ > > Which user is the right owner for sendsms? Have a short look at /var/spool/sms, which user owns the directories? Simply add the nagios user to the group which owns these directories. (Don't know which Distribution you're using, so it could be differ from distribution to distribution) Christian > > /Henrik > > > -----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: 22. april 2008 07:48 > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] SMS issue Nagios 3.0 > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.mimesweeper.com > ********************************************************************** > > Henrik Schou wrote: > | I have installed Nagios 3.0 and I have some issues with Nagios sending > | sms-messages. I have installed smstools, and sendsms works fine from > > the > > | command line. But when I want Nagios to send a notification, it fails. > | Could this be because of wrong user rights? I have changed the owner > > of > > | sendsms to Nagios, but that didn't help. > > Have you tested it by becoming the nagios user and using the exact > commandline from your definition? > > Tests run as root or another user are not relevant. You need to know > what happens as the nagios user. > > So `su - nagios` and test again. > > Hugo. -- 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 schou at acebiosciences.com Tue Apr 22 12:51:44 2008 From: schou at acebiosciences.com (Henrik Schou) Date: Tue, 22 Apr 2008 12:51:44 +0200 Subject: FW: FW: SMS issue Nagios 3.0 Message-ID: <6504836CA50DCC49B810660A47AA91AC1E87C7@exchange.ACE1.NET> Now I can send SMS' as the nagios user from the command line to my mobile, using sendsms xxxxxxxxxx test. If I try to send using the command: /usr/local/bin/sendsms $PAGER$ "Nagios: Service $SERVICEDESC$ on $HOSTALIAS$ is in state: $SERVICESTATE$" Nothing happens, the command doesn't create an error, so I guess it might be my contacts.cfg's $PAGER$ which are causing my problem now?? /Henrik -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: 22. april 2008 09:27 To: nagios-users at lists.sourceforge.net Cc: Henrik Schou Subject: Re: [Nagios-users] FW: SMS issue Nagios 3.0 On Tuesday April 22 2008 08:13:29 am Henrik Schou wrote: > When I try as the nagios user I get the following error: > > sendsms xxxxxxxxxx test > mktemp: cannot create temp file /var/spool/sms/outgoing/send_L23225: > Permission denied > /usr/local/bin/sendsms: line 25: $FILE: ambiguous redirect > /usr/local/bin/sendsms: line 26: $FILE: ambiguous redirect > /usr/local/bin/sendsms: line 27: $FILE: ambiguous redirect > [nagios at nagios bin]$ > > Which user is the right owner for sendsms? Have a short look at /var/spool/sms, which user owns the directories? Simply add the nagios user to the group which owns these directories. (Don't know which Distribution you're using, so it could be differ from distribution to distribution) Christian > > /Henrik > > > -----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: 22. april 2008 07:48 > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] SMS issue Nagios 3.0 > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.mimesweeper.com > ********************************************************************** > > Henrik Schou wrote: > | I have installed Nagios 3.0 and I have some issues with Nagios sending > | sms-messages. I have installed smstools, and sendsms works fine from > > the > > | command line. But when I want Nagios to send a notification, it fails. > | Could this be because of wrong user rights? I have changed the owner > > of > > | sendsms to Nagios, but that didn't help. > > Have you tested it by becoming the nagios user and using the exact > commandline from your definition? > > Tests run as root or another user are not relevant. You need to know > what happens as the nagios user. > > So `su - nagios` and test again. > > Hugo. -- 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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 22 14:06:37 2008 From: john.nagios at gmail.com (John Duraiswamy) Date: Tue, 22 Apr 2008 08:06:37 -0400 Subject: HOST/SERVICE VIEW ACCESS Message-ID: Hi Everyone, By default, users can only view information for hosts or services that they are contacts for. In my installation I have setup only some contacts to view only their hosts and some services of those hosts. But when they log in they can view all the services for those hosts. Is this a bug? Thanks, -john -------------- 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 Tue Apr 22 14:37:25 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Apr 2008 07:37:25 -0500 Subject: HOST/SERVICE VIEW ACCESS 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 John Duraiswamy > Sent: Tuesday, April 22, 2008 7:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] HOST/SERVICE VIEW ACCESS > > Hi Everyone, > > By default, users can only view information for hosts or services that they > are contacts for. In my installation I have setup only some contacts to view > only their hosts and some services of those hosts. But when they log in they > can view all the services for those hosts. Is this a bug? It's certain to be a misconfiguration issue. A educated guess based on the (no) information you've provided would be to check the authorized_for_* variables. -- 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 Tue Apr 22 14:40:48 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Apr 2008 07:40:48 -0500 Subject: FW: FW: SMS issue Nagios 3.0 In-Reply-To: <6504836CA50DCC49B810660A47AA91AC1E87C7@exchange.ACE1.NET> References: <6504836CA50DCC49B810660A47AA91AC1E87C7@exchange.ACE1.NET> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Henrik Schou > Sent: Tuesday, April 22, 2008 5:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: FW: SMS issue Nagios 3.0 > > Now I can send SMS' as the nagios user from the command line to my mobile, > using sendsms xxxxxxxxxx test. > > If I try to send using the command: /usr/local/bin/sendsms $PAGER$ "Nagios: > Service $SERVICEDESC$ on $HOSTALIAS$ is in state: $SERVICESTATE$" > > Nothing happens, the command doesn't create an error, so I guess it might be > my contacts.cfg's $PAGER$ which are causing my problem now?? If that is the precise command line you used for manually testing, it will fail because $PAGER$ (and the others) have no meaning for the shell. The idea was to substitute in the appropriate values for those variables for you test. -- 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 john.nagios at gmail.com Tue Apr 22 15:00:17 2008 From: john.nagios at gmail.com (John Duraiswamy) Date: Tue, 22 Apr 2008 09:00:17 -0400 Subject: HOST/SERVICE VIEW ACCESS In-Reply-To: References: Message-ID: Marc, I want the NOC folks to see only ping not ssh, but they can view ping and ssh. define host { use generic-host host_name DS-Router alias DS-Router address 10.32.0.254 contact_groups NOC icon_image switch.png } define service { use generic-service host_name DS-Router check_command check_ping!100.0,20%!800.0,60% service_description ping contact_groups NOC } define service { use generic-service host_name DS-Router check_command check_ssh!100.0,20%!500.0,60% service_description ssh contact_groups ADMIN } authorized_for_all_services=ADMIN authorized_for_all_hosts=ADMIN On Tue, Apr 22, 2008 at 8:37 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 John Duraiswamy > > Sent: Tuesday, April 22, 2008 7:07 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] HOST/SERVICE VIEW ACCESS > > > > Hi Everyone, > > > > By default, users can only view information for hosts or services that > they > > are contacts for. In my installation I have setup only some contacts > to view > > only their hosts and some services of those hosts. But when they log > in they > > can view all the services for those hosts. Is this a bug? > > It's certain to be a misconfiguration issue. A educated guess based on > the (no) information you've provided would be to check the > authorized_for_* variables. > > -- > 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 robert.ferguson at replacements.com Tue Apr 22 15:01:24 2008 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Tue, 22 Apr 2008 09:01:24 -0400 Subject: two notification timeperiods overlapping References: <8ee061010803310839t4f9ed04dg984d0b87124cc114@mail.gmail.com><8ee061010804010755y5dd0387t3d85c7464a30bd73@mail.gmail.com> <8ee061010804211013y2d6fba59y7bdb91b6d10cf734@mail.gmail.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2C4B@RL03EXCH1.replacements.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry Sent: Monday, April 21, 2008 1:13 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] two notification timeperiods overlapping This issue still exists. I can't see how it can be anything other than a bug but I would like some clarification. Anyone else doing something like this? > On Mon, Mar 31, 2008 at 10:39 AM, Terry wrote: > > Hello, > > > > I have two timeperiods that do NOT overlap in the config but two > > contacts with each associated timeperiod are both being notified. We > > are in the engineer04 rotation according to my calculations. Anyone > > see why this is happening? > > > > define timeperiod{ > > timeperiod_name engineer03 > > alias engineer03 > > 2007-11-19 / 42 08:00-24:00 > > 2007-11-20 / 42 00:00-24:00 > > 2007-11-21 / 42 00:00-24:00 > > 2007-11-22 / 42 00:00-24:00 > > 2007-11-23 / 42 00:00-24:00 > > 2007-11-24 / 42 00:00-24:00 > > 2007-11-25 / 42 00:00-24:00 > > 2007-11-26 / 42 00:00-08:00 > > } > > > > define timeperiod{ > > timeperiod_name engineer03-workhours > > alias engineer03-workhours > > 2007-11-19 / 42 08:00-17:00 > > 2007-11-20 / 42 08:00-17:00 > > 2007-11-21 / 42 08:00-17:00 > > 2007-11-22 / 42 08:00-17:00 > > 2007-11-23 / 42 08:00-17:00 > > 2007-11-24 / 42 08:00-17:00 > > 2007-11-25 / 42 08:00-17:00 > > } > > > > define timeperiod{ > > timeperiod_name engineer04 > > alias engineer04 > > 2007-11-26 / 42 08:00-24:00 > > 2007-11-27 / 42 00:00-24:00 > > 2007-11-28 / 42 00:00-24:00 > > 2007-11-29 / 42 00:00-24:00 > > 2007-11-30 / 42 00:00-24:00 > > 2007-12-01 / 42 00:00-24:00 > > 2007-12-02 / 42 00:00-24:00 > > 2007-12-03 / 42 00:00-08:00 > > } > > define timeperiod{ > > timeperiod_name engineer04-workhours > > alias engineer04-workhours > > 2007-11-26 / 42 08:00-17:00 > > 2007-11-27 / 42 00:00-17:00 > > 2007-11-28 / 42 00:00-17:00 > > 2007-11-29 / 42 00:00-17:00 > > 2007-11-30 / 42 00:00-17:00 > > 2007-12-01 / 42 00:00-17:00 > > 2007-12-02 / 42 00:00-17:00 > > } > > > > define contact{ > > contact_name jdoe-email-warning > > alias jdoe-email-warning > > service_notification_period engineer03-workhours > > host_notification_period engineer03-workhours > > service_notification_options w,u > > host_notification_options n > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email jdoe at hotmail.com > > } > > > > define contact{ > > contact_name narf-email-warning > > alias nar-email-warning > > service_notification_period engineer04-workhours > > host_notification_period engineer04-workhours > > service_notification_options w,u > > host_notification_options n > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email narf at hotmail.com > > } > > > > > > [1206977436] SERVICE NOTIFICATION: jdoe-email-warning;DEMETER;drive > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > > (85%) - Free: 1. > > 76G (15%) > warning > > [1206977436] SERVICE NOTIFICATION: narf-email-warning;DEMETER;drive > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > > (85%) - Fr > > ee: 1.76G (15%) > warning > > > > You timestamp on this alert is around 10:15 AM. > > > > 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/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 Good Morning List, I am having the same problem. What is happening is on the switch over day (Monday at 08:00) between analyst1 and sysadmin, analyst1 is still getting pages from Nagios, forturnally, so is the sysadmin, but, if I have my configs right, the analyst1 should not be getting pages. The logs for Nagios indicate that both are still being paged. On Tuesday, (which is the second day in the rotation) the analyst stops getting pages. Any thoughts or ideas? Thanks in advance. Robert # 'sysadmin On-Call' timeperiod definition define timeperiod{ timeperiod_name sysadmin-on-call alias sysadmin On Call 2008-03-10 / 21 08:00-24:00 ;Every Third Monday at 8:00 am 2008-03-11 / 21 00:00-24:00 ;Every Third Tuesday 2008-03-12 / 21 00:00-24:00 ;Every Third Wed 2008-03-13 / 21 00:00-24:00 ;Every Third Thur 2008-03-14 / 21 00:00-24:00 ;Every Third Fri 2008-03-15 / 21 00:00-24:00 ;Every Third Sat 2008-03-16 / 21 00:00-24:00 ;Every Third Sun 2008-03-17 / 21 00:00-08:00 ;Every Third Monday from midnight to 8:00 am } # 'analyst1 On-Call' timeperiod definition define timeperiod{ timeperiod_name keith-on-call alias analyst1 On Call 2008-03-03 / 21 08:00-24:00 ;Every Third Monday at 8:00 am 2008-03-04 / 21 00:00-24:00 ;Every Third Tuesday 2008-03-05 / 21 00:00-24:00 ;Every Third Wed 2008-03-06 / 21 00:00-24:00 ;Every Third Thur 2008-03-07 / 21 00:00-24:00 ;Every Third Fri 2008-03-08 / 21 00:00-24:00 ;Every Third Sat 2008-03-09 / 21 00:00-24:00 ;Every Third Sun 2008-03-10 / 21 00:00-08:00 ;Every Third Monday from midnight to 8:00 am } # 'analyst2 On-Call' timeperiod definition define timeperiod{ timeperiod_name drew-on-call alias analyst2 On Call 2008-03-17 / 21 08:00-24:00 ;Every Third Monday at 8:00 am 2008-03-18 / 21 00:00-24:00 ;Every Third Tuesday 2008-03-19 / 21 00:00-24:00 ;Every Third Wed 2008-03-20 / 21 00:00-24:00 ;Every Third Thur 2008-03-21 / 21 00:00-24:00 ;Every Third Fri 2008-03-22 / 21 00:00-24:00 ;Every Third Sat 2008-03-23 / 21 00:00-24:00 ;Every Third Sun 2008-03-24 / 21 00:00-08:00 ;Every Third Monday } define contact{ contact_name sysadmin-on-call ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias sysadmin On Call ; Full name of user host_notification_period sysadmin-on-call service_notification_period sysadmin-on-call email phoneforsysadmin at phonecarrier.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contact{ contact_name analyst1-on-call ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias analyst1 On Call ; Full name of user host_notification_period analyst1-on-call service_notification_period analyst1-on-call email phoneforanalyst1 at phonecarrier.com } define contact{ contact_name analyst2-on-call ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias analyst2 On Call ; Full name of user host_notification_period analyst1-on-call service_notification_period analyst1-on-call email phoneforanalyst2 at phonecarrier.com } Thanks in advance, Robert ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Tue Apr 22 15:09:43 2008 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Tue, 22 Apr 2008 09:09:43 -0400 Subject: two notification timeperiods overlapping References: <8ee061010803310839t4f9ed04dg984d0b87124cc114@mail.gmail.com><8ee061010804010755y5dd0387t3d85c7464a30bd73@mail.gmail.com><8ee061010804211013y2d6fba59y7bdb91b6d10cf734@mail.gmail.com> <1DBAECAF1663DF4B97779F24ABABE24A014A2C4B@RL03EXCH1.replacements.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2C4C@RL03EXCH1.replacements.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry Sent: Monday, April 21, 2008 1:13 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] two notification timeperiods overlapping This issue still exists. I can't see how it can be anything other than a bug but I would like some clarification. Anyone else doing something like this? > On Mon, Mar 31, 2008 at 10:39 AM, Terry wrote: > > Hello, > > > > I have two timeperiods that do NOT overlap in the config but two > > contacts with each associated timeperiod are both being notified. We > > are in the engineer04 rotation according to my calculations. Anyone > > see why this is happening? > > > > define timeperiod{ > > timeperiod_name engineer03 > > alias engineer03 > > 2007-11-19 / 42 08:00-24:00 > > 2007-11-20 / 42 00:00-24:00 > > 2007-11-21 / 42 00:00-24:00 > > 2007-11-22 / 42 00:00-24:00 > > 2007-11-23 / 42 00:00-24:00 > > 2007-11-24 / 42 00:00-24:00 > > 2007-11-25 / 42 00:00-24:00 > > 2007-11-26 / 42 00:00-08:00 > > } > > > > define timeperiod{ > > timeperiod_name engineer03-workhours > > alias engineer03-workhours > > 2007-11-19 / 42 08:00-17:00 > > 2007-11-20 / 42 08:00-17:00 > > 2007-11-21 / 42 08:00-17:00 > > 2007-11-22 / 42 08:00-17:00 > > 2007-11-23 / 42 08:00-17:00 > > 2007-11-24 / 42 08:00-17:00 > > 2007-11-25 / 42 08:00-17:00 > > } > > > > define timeperiod{ > > timeperiod_name engineer04 > > alias engineer04 > > 2007-11-26 / 42 08:00-24:00 > > 2007-11-27 / 42 00:00-24:00 > > 2007-11-28 / 42 00:00-24:00 > > 2007-11-29 / 42 00:00-24:00 > > 2007-11-30 / 42 00:00-24:00 > > 2007-12-01 / 42 00:00-24:00 > > 2007-12-02 / 42 00:00-24:00 > > 2007-12-03 / 42 00:00-08:00 > > } > > define timeperiod{ > > timeperiod_name engineer04-workhours > > alias engineer04-workhours > > 2007-11-26 / 42 08:00-17:00 > > 2007-11-27 / 42 00:00-17:00 > > 2007-11-28 / 42 00:00-17:00 > > 2007-11-29 / 42 00:00-17:00 > > 2007-11-30 / 42 00:00-17:00 > > 2007-12-01 / 42 00:00-17:00 > > 2007-12-02 / 42 00:00-17:00 > > } > > > > define contact{ > > contact_name jdoe-email-warning > > alias jdoe-email-warning > > service_notification_period engineer03-workhours > > host_notification_period engineer03-workhours > > service_notification_options w,u > > host_notification_options n > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email jdoe at hotmail.com > > } > > > > define contact{ > > contact_name narf-email-warning > > alias nar-email-warning > > service_notification_period engineer04-workhours > > host_notification_period engineer04-workhours > > service_notification_options w,u > > host_notification_options n > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email narf at hotmail.com > > } > > > > > > [1206977436] SERVICE NOTIFICATION: jdoe-email-warning;DEMETER;drive > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > > (85%) - Free: 1. > > 76G (15%) > warning > > [1206977436] SERVICE NOTIFICATION: narf-email-warning;DEMETER;drive > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: 10.2G > > (85%) - Fr > > ee: 1.76G (15%) > warning > > > > You timestamp on this alert is around 10:15 AM. > > > > 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/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 Good Morning List, I am having the same problem. What is happening is on the switch over day (Monday at 08:00) between analyst1 and sysadmin, analyst1 is still getting pages from Nagios, forturnally, so is the sysadmin, but, if I have my configs right, the analyst1 should not be getting pages. The logs for Nagios indicate that both are still being paged. On Tuesday, (which is the second day in the rotation) the analyst stops getting pages. Any thoughts or ideas? Thanks in advance. Robert # 'sysadmin On-Call' timeperiod definition define timeperiod{ timeperiod_name sysadmin-on-call alias sysadmin On Call 2008-03-10 / 21 08:00-24:00 ;Every Third Monday at 8:00 am 2008-03-11 / 21 00:00-24:00 ;Every Third Tuesday 2008-03-12 / 21 00:00-24:00 ;Every Third Wed 2008-03-13 / 21 00:00-24:00 ;Every Third Thur 2008-03-14 / 21 00:00-24:00 ;Every Third Fri 2008-03-15 / 21 00:00-24:00 ;Every Third Sat 2008-03-16 / 21 00:00-24:00 ;Every Third Sun 2008-03-17 / 21 00:00-08:00 ;Every Third Monday from midnight to 8:00 am } # 'analyst1 On-Call' timeperiod definition define timeperiod{ timeperiod_name keith-on-call alias analyst1 On Call 2008-03-03 / 21 08:00-24:00 ;Every Third Monday at 8:00 am 2008-03-04 / 21 00:00-24:00 ;Every Third Tuesday 2008-03-05 / 21 00:00-24:00 ;Every Third Wed 2008-03-06 / 21 00:00-24:00 ;Every Third Thur 2008-03-07 / 21 00:00-24:00 ;Every Third Fri 2008-03-08 / 21 00:00-24:00 ;Every Third Sat 2008-03-09 / 21 00:00-24:00 ;Every Third Sun 2008-03-10 / 21 00:00-08:00 ;Every Third Monday from midnight to 8:00 am } # 'analyst2 On-Call' timeperiod definition define timeperiod{ timeperiod_name drew-on-call alias analyst2 On Call 2008-03-17 / 21 08:00-24:00 ;Every Third Monday at 8:00 am 2008-03-18 / 21 00:00-24:00 ;Every Third Tuesday 2008-03-19 / 21 00:00-24:00 ;Every Third Wed 2008-03-20 / 21 00:00-24:00 ;Every Third Thur 2008-03-21 / 21 00:00-24:00 ;Every Third Fri 2008-03-22 / 21 00:00-24:00 ;Every Third Sat 2008-03-23 / 21 00:00-24:00 ;Every Third Sun 2008-03-24 / 21 00:00-08:00 ;Every Third Monday } define contact{ contact_name sysadmin-on-call ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias sysadmin On Call ; Full name of user host_notification_period sysadmin-on-call service_notification_period sysadmin-on-call email phoneforsysadmin at phonecarrier.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contact{ contact_name analyst1-on-call ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias analyst1 On Call ; Full name of user host_notification_period analyst1-on-call service_notification_period analyst1-on-call email phoneforanalyst1 at phonecarrier.com } define contact{ contact_name analyst2-on-call ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias analyst2 On Call ; Full name of user host_notification_period analyst1-on-call service_notification_period analyst1-on-call email phoneforanalyst2 at phonecarrier.com } Thanks in advance, Robert ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 Sorry, should have said that I am running Nagios 3.0rc1. Thanks again, Robert ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Eriksson at springmobil.se Tue Apr 22 15:19:05 2008 From: Dan.Eriksson at springmobil.se (Dan Eriksson) Date: Tue, 22 Apr 2008 15:19:05 +0200 Subject: FW: FW: SMS issue Nagios 3.0 In-Reply-To: References: <6504836CA50DCC49B810660A47AA91AC1E87C7@exchange.ACE1.NET> Message-ID: Hi Henrik, I can recommend using the script located at this page: http://www.waggy.at/nagios/capture_plugin.htm It helps you to capture the output from the script you are trying to run, and will hopefully help you to figure out what is causing the problem. There are good configuration examples on the page as well. Best regards, Dan > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Henrik Schou > Sent: Tuesday, April 22, 2008 5:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: FW: SMS issue Nagios 3.0 > > Now I can send SMS' as the nagios user from the command line to my mobile, > using sendsms xxxxxxxxxx test. > > If I try to send using the command: /usr/local/bin/sendsms $PAGER$ "Nagios: > Service $SERVICEDESC$ on $HOSTALIAS$ is in state: $SERVICESTATE$" > > Nothing happens, the command doesn't create an error, so I guess it might be > my contacts.cfg's $PAGER$ which are causing my problem 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 From andurin at process-zero.de Tue Apr 22 15:27:23 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Tue, 22 Apr 2008 15:27:23 +0200 Subject: HOST/SERVICE VIEW ACCESS In-Reply-To: References: Message-ID: <480DE7BB.4090100@process-zero.de> John Duraiswamy schrieb: > Hi Everyone, > > By default, users can only view information for hosts or services that > they are contacts for. In my installation I have setup only some > contacts to view only their hosts and some services of those hosts. > But when they log in they can view all the services for those hosts. > Is this a bug? > > Thanks, > -john AFAIK nagios handles this as follows: If you are in a contactgroup of a service, you are allowed to see this service If you are in a contactgroup of a host, you are allowed to see this host + all services of that host That's Nagios default. But I've seen a patch a long time ago in the deep net to eleminate the "+ all services" behavior. Just my 2 Cents. Regards, Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 22 16:16:51 2008 From: td3201 at gmail.com (Terry) Date: Tue, 22 Apr 2008 09:16:51 -0500 Subject: two notification timeperiods overlapping In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A014A2C4C@RL03EXCH1.replacements.com> References: <8ee061010803310839t4f9ed04dg984d0b87124cc114@mail.gmail.com> <8ee061010804010755y5dd0387t3d85c7464a30bd73@mail.gmail.com> <8ee061010804211013y2d6fba59y7bdb91b6d10cf734@mail.gmail.com> <1DBAECAF1663DF4B97779F24ABABE24A014A2C4B@RL03EXCH1.replacements.com> <1DBAECAF1663DF4B97779F24ABABE24A014A2C4C@RL03EXCH1.replacements.com> Message-ID: <8ee061010804220716q4ac23704s2e69b51c9ddb62a7@mail.gmail.com> On Tue, Apr 22, 2008 at 8:09 AM, Robert Ferguson wrote: > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry > Sent: Monday, April 21, 2008 1:13 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] two notification timeperiods overlapping > > This issue still exists. I can't see how it can be anything other > than a bug but I would like some clarification. Anyone else doing > something like this? > > > On Mon, Mar 31, 2008 at 10:39 AM, Terry wrote: > > > Hello, > > > > > > I have two timeperiods that do NOT overlap in the config but two > > > contacts with each associated timeperiod are both being notified. > We > > > are in the engineer04 rotation according to my calculations. > Anyone > > > see why this is happening? > > > > > > define timeperiod{ > > > timeperiod_name engineer03 > > > alias engineer03 > > > 2007-11-19 / 42 08:00-24:00 > > > 2007-11-20 / 42 00:00-24:00 > > > 2007-11-21 / 42 00:00-24:00 > > > 2007-11-22 / 42 00:00-24:00 > > > 2007-11-23 / 42 00:00-24:00 > > > 2007-11-24 / 42 00:00-24:00 > > > 2007-11-25 / 42 00:00-24:00 > > > 2007-11-26 / 42 00:00-08:00 > > > } > > > > > > define timeperiod{ > > > timeperiod_name engineer03-workhours > > > alias engineer03-workhours > > > 2007-11-19 / 42 08:00-17:00 > > > 2007-11-20 / 42 08:00-17:00 > > > 2007-11-21 / 42 08:00-17:00 > > > 2007-11-22 / 42 08:00-17:00 > > > 2007-11-23 / 42 08:00-17:00 > > > 2007-11-24 / 42 08:00-17:00 > > > 2007-11-25 / 42 08:00-17:00 > > > } > > > > > > define timeperiod{ > > > timeperiod_name engineer04 > > > alias engineer04 > > > 2007-11-26 / 42 08:00-24:00 > > > 2007-11-27 / 42 00:00-24:00 > > > 2007-11-28 / 42 00:00-24:00 > > > 2007-11-29 / 42 00:00-24:00 > > > 2007-11-30 / 42 00:00-24:00 > > > 2007-12-01 / 42 00:00-24:00 > > > 2007-12-02 / 42 00:00-24:00 > > > 2007-12-03 / 42 00:00-08:00 > > > } > > > define timeperiod{ > > > timeperiod_name engineer04-workhours > > > alias engineer04-workhours > > > 2007-11-26 / 42 08:00-17:00 > > > 2007-11-27 / 42 00:00-17:00 > > > 2007-11-28 / 42 00:00-17:00 > > > 2007-11-29 / 42 00:00-17:00 > > > 2007-11-30 / 42 00:00-17:00 > > > 2007-12-01 / 42 00:00-17:00 > > > 2007-12-02 / 42 00:00-17:00 > > > } > > > > > > define contact{ > > > contact_name jdoe-email-warning > > > alias jdoe-email-warning > > > service_notification_period engineer03-workhours > > > host_notification_period engineer03-workhours > > > service_notification_options w,u > > > host_notification_options n > > > service_notification_commands notify-by-email > > > host_notification_commands host-notify-by-email > > > email jdoe at hotmail.com > > > } > > > > > > define contact{ > > > contact_name narf-email-warning > > > alias nar-email-warning > > > service_notification_period engineer04-workhours > > > host_notification_period engineer04-workhours > > > service_notification_options w,u > > > host_notification_options n > > > service_notification_commands notify-by-email > > > host_notification_commands host-notify-by-email > > > email narf at hotmail.com > > > } > > > > > > > > > [1206977436] SERVICE NOTIFICATION: > jdoe-email-warning;DEMETER;drive > > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: > 10.2G > > > (85%) - Free: 1. > > > 76G (15%) > warning > > > [1206977436] SERVICE NOTIFICATION: > narf-email-warning;DEMETER;drive > > > used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used: > 10.2G > > > (85%) - Fr > > > ee: 1.76G (15%) > warning > > > > > > You timestamp on this alert is around 10:15 AM. > > > > > > 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/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 > > > > Good Morning List, > > > I am having the same problem. What is happening is on the switch over > day (Monday at 08:00) between analyst1 and sysadmin, analyst1 is still > getting pages from Nagios, forturnally, so is the sysadmin, but, if I > have my configs right, the analyst1 should not be getting pages. The > logs for Nagios indicate that both are still being paged. On Tuesday, > (which is the second day in the rotation) the analyst stops getting > pages. Any thoughts or ideas? > > Thanks in advance. > > Robert > > # 'sysadmin On-Call' timeperiod definition > define timeperiod{ > timeperiod_name sysadmin-on-call > alias sysadmin On Call > 2008-03-10 / 21 08:00-24:00 ;Every Third Monday at > 8:00 am > 2008-03-11 / 21 00:00-24:00 ;Every Third Tuesday > 2008-03-12 / 21 00:00-24:00 ;Every Third Wed > 2008-03-13 / 21 00:00-24:00 ;Every Third Thur > 2008-03-14 / 21 00:00-24:00 ;Every Third Fri > 2008-03-15 / 21 00:00-24:00 ;Every Third Sat > 2008-03-16 / 21 00:00-24:00 ;Every Third Sun > 2008-03-17 / 21 00:00-08:00 ;Every Third Monday from > midnight to 8:00 am > } > > > > # 'analyst1 On-Call' timeperiod definition > define timeperiod{ > timeperiod_name keith-on-call > alias analyst1 On Call > 2008-03-03 / 21 08:00-24:00 ;Every Third Monday at > 8:00 am > 2008-03-04 / 21 00:00-24:00 ;Every Third Tuesday > 2008-03-05 / 21 00:00-24:00 ;Every Third Wed > 2008-03-06 / 21 00:00-24:00 ;Every Third Thur > 2008-03-07 / 21 00:00-24:00 ;Every Third Fri > 2008-03-08 / 21 00:00-24:00 ;Every Third Sat > 2008-03-09 / 21 00:00-24:00 ;Every Third Sun > 2008-03-10 / 21 00:00-08:00 ;Every Third Monday from > midnight to 8:00 am > } > > > > # 'analyst2 On-Call' timeperiod definition > define timeperiod{ > timeperiod_name drew-on-call > alias analyst2 On Call > 2008-03-17 / 21 08:00-24:00 ;Every Third Monday at > 8:00 am > 2008-03-18 / 21 00:00-24:00 ;Every Third Tuesday > 2008-03-19 / 21 00:00-24:00 ;Every Third Wed > 2008-03-20 / 21 00:00-24:00 ;Every Third Thur > 2008-03-21 / 21 00:00-24:00 ;Every Third Fri > 2008-03-22 / 21 00:00-24:00 ;Every Third Sat > 2008-03-23 / 21 00:00-24:00 ;Every Third Sun > 2008-03-24 / 21 00:00-08:00 ;Every Third Monday > } > > define contact{ > contact_name sysadmin-on-call ; Short name of > user > use generic-contact ; Inherit > default values from generic-contact template (defined above) > alias sysadmin On Call ; Full name of > user > host_notification_period sysadmin-on-call > service_notification_period sysadmin-on-call > email phoneforsysadmin at phonecarrier.com ; > <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** > } > > > > define contact{ > contact_name analyst1-on-call ; Short name of > user > use generic-contact ; > Inherit default values from generic-contact template (defined above) > alias analyst1 On Call ; Full name of > user > host_notification_period analyst1-on-call > service_notification_period analyst1-on-call > email phoneforanalyst1 at phonecarrier.com > } > > define contact{ > contact_name analyst2-on-call ; Short name of > user > use generic-contact ; > Inherit default values from generic-contact template (defined above) > alias analyst2 On Call ; Full name of > user > host_notification_period analyst1-on-call > service_notification_period analyst1-on-call > email phoneforanalyst2 at phonecarrier.com > } > > Thanks in advance, > > Robert > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting 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 > > > Sorry, should have said that I am running Nagios 3.0rc1. > > Thanks again, > > Robert > > ------------------------------------------------------------------------- > I am running 3.0.1. I know that it existed in both 3.0 and 3.0.1. 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 marc at ena.com Tue Apr 22 16:37:19 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Apr 2008 09:37:19 -0500 Subject: HOST/SERVICE VIEW ACCESS {Disarmed} {Fraud?} 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 John Duraiswamy > Sent: Tuesday, April 22, 2008 8:00 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] HOST/SERVICE VIEW ACCESS {Disarmed} {Fraud?} > > Marc, > I want the NOC folks to see only ping not ssh, but they can view ping and ssh. Hendrick is correct in his response. I mis-interpreted what you were trying to accomplish. See the section below the table at -- http://nagios.sourceforge.net/docs/2_0/cgiauth.html#default_rights -- 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 vicjalan at gmail.com Tue Apr 22 18:14:48 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Tue, 22 Apr 2008 12:14:48 -0400 Subject: check App Communication to DB Message-ID: <003301c8a493$fe7e7fb0$49070a0a@sentinel> Hi all, I have need for Nagios to call a URL to determine if our Application is able to communicate with our DB2 database. Basically I don't want Nagios to check if it can communicate with the DB but to check if the App does instead. The URL I'm mentioning returns the text "Database read successful" if it indeed can communicate with the DB. Currently we call this URL manually by entering it into our web browser, but would like to integrate it into Nagios. Does anyone have any suggestions as to how I can accomplish this? Thanks a great deal - VL -------------- 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 john.nagios at gmail.com Tue Apr 22 18:36:07 2008 From: john.nagios at gmail.com (John Duraiswamy) Date: Tue, 22 Apr 2008 12:36:07 -0400 Subject: HOST/SERVICE VIEW ACCESS {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: Thanks! Hendrick, In your e-mail you stated that there was a patch somewhere. Would you know where to find it. Thanks, -john On Tue, Apr 22, 2008 at 10:37 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 John Duraiswamy > > Sent: Tuesday, April 22, 2008 8:00 AM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] HOST/SERVICE VIEW ACCESS {Disarmed} > {Fraud?} > > > > Marc, > > I want the NOC folks to see only ping not ssh, but they can view ping > and ssh. > > Hendrick is correct in his response. I mis-interpreted what you were > trying to accomplish. See the section below the table at -- > > http://nagios.sourceforge.net/docs/2_0/cgiauth.html#default_rights > > -- > 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 aaron.segura at cabelas.com Tue Apr 22 18:54:51 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Tue, 22 Apr 2008 10:54:51 -0600 Subject: check App Communication to DB In-Reply-To: <003301c8a493$fe7e7fb0$49070a0a@sentinel> References: <003301c8a493$fe7e7fb0$49070a0a@sentinel> Message-ID: <1208883291.20196.7.camel@wahoo> check_http On Tue, 2008-04-22 at 12:14 -0400, Victor Lanza wrote: > Hi all, > > > > I have need for Nagios to call a URL to determine if our Application > is able to communicate with our DB2 database. Basically I don?t want > Nagios to check if it can communicate with the DB but to check if the > App does instead. > > > > The URL I?m mentioning returns the text ?Database read successful? if > it indeed can communicate with the DB. Currently we call this URL > manually by entering it into our web browser, but would like to > integrate it into Nagios. > > > > Does anyone have any suggestions as to how I can accomplish this? > > > > Thanks a great deal > > > > - VL > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 vicjalan at gmail.com Tue Apr 22 19:17:46 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Tue, 22 Apr 2008 13:17:46 -0400 Subject: check App Communication to DB In-Reply-To: <1208883291.20196.7.camel@wahoo> References: <003301c8a493$fe7e7fb0$49070a0a@sentinel> <1208883291.20196.7.camel@wahoo> Message-ID: <004701c8a49c$ca403c80$49070a0a@sentinel> Perfect Thank you!! -----Original Message----- From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] Sent: Tuesday, April 22, 2008 12:55 PM To: Victor Lanza Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check App Communication to DB check_http On Tue, 2008-04-22 at 12:14 -0400, Victor Lanza wrote: > Hi all, > > > > I have need for Nagios to call a URL to determine if our Application > is able to communicate with our DB2 database. Basically I don't want > Nagios to check if it can communicate with the DB but to check if the > App does instead. > > > > The URL I'm mentioning returns the text "Database read successful" if > it indeed can communicate with the DB. Currently we call this URL > manually by entering it into our web browser, but would like to > integrate it into Nagios. > > > > Does anyone have any suggestions as to how I can accomplish this? > > > > Thanks a great deal > > > > - VL > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting 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 bjlockie at lockie.ca Tue Apr 22 19:28:36 2008 From: bjlockie at lockie.ca (James) Date: Tue, 22 Apr 2008 13:28:36 -0400 (EDT) Subject: check_ssh problem Message-ID: <43304.207.210.33.66.1208885316.squirrel@webmail.lockie.ca> I'm having the same problem as: http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?7977 It was posted in 2006 and there s no solution posted. I am using Nagios 2.10 and I can't upgrade. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 22 20:03:55 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Apr 2008 13:03:55 -0500 Subject: check_ssh problem In-Reply-To: <43304.207.210.33.66.1208885316.squirrel@webmail.lockie.ca> References: <43304.207.210.33.66.1208885316.squirrel@webmail.lockie.ca> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James > Sent: Tuesday, April 22, 2008 12:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_ssh problem > > > I'm having the same problem as: > http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?7977 > It was posted in 2006 and there s no solution posted. > > I am using Nagios 2.10 and I can't upgrade. It's not a nagios issue. The log entries are valid and are from sshd. Check_ssh doesn't complete a login so sshd complains appropriately. The options, as I see them are -- - Modify sshd to not log those (probably not a good idea). - change your check methodology. Perhaps use check_by_ssh to run check_dummy on the remote machine perhaps. -- 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 mark at hennessy.cx Tue Apr 22 20:18:15 2008 From: mark at hennessy.cx (Mark Hennessy) Date: Tue, 22 Apr 2008 14:18:15 -0400 Subject: Nagios 2.10 and circular path tests Message-ID: I have about 2300 services being checked in my Nagios setup, and a bunch of them are dependent upon regexes. I also have over 100000 service dependencies which also depend on regexes. It takes upwards of two hours for Nagios to restart. Is there anything that I can do to mitigate this in 2.x? I'm aware of the mechanism in 3.x to do it, but I'm afraid that my config would require substantial reworking to conform with 3.x and there's no install RPM for Centos 5.x for Nagios 3.x that I can find publicly. Please Advise ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjn at umn.edu Tue Apr 22 21:24:20 2008 From: mjn at umn.edu (mjn) Date: Tue, 22 Apr 2008 14:24:20 -0500 Subject: Issues getting check_nt -v COUNTERS to work... Message-ID: <3C182837-0420-4922-A0B5-BD1EAF5215EA@umn.edu> All- For whatever reason, I cannot get a check_nt -v COUNTER check to work through nagios itself. I can run this: [root at narsil plugins]# sudo -u nagios ./check_nt -H 192.168.110.84 -p 5667 -v COUNTER -l "\\SQLServer:General Statistics\\User Connections" And it responds with: 53 But with the check defined (details below) and run through nagios, the GUI shows critical and "Name or service not known" Any idea what the issue might be? I am sure I've missed something simple... Here's the grit: nagios-plugins-nt-1.4.11-2.fc8 check_nt v1590 (nagios-plugins 1.4.11) nagios-2.11-3.fc8 opmon 2.7.1.0 SQL Connections Check: define command { command_name check_nt_mssql_conns command_line $USER1$/check_nt -H %HOSTADDRESS% -p $ARG1$ -v COUNTER -l "\\SQLServer:General Statistics\\User Connections" } Service Definition: define service { use informational-service host_name sql service_description MS_SQL_User_Connections contact_groups windows-admins check_command check_nt_mssql_conns!5667 } -- ____________________________________ Mike Neuharth Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v ===================================== College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 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 al at its-lehmann.de Tue Apr 22 22:28:12 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 22 Apr 2008 22:28:12 +0200 Subject: Issues getting check_nt -v COUNTERS to work... In-Reply-To: <3C182837-0420-4922-A0B5-BD1EAF5215EA@umn.edu> References: <3C182837-0420-4922-A0B5-BD1EAF5215EA@umn.edu> Message-ID: <480E4A5C.1070305@its-lehmann.de> Hi, 22.04.2008 21:24, mjn wrote: > All- > > For whatever reason, I cannot get a check_nt -v COUNTER check to work > through nagios itself. I can run this: > [root at narsil plugins]# sudo -u nagios ./check_nt -H 192.168.110.84 > -p 5667 -v COUNTER -l "\\SQLServer:General Statistics\\User Connections" > > And it responds with: > 53 > > But with the check defined (details below) and run through nagios, the > GUI shows critical and "Name or service not known" > > > Any idea what the issue might be? I am sure I've missed something simple... Yup. > Here's the grit: > > nagios-plugins-nt-1.4.11-2.fc8 > check_nt v1590 (nagios-plugins 1.4.11) > nagios-2.11-3.fc8 > opmon 2.7.1.0 > > > SQL Connections Check: > define command { > command_name check_nt_mssql_conns > command_line $USER1$/check_nt -H %HOSTADDRESS% -p $ARG1$ -v COUNTER Use $HOSTADDRESS$ and see what happens... > -l "\\SQLServer:General Statistics\\User Connections" > } > > Service Definition: > define service { > use informational-service > host_name sql > service_description MS_SQL_User_Connections > contact_groups windows-admins > check_command check_nt_mssql_conns!5667 > } Arno > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 schou at acebiosciences.com Tue Apr 22 22:47:34 2008 From: schou at acebiosciences.com (Henrik Schou) Date: Tue, 22 Apr 2008 22:47:34 +0200 Subject: FW: FW: FW: SMS issue Nagios 3.0 Message-ID: <6504836CA50DCC49B810660A47AA91AC1E87EA@exchange.ACE1.NET> If I run the same command with my number instead of $pager$ I receive a SMS. Therefore I assume that it must be the $pager$ part that is wrong?? /Henrik -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: 22. april 2008 14:41 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FW: FW: SMS issue Nagios 3.0 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Henrik Schou > Sent: Tuesday, April 22, 2008 5:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: FW: SMS issue Nagios 3.0 > > Now I can send SMS' as the nagios user from the command line to my mobile, > using sendsms xxxxxxxxxx test. > > If I try to send using the command: /usr/local/bin/sendsms $PAGER$ "Nagios: > Service $SERVICEDESC$ on $HOSTALIAS$ is in state: $SERVICESTATE$" > > Nothing happens, the command doesn't create an error, so I guess it might be > my contacts.cfg's $PAGER$ which are causing my problem now?? If that is the precise command line you used for manually testing, it will fail because $PAGER$ (and the others) have no meaning for the shell. The idea was to substitute in the appropriate values for those variables for you test. -- 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/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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjn at umn.edu Tue Apr 22 22:41:32 2008 From: mjn at umn.edu (mjn) Date: Tue, 22 Apr 2008 15:41:32 -0500 Subject: Issues getting check_nt -v COUNTERS to work... In-Reply-To: <480E4A5C.1070305@its-lehmann.de> References: <3C182837-0420-4922-A0B5-BD1EAF5215EA@umn.edu> <480E4A5C.1070305@its-lehmann.de> Message-ID: Thanks Arno and Gary for catching my Twiki-inflicted typo! -- ____________________________________ Mike Neuharth Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v ===================================== College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ On Apr 22, 2008, at 3:28 PM, Arno Lehmann wrote: > Hi, > > 22.04.2008 21:24, mjn wrote: >> All- >> >> For whatever reason, I cannot get a check_nt -v COUNTER check to work >> through nagios itself. I can run this: >> [root at narsil plugins]# sudo -u nagios ./check_nt -H 192.168.110.84 >> -p 5667 -v COUNTER -l "\\SQLServer:General Statistics\\User >> Connections" >> >> And it responds with: >> 53 >> >> But with the check defined (details below) and run through nagios, >> the >> GUI shows critical and "Name or service not known" >> >> >> Any idea what the issue might be? I am sure I've missed something >> simple... > > Yup. > >> Here's the grit: >> >> nagios-plugins-nt-1.4.11-2.fc8 >> check_nt v1590 (nagios-plugins 1.4.11) >> nagios-2.11-3.fc8 >> opmon 2.7.1.0 >> >> >> SQL Connections Check: >> define command { >> command_name check_nt_mssql_conns >> command_line $USER1$/check_nt -H %HOSTADDRESS% -p $ARG1$ -v >> COUNTER > > Use $HOSTADDRESS$ and see what happens... > >> -l "\\SQLServer:General Statistics\\User Connections" >> } >> >> Service Definition: >> define service { >> use informational-service >> host_name sql >> service_description MS_SQL_User_Connections >> contact_groups windows-admins >> check_command check_nt_mssql_conns!5667 >> } > > Arno > >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 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 jra at baylink.com Tue Apr 22 22:56:05 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 22 Apr 2008 16:56:05 -0400 Subject: FW: FW: FW: SMS issue Nagios 3.0 In-Reply-To: <6504836CA50DCC49B810660A47AA91AC1E87EA@exchange.ACE1.NET> References: <6504836CA50DCC49B810660A47AA91AC1E87EA@exchange.ACE1.NET> Message-ID: <20080422205605.GE32662@cgi.jachomes.com> On Tue, Apr 22, 2008 at 10:47:34PM +0200, Henrik Schou wrote: > If I run the same command with my number instead of $pager$ I receive a > SMS. Therefore I assume that it must be the $pager$ part that is wrong?? That's what Marc said, yes. $PAGER$ is a 'variable' *to Nagios*. It is not a variable *in the shell*. If you're manually testing a nagios commandline in the shell, you have to substitute in valid values for the values by hand. 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 amontibello at gmail.com Wed Apr 23 04:25:13 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 22 Apr 2008 22:25:13 -0400 Subject: NC_Net Testers needed- Windows Monitoring Message-ID: Hi List; Well its been a very busy year for me, but the long awaited next release of NC_NEt is almost complete. a few items have been added to NC_Net and I could use a few users to help testing before the official release. Email me at NC_Net at Montitech.com and I respond with the current Test version. The Only download Source of NC_NEt is on SourceForgeL http://sourceforge.net/projects/nc-net Fore those not familiar with NC_Net: NC_NEt is a Windows plugin, that can submit passive checks using NSCA or be active checks using check_nt for standard tests or check_nc_net that not only allows access to the extra NC_NEt commands but is fully compatible with any plugin that uses check_nt. NC_NEt offers simple installation with additional configuration when using standard defaults. NC_NEt offers all the command that check_nt has, as well as, Event Logs, WMI, Script Running, Enumeration Commands, Remote configuration, Grouping checks into a single command. Security features include, IP or FQDN testing of incomming Active checks, Stripping Relative Paths out of Script Calls, XOR (Default) NSCA, and naturally changing the Password of check_nt. Alternate Encryption can be used with NSCA though using win32_send_nsca. This version is still using Dot Net 2.0 and will be the last release before upgrading to Dot Net 3.5 IT would be nice to get some feedback from 64Bit Servers, and Vista USers. Thank you TOny NC_Net is opensource and does not require any fees, however, donations for NC_NEt are appreciated and accepted through paypal at Montitech.com -------------- 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 andurin at process-zero.de Wed Apr 23 08:20:32 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Wed, 23 Apr 2008 08:20:32 +0200 Subject: HOST/SERVICE VIEW ACCESS {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: <480ED530.2080105@process-zero.de> John Duraiswamy schrieb: > Thanks! > > Hendrick, ~~~ the next one who write my name with a 'c' gets personal support from myself ~~~ *just kidding* > In your e-mail you stated that there was a patch somewhere. Would you > know where to find it. > As I mentioned, it's a long time ago I've seen this patch. I have to ask the google oracle or www.altinity.org, too. Regards, Hendrik (without 'c') > Thanks, > -john > > On Tue, Apr 22, 2008 at 10:37 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 John Duraiswamy > > Sent: Tuesday, April 22, 2008 8:00 AM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] HOST/SERVICE VIEW ACCESS {Disarmed} > {Fraud?} > > > > Marc, > > I want the NOC folks to see only ping not ssh, but they can view > ping > and ssh. > > Hendrick is correct in his response. I mis-interpreted what you were > trying to accomplish. See the section below the table at -- > > http://nagios.sourceforge.net/docs/2_0/cgiauth.html#default_rights > > -- > 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 cedric.jeanneret at camptocamp.com Wed Apr 23 08:52:51 2008 From: cedric.jeanneret at camptocamp.com (=?ISO-8859-1?Q?C=E9dric_Jeanneret?=) Date: Wed, 23 Apr 2008 08:52:51 +0200 Subject: Load checking (check_load) Message-ID: <480EDCC3.6010100@camptocamp.com> Hi! I have some problem with check_load plugin : I can't manage to have what I want. For now, I have these settings : /usr/lib/nagios/plugins/check_load -w 13,15,25 -c 30,35,40 But nagios warn WARNING - load average: 2.39, 4.89, 5.30 It's a bit... annoying. I just don't understand what's wrong with my configuration. If you have an idea/solution... Thanks in advance! Regards C. Jeanneret ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thenoob06 at gmail.com Wed Apr 23 10:33:10 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed, 23 Apr 2008 10:33:10 +0200 Subject: Problem init.d script Message-ID: <9263743c0804230133i74dd4960y8deb2efdc2f308c2@mail.gmail.com> Hello all, I have a problem with the start script (/etc/init.d/nagios) Sometimes, when I stop or restart Nagios, I have a timeout. Then Nagios crash and it does not restart correctly and starts with the old configuration. kill -9 permits to stop all processes nagios. What can I check on my server to fix this bug ? Nagios Version is 2.9. Thanks for your answer Best Regards TheNoob -------------- 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 andurin at process-zero.de Wed Apr 23 10:40:18 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Wed, 23 Apr 2008 10:40:18 +0200 Subject: Problem init.d script In-Reply-To: <9263743c0804230133i74dd4960y8deb2efdc2f308c2@mail.gmail.com> References: <9263743c0804230133i74dd4960y8deb2efdc2f308c2@mail.gmail.com> Message-ID: <480EF5F2.30405@process-zero.de> 1. I won't believe that "The Noob" is written in your birth certificate 2. x-posting won't help you getting usefull answers 3. after deciding wich mailing list you want - give us more informations (do you use 'restart', 'reload', 'magic') 4. it might be the known behavior, that nagios 2.x won't exit correctly if a hostcheck is just running - have a look in your nagios.cfg about host_check_timeout and set a sleep "that_value +1" between stop and start of your init script @Lists: Sorry for x-posting again ;) The Noob schrieb: > Hello all, > > I have a problem with the start script (/etc/init.d/nagios) > Sometimes, when I stop or restart Nagios, I have a timeout. Then > Nagios crash and it does not restart correctly and starts with the old > configuration. > kill -9 permits to stop all processes nagios. > What can I check on my server to fix this bug ? > Nagios Version is 2.9. > > Thanks for your answer > Best Regards > TheNoob > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone From Mikael.Schmidt at ixx.se Wed Apr 23 11:40:28 2008 From: Mikael.Schmidt at ixx.se (Mikael.Schmidt at ixx.se) Date: Wed, 23 Apr 2008 11:40:28 +0200 Subject: About passive check In-Reply-To: <200804210343.AA02129@S2005110.jp.fujitsu.com> References: <480C0658.2090106@groundworkopensource.com> <200804210343.AA02129@S2005110.jp.fujitsu.com> Message-ID: <521BF49E4CEA4949BDE74A567AC6E4007C503FC1DB@IXXEX1.ixx.local> Afaik, you can change it. Write it to the external command file, var/rw/nagios.cmd, something like; [1208943268] PROCESS_SERVICE_CHECK_RESULT;;;0; You can read more about passive checks on http://nagios.sourceforge.net/docs/3_0/passivechecks.html and external command file on http://nagios.sourceforge.net/docs/3_0/configmain.html#command_file Kind regards, Mikael Schmidt IT-consultant IXX IT-Partner AB Helsingborgsv 60, 262 72 ?ngelholm Tel: 0431 - 44 51 00 Fax: 0431 - 195 80 www.ixx.se -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Yu Watanabe Sent: den 21 april 2008 05:44 To: tstocking at groundworkopensource.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] About passive check Hello Thomas, I am planning to use this feature in the cluster environment. >It is pending when you start nagios, before a check is entered. >What is the use case? There may be another way to get the result you >desire. The idea is : 1. Enable active checks for servers that are in RUNNING status. 2. Disable active checks for servers that are in WAIT status. and set the Service Status "PENDING" ************************* Yu Watanabe Thomas Stocking ????????: >No, that state is generated internally by Nagios. It is nagios-specific >(the service has not yet been checked), so logically, it does not make >sense to set it to this externally... >It is pending when you start nagios, before a check is entered. >What is the use case? There may be another way to get the result you >desire. >Thomas Stocking > >Yu Watanabe wrote: >> Hello, >> >> So , in other words, modifying the source code is necessary for >> this feature? >> >> I mean is there any external commands that changes the >> service status into PENDING? >> >> 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: Friday, April 18, 2008 6:13 AM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: [Nagios-users] About passive check >>>> >>>> Hello >>>> >>>> I have a question regarding to passive check. >>>> >>>> Is there any way to change the service status into "PENDING" >>>> by using passive check? >>>> >>> Any way? Yes, modify the nagios source to add that feature. Already done >>> way? No, none 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 >>> >>> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > >NOTICE: This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited.If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You. > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 dermoth at aei.ca Wed Apr 23 12:14:00 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 23 Apr 2008 06:14:00 -0400 Subject: Load checking (check_load) In-Reply-To: <480EDCC3.6010100@camptocamp.com> References: <480EDCC3.6010100@camptocamp.com> Message-ID: <480F0BE8.1020108@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/04/08 02:52 AM, C?dric Jeanneret wrote: > Hi! > I have some problem with check_load plugin : I can't manage to have what > I want. > > For now, I have these settings : > > /usr/lib/nagios/plugins/check_load -w 13,15,25 -c 30,35,40 > > But nagios warn > > WARNING - load average: 2.39, 4.89, 5.30 > > It's a bit... annoying. I just don't understand what's wrong with my > configuration. > > If you have an idea/solution... Can you run this from the command line and pas the full output? Also what vertion are you running (check_load --version) ? Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIDwvo6dZ+Kt5BchYRAk0HAKDzYcr2wVf8i0ybp4G8ezPwulj58QCfRGjC MQz7sfL1NNXwzOJZ2VaVSVU= =j1qp -----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 Wed Apr 23 14:20:47 2008 From: marc at ena.com (Marc Powell) Date: Wed, 23 Apr 2008 07:20:47 -0500 Subject: HOST/SERVICE VIEW ACCESS In-Reply-To: <480ED530.2080105@process-zero.de> References: <480ED530.2080105@process-zero.de> Message-ID: <1A50EBB7-EF34-4429-8A08-A92F6E4732FB@ena.com> On Apr 23, 2008, at 1:20 AM, Hendrik B?cker wrote: > John Duraiswamy schrieb: >> Thanks! >> >> Hendrick, > ~~~ the next one who write my name with a 'c' gets personal support > from > myself ~~~ *just kidding* Hah, that's probably my fault that got started. Sorry, I know how it feels. Here in the US, Marc is typically spelled with a 'k' so I see that transposition a lot... -- 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 Apr 23 14:24:16 2008 From: marc at ena.com (Marc Powell) Date: Wed, 23 Apr 2008 07:24:16 -0500 Subject: Load checking (check_load) In-Reply-To: <480EDCC3.6010100@camptocamp.com> References: <480EDCC3.6010100@camptocamp.com> Message-ID: On Apr 23, 2008, at 1:52 AM, C?dric Jeanneret wrote: > Hi! > I have some problem with check_load plugin : I can't manage to have > what > I want. > > For now, I have these settings : > > /usr/lib/nagios/plugins/check_load -w 13,15,25 -c 30,35,40 > > But nagios warn > > WARNING - load average: 2.39, 4.89, 5.30 > > It's a bit... annoying. I just don't understand what's wrong with my > configuration. Were these thresholds ever that low? Did you restart/reload nagios after changing them? Are you sure it restarted? -- 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 cedric.jeanneret at camptocamp.com Wed Apr 23 14:35:25 2008 From: cedric.jeanneret at camptocamp.com (=?ISO-8859-1?Q?C=E9dric_Jeanneret?=) Date: Wed, 23 Apr 2008 14:35:25 +0200 Subject: Load checking (check_load) In-Reply-To: References: <480EDCC3.6010100@camptocamp.com> Message-ID: <480F2D0D.4070805@camptocamp.com> Marc Powell wrote: > On Apr 23, 2008, at 1:52 AM, C?dric Jeanneret wrote: > >> Hi! >> I have some problem with check_load plugin : I can't manage to have >> what >> I want. >> >> For now, I have these settings : >> >> /usr/lib/nagios/plugins/check_load -w 13,15,25 -c 30,35,40 >> >> But nagios warn >> >> WARNING - load average: 2.39, 4.89, 5.30 >> >> It's a bit... annoying. I just don't understand what's wrong with my >> configuration. >> > > Were these thresholds ever that low? Did you restart/reload nagios > after changing them? Are you sure it restarted? > > -- > 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 > Hi again! in fact... I didn't think about nagios-nrpe daemon...... soooo, well.. now it's reloaded, and all seems to be ok. sorry for this fatal user error -.-' Regards ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 23 16:38:01 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 23 Apr 2008 10:38:01 -0400 Subject: FW: FW: FW: SMS issue Nagios 3.0 In-Reply-To: <20080422205605.GE32662@cgi.jachomes.com> References: <6504836CA50DCC49B810660A47AA91AC1E87EA@exchange.ACE1.NET> <20080422205605.GE32662@cgi.jachomes.com> Message-ID: <20080423143801.GE3316@cgi.jachomes.com> On Tue, Apr 22, 2008 at 04:56:05PM -0400, Jay R. Ashworth wrote: > It is not a variable *in the shell*. > > If you're manually testing a nagios commandline in the shell, you have > to substitute in valid values for the values by hand. ^^^^^^ s/values/variables/ 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 webknowledge at gmail.com Wed Apr 23 21:02:53 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 23 Apr 2008 16:02:53 -0300 Subject: NC_Net Testers needed- Windows Monitoring In-Reply-To: References: Message-ID: <2dfcbd1b0804231202t6b28cb90o1618b4ed569d750d@mail.gmail.com> I would be glad to test it. 64 bits, vista, 2003 servers, and all kinds of monitoring needs. On Tue, Apr 22, 2008 at 11:25 PM, Anthony Montibello wrote: > Hi List; > > Well its been a very busy year for me, but the long awaited next release > of NC_NEt is almost complete. > a few items have been added to NC_Net and I could use a few users to help > testing before the official release. > Email me at NC_Net at Montitech.com and I respond with the current Test > version. > The Only download Source of NC_NEt is on SourceForgeL > http://sourceforge.net/projects/nc-net > > Fore those not familiar with NC_Net: > NC_NEt is a Windows plugin, that can submit passive checks using NSCA or > be active checks using check_nt for standard tests or check_nc_net that not > only allows access to the extra NC_NEt commands but is fully compatible with > any plugin that uses check_nt. NC_NEt offers simple > installation with additional configuration when using standard defaults. > > NC_NEt offers all the command that check_nt has, as well as, Event Logs, > WMI, Script Running, Enumeration Commands, Remote configuration, Grouping > checks into a single command. Security features include, IP or FQDN testing > of incomming Active checks, Stripping Relative Paths out of Script Calls, > XOR (Default) NSCA, and naturally changing the Password of check_nt. > Alternate Encryption can be used with NSCA though using win32_send_nsca. > > > This version is still using Dot Net 2.0 and will be the last release > before upgrading to Dot Net 3.5 > > IT would be nice to get some feedback from 64Bit Servers, and Vista USers. > > Thank you > TOny > > NC_Net is opensource and does not require any fees, > however, donations for NC_NEt are appreciated and accepted through paypal > at Montitech.com > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 israel at frontierflying.com Wed Apr 23 23:11:06 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 23 Apr 2008 13:11:06 -0800 Subject: Down/unreachable confusion Message-ID: <827FB901-76E3-46CE-AD54-476F48742AF2@frontierflying.com> I have a host being monitored in nagios 3.0 that fluctuates between being down and unreachable. The periods where it is listed as unreachable typically only last a few seconds to a minute (I didn't even think it was checking that often, but whatever), while the periods of "down" time (the host really is down) are several hours in duration. Naturally, every time it fluctuates back to down (only up and down alerts are enabled for this host-not unreachable), it sends out an alert, which gets a little annoying. This all would make sense, however, except for one thing: this host's parent, and all other parents back up the tree to nagios are listed as being solidly up as far back as the records go. So why is it briefly switching to an "unreachable" state, and how can I make it stop? Or at the very least, how can I make it stop sending alerts every time it switches between these two critical states? Thanks. ----------------------------------------------- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at chrisdos.com Wed Apr 23 23:27:21 2008 From: chris at chrisdos.com (Chris Dos) Date: Wed, 23 Apr 2008 15:27:21 -0600 Subject: Special characters in services.cfg file Message-ID: <480FA9B9.6000903@chrisdos.com> I'm having problem getting a command to run in services.cfg file when it works fine from the command line. >From the command line: /usr/lib/nagios/plugins/check_http -H 10.20.40.41 -w 2 -c 5 -t 10 -u http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P ' ' -s 'Colorado' results in: HTTP OK HTTP/1.1 200 OK - 0.004 second response time Putting in services.cfg: define service{ use generic-service ; Name of service template to use host_name Cleopatra service_description HTTP_Post_States is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups Admins_E-mails,Admins_Pagers notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_http!-w 2 -c 5 -t 10 -u http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P ' ' } In the nagios web page I get an error of "no output" I've narrowed it down to a problem in the Post section. Are there any characters in this request that would prevent it from working in the services.cfg file? Chris ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 23 23:38:23 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 23 Apr 2008 14:38:23 -0700 Subject: Special characters in services.cfg file In-Reply-To: <480FA9B9.6000903@chrisdos.com> References: <480FA9B9.6000903@chrisdos.com> Message-ID: <20080423213823.GT30359@bakgwai.americas.hpqcorp.net> On Wed, 23 Apr 2008, Chris Dos wrote: > I'm having problem getting a command to run in services.cfg file when it works fine from the command line. > > >From the command line: > /usr/lib/nagios/plugins/check_http -H 10.20.40.41 -w 2 -c 5 -t 10 -u > http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P ' fordomain="1" basedomain="1" cultureinfo="en-US" coreproductid="1" products="" systemtypeid="1" > timezoneinfo="1|Mountain Standard Time (US & Canada & Mexico)|MST|Mountain Daylight > Time|-7|0|1|0|3|0|1|2|0|11|0|0|2|0"> ' -s 'Colorado' > > results in: > HTTP OK HTTP/1.1 200 OK - 0.004 second response time > > Putting in services.cfg: > define service{ > use generic-service ; Name of service template to use > host_name Cleopatra > service_description HTTP_Post_States > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups Admins_E-mails,Admins_Pagers > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http!-w 2 -c 5 -t 10 -u > http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P ' fordomain="1" basedomain="1" cultureinfo="en-US" coreproductid="1" products="" systemtypeid="1" > timezoneinfo="1|Mountain Standard Time (US & Canada & Mexico)|MST|Mountain Daylight > Time|-7|0|1|0|3|0|1|2|0|11|0|0|2|0"> ' > } Wow. That may be the ugliest check command I've ever seen. :) What's your definition for the check_http check command look like? I'd normally suggest you set up a specialized check command for this rather than to try to pass all those parameters in the service definition, but that's up to you. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at chrisdos.com Wed Apr 23 23:56:10 2008 From: chris at chrisdos.com (Chris Dos) Date: Wed, 23 Apr 2008 15:56:10 -0600 Subject: Special characters in services.cfg file In-Reply-To: <20080423213823.GT30359@bakgwai.americas.hpqcorp.net> References: <480FA9B9.6000903@chrisdos.com> <20080423213823.GT30359@bakgwai.americas.hpqcorp.net> Message-ID: <480FB07A.30606@chrisdos.com> Patrick Morris wrote: > On Wed, 23 Apr 2008, Chris Dos wrote: > >> I'm having problem getting a command to run in services.cfg file when it works fine from the command line. >> >> >From the command line: >> /usr/lib/nagios/plugins/check_http -H 10.20.40.41 -w 2 -c 5 -t 10 -u >> http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P '> fordomain="1" basedomain="1" cultureinfo="en-US" coreproductid="1" products="" systemtypeid="1" >> timezoneinfo="1|Mountain Standard Time (US & Canada & Mexico)|MST|Mountain Daylight >> Time|-7|0|1|0|3|0|1|2|0|11|0|0|2|0"> ' -s 'Colorado' >> >> results in: >> HTTP OK HTTP/1.1 200 OK - 0.004 second response time >> >> Putting in services.cfg: >> define service{ >> use generic-service ; Name of service template to use >> host_name Cleopatra >> service_description HTTP_Post_States >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 1 >> retry_check_interval 1 >> contact_groups Admins_E-mails,Admins_Pagers >> notification_interval 30 >> notification_period 24x7 >> notification_options w,u,c,r >> check_command check_http!-w 2 -c 5 -t 10 -u >> http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P '> fordomain="1" basedomain="1" cultureinfo="en-US" coreproductid="1" products="" systemtypeid="1" >> timezoneinfo="1|Mountain Standard Time (US & Canada & Mexico)|MST|Mountain Daylight >> Time|-7|0|1|0|3|0|1|2|0|11|0|0|2|0"> ' >> } > > Wow. That may be the ugliest check command I've ever seen. :) > > What's your definition for the check_http check command look like? > > I'd normally suggest you set up a specialized check command for this > rather than to try to pass all those parameters in the service > definition, but that's up to you. Yea, it's the most awful check I've been ask to set up. I've been taking out characters to try and find the culprit. It seems that it does not like a semicolon. Is there any way to escape this character? Chris ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at chrisdos.com Thu Apr 24 00:54:36 2008 From: chris at chrisdos.com (Chris Dos) Date: Wed, 23 Apr 2008 16:54:36 -0600 Subject: Special characters in services.cfg file - Solved In-Reply-To: <480FB07A.30606@chrisdos.com> References: <480FA9B9.6000903@chrisdos.com> <20080423213823.GT30359@bakgwai.americas.hpqcorp.net> <480FB07A.30606@chrisdos.com> Message-ID: <480FBE2C.8060502@chrisdos.com> Chris Dos wrote: > Patrick Morris wrote: >> On Wed, 23 Apr 2008, Chris Dos wrote: >> >>> I'm having problem getting a command to run in services.cfg file when it works fine from the command line. >>> >>> >From the command line: >>> /usr/lib/nagios/plugins/check_http -H 10.20.40.41 -w 2 -c 5 -t 10 -u >>> http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P '>> fordomain="1" basedomain="1" cultureinfo="en-US" coreproductid="1" products="" systemtypeid="1" >>> timezoneinfo="1|Mountain Standard Time (US & Canada & Mexico)|MST|Mountain Daylight >>> Time|-7|0|1|0|3|0|1|2|0|11|0|0|2|0"> ' -s 'Colorado' >>> >>> results in: >>> HTTP OK HTTP/1.1 200 OK - 0.004 second response time >>> >>> Putting in services.cfg: >>> define service{ >>> use generic-service ; Name of service template to use >>> host_name Cleopatra >>> service_description HTTP_Post_States >>> is_volatile 0 >>> check_period 24x7 >>> max_check_attempts 3 >>> normal_check_interval 1 >>> retry_check_interval 1 >>> contact_groups Admins_E-mails,Admins_Pagers >>> notification_interval 30 >>> notification_period 24x7 >>> notification_options w,u,c,r >>> check_command check_http!-w 2 -c 5 -t 10 -u >>> http://cleopatra/userservice/signup/getstates.flx -T 'text/xml' -P '>> fordomain="1" basedomain="1" cultureinfo="en-US" coreproductid="1" products="" systemtypeid="1" >>> timezoneinfo="1|Mountain Standard Time (US & Canada & Mexico)|MST|Mountain Daylight >>> Time|-7|0|1|0|3|0|1|2|0|11|0|0|2|0"> ' >>> } >> Wow. That may be the ugliest check command I've ever seen. :) >> >> What's your definition for the check_http check command look like? >> >> I'd normally suggest you set up a specialized check command for this >> rather than to try to pass all those parameters in the service >> definition, but that's up to you. > > Yea, it's the most awful check I've been ask to set up. > > I've been taking out characters to try and find the culprit. It seems that it does not like a semicolon. Is > there any way to escape this character? I've figured out a solution to my problem. XML needs a ampersand and since it's a special character it needs to encode it as &. Since Nagios interprets everything after the semicolon as a comment, and this is a http post, I was able to URL encode it. So this "&" translates into "%26amp%3B". Though it would be nice if Nagios includes some way of escape a semicolon for other problems. Chris ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amanju123 at gmail.com Thu Apr 24 09:17:49 2008 From: amanju123 at gmail.com (nagios nagios) Date: Thu, 24 Apr 2008 12:47:49 +0530 Subject: monitor any process/service which runs on linux box using nagios Message-ID: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> Hi All, how we can monitor any process/service which runs on linux box using nagios... i tried using NRPE by deploying on remote host.. but whenever i tired connecting remote machine from nagios using check_nrpe it will give some error connection refuse .. i followed the instrucation in README file but some where i missing . please help me on this root at nagios-server libexec]# ./check_nrpe -H remotemachine -p 5666 Connection refused by host thanks manjunath A -------------- 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 dennis at huenseler.net Thu Apr 24 09:25:12 2008 From: dennis at huenseler.net (=?ISO-8859-1?Q?Dennis_H=FCnseler?=) Date: Thu, 24 Apr 2008 09:25:12 +0200 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> Message-ID: <481035D8.4070201@huenseler.net> nagios nagios schrieb: > Hi All, > > how we can monitor any process/service which runs on linux box using > nagios... i tried using NRPE by deploying on remote host.. but > whenever i tired connecting remote machine from nagios using > check_nrpe it will give some error connection refuse .. i followed > the instrucation in README file but some where i missing . please help > me on this > > root at nagios-server libexec]# ./check_nrpe -H remotemachine -p 5666 > Connection refused by host > > > thanks > manjunath A > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, do you have the nrpe-daemon running on the remote machine and did you open the needed ports on your firewalls? Kind regards, Dennis -------------- 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 amanju123 at gmail.com Thu Apr 24 09:32:32 2008 From: amanju123 at gmail.com (nagios nagios) Date: Thu, 24 Apr 2008 13:02:32 +0530 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <481035D8.4070201@huenseler.net> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> Message-ID: <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> Hi, i guess nrpe service is not running , i created the file as mentioned in the README file n placed it under/etc/xinetd.d/ , how we can make it run ???? yes port is opened n i entered in /etc/service file. thanks manju On Thu, Apr 24, 2008 at 12:55 PM, Dennis H?nseler wrote: > nagios nagios schrieb: > > Hi All, > > how we can monitor any process/service which runs on linux box using > nagios... i tried using NRPE by deploying on remote host.. but whenever i > tired connecting remote machine from nagios using check_nrpe it will give > some error connection refuse .. i followed the instrucation in README file > but some where i missing . please help me on this > > root at nagios-server libexec]# ./check_nrpe -H remotemachine -p 5666 > Connection refused by host > > > thanks > manjunath A > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > ------------------------------ > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Hi, > > do you have the nrpe-daemon running on the remote machine and did you open > the needed ports on your firewalls? > > Kind regards, Dennis > -------------- 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 adesperateuser at googlemail.com Thu Apr 24 09:31:38 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 24 Apr 2008 09:31:38 +0200 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> Message-ID: <4810375A.3060706@googlemail.com> Hi there, manjunath A schrieb: > root at nagios-server libexec]# ./check_nrpe -H remotemachine -p 5666 > Connection refused by host Check if the port 5666 is open on remotemachine with your favorite portscanner, and maybe check, if a firewall is blocking access to nrpe-port 5666 on the linux-host (remotemachine). Did you configure xinetd according to http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf ? Can you successfully ping "remotemachine" at least? Maybe, go beyond reading the README-File and read the whole NRPE.pdf, there are a lot of troubleshooting-hints which might help a lot. Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 24 09:37:22 2008 From: dennis at huenseler.net (=?ISO-8859-1?Q?Dennis_H=FCnseler?=) Date: Thu, 24 Apr 2008 09:37:22 +0200 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> Message-ID: <481038B2.8070701@huenseler.net> nagios nagios schrieb: > Hi, > > i guess nrpe service is not running , i created the file as mentioned > in the README file n placed it under/etc/xinetd.d/ , how we can make > it run ???? yes port is opened n i entered in /etc/service file. > > thanks > manju > > > On Thu, Apr 24, 2008 at 12:55 PM, Dennis H?nseler > > wrote: > > nagios nagios schrieb: >> Hi All, >> >> how we can monitor any process/service which runs on linux box >> using nagios... i tried using NRPE by deploying on remote host.. >> but whenever i tired connecting remote machine from nagios using >> check_nrpe it will give some error connection refuse .. i >> followed the instrucation in README file but some where i missing >> . please help me on this >> >> root at nagios-server libexec]# ./check_nrpe -H remotemachine -p 5666 >> Connection refused by host >> >> >> thanks >> manjunath A >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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, > > do you have the nrpe-daemon running on the remote machine and did > you open the needed ports on your firewalls? > > Kind regards, Dennis > > Hi again, like Marcus just wrote check if you did these steps, regarding the documentation(especially restarting the xinetd): ############## Install the NRPE daemon as a service under xinetd. make install-xinetd Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring server to the only_from directive. only_from = 127.0.0.1 Add the following entry for the NRPE daemon to the /etc/services file. nrpe 5666/tcp # NRPE Restart the xinetd service. service xinetd restart ############# Kind regards, Dennis -------------- 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 adesperateuser at googlemail.com Thu Apr 24 09:37:48 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 24 Apr 2008 09:37:48 +0200 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> Message-ID: <481038CC.9040507@googlemail.com> nagios nagios schrieb: > i guess nrpe service is not running , i created the file as mentioned in > the README file n placed it under/etc/xinetd.d/ , how we can make it run Maybe you just have to start or restart xinetd? Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amanju123 at gmail.com Thu Apr 24 11:49:54 2008 From: amanju123 at gmail.com (nagios nagios) Date: Thu, 24 Apr 2008 15:19:54 +0530 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <481038CC.9040507@googlemail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> <481038CC.9040507@googlemail.com> Message-ID: <167abfbf0804240249v78374eeic260292bf04615fe@mail.gmail.com> Hi, i followed the instruction it doesnt seems to be working fine, simple installation but i dont no whats wrong. in fact nrpe daemon is not getting start. i did the following things downloaded nrpe-2.8.1 packages n kept download folder i executed the below commands ./confiure make all make install-plugin make install-deomon make install-daemon-config make install-xinetd i register nrpe 5666/tcp service xinetd restart iptables service stopped be default but if i grep ps -ef | grep nrpe it not showing any thing... thanks manju On Thu, Apr 24, 2008 at 1:07 PM, Marcus wrote: > nagios nagios schrieb: > > i guess nrpe service is not running , i created the file as mentioned in > > the README file n placed it under/etc/xinetd.d/ , how we can make it run > > Maybe you just have to start or restart xinetd? > > Greetz, > Marcus > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 adesperateuser at googlemail.com Thu Apr 24 12:05:22 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 24 Apr 2008 12:05:22 +0200 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <167abfbf0804240249v78374eeic260292bf04615fe@mail.gmail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> <481038CC.9040507@googlemail.com> <167abfbf0804240249v78374eeic260292bf04615fe@mail.gmail.com> Message-ID: <48105B62.5020600@googlemail.com> nagios nagios schrieb: > but if i grep ps -ef | grep nrpe it not showing any thing... Check the system-log /var/log/messages and see, what xinetd is doing. Check xinetd is running with "pidof xinetd" or alternatively with ps -ef | grep xinetd. Maybe something went wrong there. Any errors in the log? Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amanju123 at gmail.com Thu Apr 24 12:32:00 2008 From: amanju123 at gmail.com (nagios nagios) Date: Thu, 24 Apr 2008 16:02:00 +0530 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <48105B62.5020600@googlemail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> <481038CC.9040507@googlemail.com> <167abfbf0804240249v78374eeic260292bf04615fe@mail.gmail.com> <48105B62.5020600@googlemail.com> Message-ID: <167abfbf0804240332u1cb7389v680d460fcefe65ee@mail.gmail.com> i can see this messages under /var/logs/messages Apr 23 18:46:51 remotemachine xinetd[2845]: service/protocol combination not in /etc/services: nrpe/tcp if i do /etc/services | grep nrpe i can see nrpe 5666/tcp if i do ps -ef | xinetd root 6122 1 0 17:24 ? 00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid thanks manju On Thu, Apr 24, 2008 at 3:35 PM, Marcus wrote: > nagios nagios schrieb: > > > but if i grep ps -ef | grep nrpe it not showing any thing... > > Check the system-log /var/log/messages and see, what xinetd is doing. > Check xinetd is running with "pidof xinetd" or alternatively with ps -ef > | grep xinetd. > Maybe something went wrong there. Any errors in the log? > > Greetz, > Marcus > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sander at pictura-dp.nl Thu Apr 24 12:49:21 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Thu, 24 Apr 2008 12:49:21 +0200 Subject: Alert when status information changes Message-ID: <481065B1.2060304@pictura-dp.nl> Hi All, I have two loadbalancers in active-passive mode. I would like to know when a failover happens. I don't want the service to become critical, unknown or warning I just want to know when it occurs. Is this somehow possible with nagios? A push in the right direction would be nice :-) Regards, Sander ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 24 13:05:08 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 24 Apr 2008 13:05:08 +0200 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <167abfbf0804240332u1cb7389v680d460fcefe65ee@mail.gmail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> <481038CC.9040507@googlemail.com> <167abfbf0804240249v78374eeic260292bf04615fe@mail.gmail.com> <48105B62.5020600@googlemail.com> <167abfbf0804240332u1cb7389v680d460fcefe65ee@mail.gmail.com> Message-ID: <48106964.2060500@googlemail.com> nagios nagios schrieb: > Apr 23 18:46:51 remotemachine xinetd[2845]: service/protocol combination > not in /etc/services: nrpe/tcp The above line states the problem. can you post a "grep nrpe /etc/services" and maybe also your /etc/xinetd.d/nrpe file? Maybe you've got a typo in /etc/services. I don't know what else it could be... Regards, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amanju123 at gmail.com Thu Apr 24 13:21:03 2008 From: amanju123 at gmail.com (nagios nagios) Date: Thu, 24 Apr 2008 16:51:03 +0530 Subject: monitor any process/service which runs on linux box using nagios In-Reply-To: <481069D8.5050102@googlemail.com> References: <167abfbf0804240017n4b303ff4t353e9a963506ef9@mail.gmail.com> <481035D8.4070201@huenseler.net> <167abfbf0804240032x7794fa3eje7f3daefc1585870@mail.gmail.com> <481038CC.9040507@googlemail.com> <167abfbf0804240249v78374eeic260292bf04615fe@mail.gmail.com> <48105B62.5020600@googlemail.com> <167abfbf0804240332u1cb7389v680d460fcefe65ee@mail.gmail.com> <481069D8.5050102@googlemail.com> Message-ID: <167abfbf0804240421t699195aeo3554e84b87b369a9@mail.gmail.com> k, any thought on this... if this doesnt work.. do we have any plugin in nagios to check process/service on linux box... i need to monitor some process on linux box thanks manjunath On Thu, Apr 24, 2008 at 4:37 PM, Marcus wrote: > nagios nagios schrieb: > > if i do /etc/services | grep nrpe i can see > > nrpe 5666/tcp > > > > sorry, I overlooked that one. > > greetz,marcus. > -------------- 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 adesperateuser at googlemail.com Thu Apr 24 14:05:19 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 24 Apr 2008 14:05:19 +0200 Subject: Alert when status information changes In-Reply-To: <481065B1.2060304@pictura-dp.nl> References: <481065B1.2060304@pictura-dp.nl> Message-ID: <4810777F.8020808@googlemail.com> Sander Klein schrieb: > I don't want the service to become critical, unknown or warning I just > want to know when it occurs. Is this somehow possible with nagios? > > A push in the right direction would be nice :-) Hm here's a push: Why not monitor the syslog or similar, for a failover taking place. I assume there is something logged somewhere when this happens. Then have an email sent to your address. :-) Maybe you don't even need nagios for that one ... (http://www2.logwatch.org:81/ could help). Maybe your loadbalancer is even snmp-capable, and could send out a trap. (Who knows, since you weren't too specific about your setup...) Greetz Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 24 15:55:40 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Apr 2008 08:55:40 -0500 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: <167abfbf0804240421t699195aeo3554e84b87b369a9@mail.gmail.com> References: <167abfbf0804240421t699195aeo3554e84b87b369a9@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 nagios nagios > Sent: Thursday, April 24, 2008 6:21 AM > To: Marcus > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitor any process/service which runs on linuxbox > using nagios > > k, any thought on this... if this doesnt work.. do we have any plugin in > nagios to check process/service on linux box... i need to monitor some process > on linux box > if i do /etc/services | grep nrpe i can see > nrpe 5666/tcp Just to be certain because I've never seen xinetd complain inappropriately -- This is on the _remote_ box, correct? You've added nrpe to xinetd and restarted on the remote box, correct? -- 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 maurizio at pinottinet.com Thu Apr 24 16:06:58 2008 From: maurizio at pinottinet.com (Maurizio Pinotti) Date: Thu, 24 Apr 2008 16:06:58 +0200 Subject: NRPE vs NSCA benchmarking Message-ID: <48109402.7050102@pinottinet.com> Hi everybody, has anyone of you ever tried to benchmark NRPE and NSCA performance? It's acknowledged that passive checks (NSCA) move the load from Nagios server to monitored machines, so from a Nagios point of view they need less resources. But how much less? I'm trying to design a distributed monitoring setup to hold a total amount of 15-20K services, so I have: - 1 master Nagios server with ALL 15K services (passive) - an undefined number of slave server each monitoring a portion of the 15K services The slaves perform the checks and report the result to the master. This is the point: how should the slave perform the checks? NRPE or NSCA? I thought about some pros and cons, here is the result: NRPE PROS: centralized configuration, less error prone NRPE CONS: centralized load causes limited scalability NSCA PROS/CONS: the opposite Any other suggestion or benchmarking tool/approach would be appreciated. Bye Maurizio Pinotti ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Thu Apr 24 16:11:08 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Thu, 24 Apr 2008 16:11:08 +0200 Subject: Alert when status information changes In-Reply-To: <4810777F.8020808@googlemail.com> References: <481065B1.2060304@pictura-dp.nl> <4810777F.8020808@googlemail.com> Message-ID: <481094FC.7050609@pictura-dp.nl> Marcus wrote: > Maybe your loadbalancer is even snmp-capable, and could send out a trap. > (Who knows, since you weren't too specific about your setup...) > Thanks for your answer. I can make the loadbalancer snmp capable. It's just a linux virtual server setup (IPVS) with keepalived. I can also let it send an email to me. That's no problem. I just thought that since I'm using nagios anyway, why not use it to alert me when a failover occurs. Greets, Sander ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 24 18:18:38 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 24 Apr 2008 12:18:38 -0400 Subject: NRPE vs NSCA benchmarking In-Reply-To: <48109402.7050102@pinottinet.com> References: <48109402.7050102@pinottinet.com> Message-ID: <20080424161838.GC7678@cgi.jachomes.com> On Thu, Apr 24, 2008 at 04:06:58PM +0200, Maurizio Pinotti wrote: > NRPE PROS: centralized configuration, less error prone I contest this assertion. I'm setting up nrpe just now, and the fact that you effectively have to duplicate the configuration -- you have to define the check commands both in nrpe.cfg on the target, *and* in the .cfg file for that server on the monitoring server -- is one of the things that's bugging the crap out of me. I can see situations where it could be useful -- such as monitoring machines outside your administrative span of control -- but how often do you do that? I'm just not sure I can envision a *better* architecture for it, either... 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 jgoltz at mail.nih.gov Thu Apr 24 18:19:38 2008 From: jgoltz at mail.nih.gov (Goltz, Jim (NIH/NLM/LHC) [C]) Date: Thu, 24 Apr 2008 12:19:38 -0400 Subject: Nagios alerts via Windows Messenger Message-ID: This may be an oft-asked question, but I haven't found any mention in recent archives. I'm experimenting with using the Windows Messenger service (NOT MSN Messenger) to send alerts. Basically Nagios calls "smbclient -M some_host", and a message pops up on some_host with whatever text I pipe into smbclient. The problem is, using smbclient I need to specify which host to send the message to. I'd much rather send the message to whichever host a particular user is logged into. I know it's possible: running "net send username text_of_message" in a Windows command shell will do this. But I don't know what SMB domain magic happens to tell "net" what machine "username" is logged into. Has anyone ever successfully done this, perchance? -- Jim Goltz Contractor, Lockheed Martin National Library of Medicine ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amanju123 at gmail.com Thu Apr 24 18:44:38 2008 From: amanju123 at gmail.com (nagios nagios) Date: Thu, 24 Apr 2008 22:14:38 +0530 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: References: <167abfbf0804240421t699195aeo3554e84b87b369a9@mail.gmail.com> Message-ID: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> Hi, Just to be certain because I've never seen xinetd complain inappropriately -- This is on the _remote_ box, correct? You've added nrpe to xinetd and restarted on the remote box, correct? yes i added in the remote host under xinetd n restart the xinetd service still i cant able to see the nrpe running!!!!!!!!!!! On Thu, Apr 24, 2008 at 7:25 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 nagios nagios > > Sent: Thursday, April 24, 2008 6:21 AM > > To: Marcus > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] monitor any process/service which runs on > linuxbox > > using nagios > > > > k, any thought on this... if this doesnt work.. do we have any plugin > in > > nagios to check process/service on linux box... i need to monitor some > process > > on linux box > > > > if i do /etc/services | grep nrpe i can see > > nrpe 5666/tcp > > Just to be certain because I've never seen xinetd complain > inappropriately -- This is on the _remote_ box, correct? You've added > nrpe to xinetd and restarted on the remote box, correct? > > -- > 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 Apr 24 19:00:18 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Apr 2008 12:00:18 -0500 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> References: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios nagios [mailto:amanju123 at gmail.com] > Sent: Thursday, April 24, 2008 11:45 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitor any process/service which runs on linuxbox > using nagios > > Hi, > > yes i added in the remote host under xinetd n restart the xinetd service still > i cant able to see the nrpe running!!!!!!!!!!! Well, you won't see nrpe 'running' unless xinetd is actively handling a request. That's what xinetd does. Do you still see the xinetd error after restarting xinetd? Can you telnet to port 5666 of your remote box? Have you considered running nrpe in daemon mode if you can't figure out the nuances of xinetd? -- 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 Thu Apr 24 19:09:52 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 24 Apr 2008 13:09:52 -0400 Subject: Nagios alerts via Windows Messenger In-Reply-To: References: Message-ID: <20080424170952.GD7678@cgi.jachomes.com> On Thu, Apr 24, 2008 at 12:19:38PM -0400, Goltz, Jim (NIH/NLM/LHC) [C] wrote: > I'm experimenting with using the Windows Messenger service (NOT MSN > Messenger) to send alerts. Basically Nagios calls "smbclient -M > some_host", and a message pops up on some_host with whatever text I pipe > into smbclient. > > The problem is, using smbclient I need to specify which host to send the > message to. I'd much rather send the message to whichever host a > particular user is logged into. I know it's possible: running "net send > username text_of_message" in a Windows command shell will do this. But > I don't know what SMB domain magic happens to tell "net" what machine > "username" is logged into. > > Has anyone ever successfully done this, perchance? I haven't, but I would suggest that it might be productive to aim tcpdump at that segment and let Windows do it. You might gain some useful insight as to how they're doing it... which combined with the smbclient sources, might tell you if it's possible. Of course, that's probably a last resort, but at least it's one you have. :-) 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 amanju123 at gmail.com Thu Apr 24 19:42:03 2008 From: amanju123 at gmail.com (nagios nagios) Date: Thu, 24 Apr 2008 23:12:03 +0530 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: References: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> Message-ID: <167abfbf0804241042h1c83e25ah2c8a1dbe9b025d5d@mail.gmail.com> No i cant able to see still my config file looks like this [root at remotehost ~]# cat /etc/xinetd.d/nrpe # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { disable = no flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /opt/nagios/bin/nrpe server_args = -c /opt/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID only_from = 127.0.0.1 } i restarted xinetd too soo many times... thanks manju On Thu, Apr 24, 2008 at 10:30 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios nagios [mailto:amanju123 at gmail.com] > > Sent: Thursday, April 24, 2008 11:45 AM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] monitor any process/service which runs on > linuxbox > > using nagios > > > > Hi, > > > > > yes i added in the remote host under xinetd n restart the xinetd > service still > > i cant able to see the nrpe running!!!!!!!!!!! > > Well, you won't see nrpe 'running' unless xinetd is actively handling a > request. That's what xinetd does. Do you still see the xinetd error > after restarting xinetd? Can you telnet to port 5666 of your remote box? > Have you considered running nrpe in daemon mode if you can't figure out > the nuances of xinetd? > > -- > 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 mjn at umn.edu Thu Apr 24 21:37:46 2008 From: mjn at umn.edu (mjn) Date: Thu, 24 Apr 2008 14:37:46 -0500 Subject: Trouble-shooting nagiosgrapher Message-ID: <30AC76EF-0BE9-4A89-98CC-BECD144799E5@umn.edu> Is there any decent documentation for nagiosgrapher or boards that I can search that are not in german? I've got it setup and configured but the one graph that I've configured give me an image with this error: RRD Error: opening /var/lib/nagios/rrd/linux_narsil/': Permission denied That dir is: [root at narsil nagios]# ls -lahR .: total 24K drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 . drwxr-xr-x 42 root root 4.0K 2008-04-24 12:20 .. drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 rrd ./rrd: total 24K drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 . drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 .. drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 linux_narsil ./rrd/linux_narsil: total 16K drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 . drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 .. I'd appreciate a kick in the right direction or some a decent howto... Thanks! -- ____________________________________ Mike Neuharth Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v ===================================== College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 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 stava at telcotec.se Thu Apr 24 21:56:36 2008 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 24 Apr 2008 21:56:36 +0200 Subject: Trouble-shooting nagiosgrapher In-Reply-To: <30AC76EF-0BE9-4A89-98CC-BECD144799E5@umn.edu> References: <30AC76EF-0BE9-4A89-98CC-BECD144799E5@umn.edu> Message-ID: <4810E5F4.3020708@telcotec.se> mjn wrote: > Is there any decent documentation for nagiosgrapher or boards that I can > search that are not in german? > > I've got it setup and configured but the one graph that I've configured > give me an image with this error: > > RRD Error: opening /var/lib/nagios/rrd/linux_narsil/': Permission denied > > That dir is: > > [root at narsil nagios]# ls -lahR > .: > total 24K > drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 . > drwxr-xr-x 42 root root 4.0K 2008-04-24 12:20 .. > drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 rrd Group writable maybe. > ./rrd: > total 24K > drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 . > drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 .. > drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 linux_narsil Group apache and group writable maybe. > ./rrd/linux_narsil: > total 16K > drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 . > drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 .. > > I'd appreciate a kick in the right direction or some a decent howto... Hope the above helps. I do believe your web instance of nagios is run by the apache user, so you have to make sure that the directory permissions allows the apache process to write and create files. /L ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Thu Apr 24 22:05:39 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Thu, 24 Apr 2008 14:05:39 -0600 Subject: Using NRPE-NT to check WMI on Windows Server Message-ID: <1689390EF608584D85BA56D958A5D1E45A10D59B14@CorpExMBS1.arcadis-us.com> Question for the Window's gurus out there. I'm not really a 'windows guy' and don't have access to the Windows servers that I've been asked to monitor. Therefore, I'm using the NRPE VBScript setup developed by Groundwork to monitor some Windows servers via WMI. The NRPE-NT service runs on one box which I do have control over and this is also where the VBScript plugins live. When running NRPE-NT as my own Windows account, I can check services on File/Print servers, but not Domain Controllers. I tried several other accounts that have various levels of access and receive different errors. I've been reduced to having one of our Domain Admins run this service under his account, which works. This was done temporarily to test that this method is possible, but cannot be used as a permanent solution. The goal is to have NRPE-NT run as an account with the minimum level of permissions to perform these service checks. What level of access does the account that runs the NRPE-NT service need to have on all of the servers in order to function properly? Thank you, Garry W. Cook, CCNA Network Systems Specialist ARCADIS U.S., Inc. 630 Plaza Drive, Suite 200 Highlands Ranch, CO 80129 720.344.3708 (Office) 720.220.1862 (Mobile) ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- 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 rbrown at BallistaSec.com Thu Apr 24 22:44:41 2008 From: rbrown at BallistaSec.com (Rodrick Brown) Date: Thu, 24 Apr 2008 16:44:41 -0400 Subject: Hosts reboots too fast for check_alive notification Message-ID: When one of my hosts reboots I'm never notified about the outage. Currently I'm using a custom script S99bootnotify to alert me when a host comes online, is there any way to shorten the polling for check_alive? I find it strange that a host could reboot and nagios not detect that outage. Thanks. --- Rodrick R. Brown Director, Systems Engineering Ballista Securities, LLC 120 Wall St. Suite 2400 P: 646 307 4709 C: 347 702 0012 F: 646 219-5872 E: rbrown(at)ballistasec.com -------------- 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 Apr 24 22:55:26 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Apr 2008 15:55:26 -0500 Subject: Hosts reboots too fast for check_alive notification 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 Rodrick Brown > Sent: Thursday, April 24, 2008 3:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hosts reboots too fast for check_alive notification > > When one of my hosts reboots I'm never notified about the outage. Currently > I'm using a custom script S99bootnotify to alert me when a host comes online, > is there any way to shorten the polling for check_alive? I find it strange > that a host could reboot and nagios not detect that outage. What version of nagios are you using? With nagios-2.x and prior, hosts are never checked unless a service on the host returns a non-OK result. Hosts are then checked with the host's check_command, up to max_check_attempts, with no pause between attempts. The end of that check process, which should be quick if you've followed the recommendations, will be the status of the host. It appears to me you might need to adjust your service check_interval to be less than the time it takes to reboot _or_ find a better way of knowing when the host reboots (uptime, timestamp on a file, log entries, etc...). -- 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 amontibello at gmail.com Thu Apr 24 23:50:07 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 24 Apr 2008 17:50:07 -0400 Subject: Nagios alerts via Windows Messenger In-Reply-To: References: Message-ID: if the goal is to notify a windows user and you know the windows command to do this, Why not use NRPE or NC_NEt's runscript to run a script that preforms thisaction as part of your notification command? Tony (Author of NC_NEt) On Thu, Apr 24, 2008 at 12:19 PM, Goltz, Jim (NIH/NLM/LHC) [C] < jgoltz at mail.nih.gov> wrote: > This may be an oft-asked question, but I haven't found any mention in > recent archives. > > I'm experimenting with using the Windows Messenger service (NOT MSN > Messenger) to send alerts. Basically Nagios calls "smbclient -M > some_host", and a message pops up on some_host with whatever text I pipe > into smbclient. > > The problem is, using smbclient I need to specify which host to send the > message to. I'd much rather send the message to whichever host a > particular user is logged into. I know it's possible: running "net send > username text_of_message" in a Windows command shell will do this. But > I don't know what SMB domain magic happens to tell "net" what machine > "username" is logged into. > > Has anyone ever successfully done this, perchance? > > -- > Jim Goltz > Contractor, Lockheed Martin > National Library of Medicine > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 amontibello at gmail.com Fri Apr 25 00:04:20 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 24 Apr 2008 18:04:20 -0400 Subject: Using NRPE-NT to check WMI on Windows Server In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A10D59B14@CorpExMBS1.arcadis-us.com> References: <1689390EF608584D85BA56D958A5D1E45A10D59B14@CorpExMBS1.arcadis-us.com> Message-ID: Each WIndows element and WMI stuff require different permissions, When using WMI, you have access to do almost anything, for example when query for users WMI contacts the primary domain controler and waits for its results of all users in the Domamin. Naturally this requires higher permissions than just qurying processes running in your user space. To minimize your headacks, I assunme you want to test many system stats that only System, Network Services or Administrators have access. If this is true,Try to convince the domain admins to approve all your scripts as non-destructive scripts. Then get the Domain Admins to add a user with thesse administrator permissions, then restict that user to no logon rights, and only rights to access the particular NRPE port. I hope this helps TOny (Author of NC_NEt) On Thu, Apr 24, 2008 at 4:05 PM, Cook, Garry wrote: > Question for the Window's gurus out there. I'm not really a 'windows guy' > and don't have access to the Windows servers that I've been asked to > monitor. Therefore, I'm using the NRPE VBScript setup developed by > Groundwork to monitor some Windows servers via WMI. The NRPE-NT service runs > on one box which I do have control over and this is also where the VBScript > plugins live. > > > > When running NRPE-NT as my own Windows account, I can check services on > File/Print servers, but not Domain Controllers. I tried several other > accounts that have various levels of access and receive different errors. > I've been reduced to having one of our Domain Admins run this service under > his account, which works. This was done temporarily to test that this method > is possible, but cannot be used as a permanent solution. The goal is to have > NRPE-NT run as an account with the minimum level of permissions to perform > these service checks. > > > > What level of access does the account that runs the NRPE-NT service need to > have on all of the servers in order to function properly? > > Thank you, > > Garry W. Cook, CCNA > Network Systems Specialist > ARCADIS U.S., Inc. > 630 Plaza Drive, Suite 200 > Highlands Ranch, CO 80129 > 720.344.3708 (Office) > 720.220.1862 (Mobile) > > ------------------------------ > NOTICE: This e-mail and any files transmitted with it are the property of > ARCADIS U.S., Inc. and its affiliates. All rights, including without > limitation copyright, are reserved. The proprietary information contained in > this e-mail message, and any files transmitted with it, is intended for the > use of the recipient(s) named above. If the reader of this e-mail is not the > intended recipient, you are hereby notified that you have received this > e-mail in error and that any review, distribution or copying of this e-mail > or any files transmitted with it is strictly prohibited. If you have > received this e-mail in error, please notify the sender immediately and > delete the original message and any files transmitted. The unauthorized use > of this e-mail or any files transmitted with it is prohibited and disclaimed > by ARCADIS U.S., Inc. and its affiliates. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Garry.Cook at arcadis-us.com Fri Apr 25 00:10:09 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Thu, 24 Apr 2008 16:10:09 -0600 Subject: Using NRPE-NT to check WMI on Windows Server In-Reply-To: References: <1689390EF608584D85BA56D958A5D1E45A10D59B14@CorpExMBS1.arcadis-us.com> Message-ID: <1689390EF608584D85BA56D958A5D1E45A10D59C4A@CorpExMBS1.arcadis-us.com> Thank you Tony, I see that you're the author of NC_Net, and I think you sent a message the other day stating that there was a newly released version. What are your thoughts on doing things the way I described below vs. using NC_Net (or any agent). Pros, cons, reason to use both? Thanks, Garry From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Thursday, April 24, 2008 4:04 PM To: Cook, Garry Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Using NRPE-NT to check WMI on Windows Server Each WIndows element and WMI stuff require different permissions, When using WMI, you have access to do almost anything, for example when query for users WMI contacts the primary domain controler and waits for its results of all users in the Domamin. Naturally this requires higher permissions than just qurying processes running in your user space. To minimize your headacks, I assunme you want to test many system stats that only System, Network Services or Administrators have access. If this is true,Try to convince the domain admins to approve all your scripts as non-destructive scripts. Then get the Domain Admins to add a user with thesse administrator permissions, then restict that user to no logon rights, and only rights to access the particular NRPE port. I hope this helps TOny (Author of NC_NEt) On Thu, Apr 24, 2008 at 4:05 PM, Cook, Garry > wrote: Question for the Window's gurus out there. I'm not really a 'windows guy' and don't have access to the Windows servers that I've been asked to monitor. Therefore, I'm using the NRPE VBScript setup developed by Groundwork to monitor some Windows servers via WMI. The NRPE-NT service runs on one box which I do have control over and this is also where the VBScript plugins live. When running NRPE-NT as my own Windows account, I can check services on File/Print servers, but not Domain Controllers. I tried several other accounts that have various levels of access and receive different errors. I've been reduced to having one of our Domain Admins run this service under his account, which works. This was done temporarily to test that this method is possible, but cannot be used as a permanent solution. The goal is to have NRPE-NT run as an account with the minimum level of permissions to perform these service checks. What level of access does the account that runs the NRPE-NT service need to have on all of the servers in order to function properly? Thank you, Garry W. Cook, CCNA Network Systems Specialist ARCADIS U.S., Inc. 630 Plaza Drive, Suite 200 Highlands Ranch, CO 80129 720.344.3708 (Office) 720.220.1862 (Mobile) ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 cyruspy at gmail.com Fri Apr 25 00:14:03 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 24 Apr 2008 18:14:03 -0400 Subject: Nagios alerts via Windows Messenger In-Reply-To: References: Message-ID: 2008/4/24, Goltz, Jim (NIH/NLM/LHC) [C] : > This may be an oft-asked question, but I haven't found any mention in > recent archives. > > I'm experimenting with using the Windows Messenger service (NOT MSN > Messenger) to send alerts. Basically Nagios calls "smbclient -M > some_host", and a message pops up on some_host with whatever text I pipe > into smbclient. > > The problem is, using smbclient I need to specify which host to send the > message to. I'd much rather send the message to whichever host a > particular user is logged into. I know it's possible: running "net send > username text_of_message" in a Windows command shell will do this. But > I don't know what SMB domain magic happens to tell "net" what machine > "username" is logged into. > > Has anyone ever successfully done this, perchance? > > -- > Jim Goltz > Contractor, Lockheed Martin > National Library of Medicine > > We use smbclient for notification and just specify the user instead of the machine, we have a Windows Domain, probably that affects the behaviour. Ciro ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 25 02:36:52 2008 From: adevey at omniture.com (Aaron Devey) Date: Thu, 24 Apr 2008 18:36:52 -0600 Subject: Hosts reboots too fast for check_alive notification In-Reply-To: References: Message-ID: <481127A4.5000808@omniture.com> You could have the server fire a script during reboots that submits a check result to nagios via NSCA. It might be a little more elaborate than what you were looking for, but it will always catch a reboot even when a host check misses it. -Aaron Rodrick Brown wrote: > When one of my hosts reboots I?m never notified about the outage. > Currently I?m using a custom script S99bootnotify to alert me when a > host comes online, is there any way to shorten the polling for > check_alive? I find it strange that a host could reboot and nagios not > detect that outage. > > > > Thanks. > > > > --- > > Rodrick R. Brown > > Director, Systems Engineering > > Ballista Securities, LLC > > 120 Wall St. Suite 2400 > > P: 646 307 4709 > > C: 347 702 0012 > > F: 646 219-5872 > > E: rbrown(at)ballistasec.com > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 adevey at omniture.com Fri Apr 25 02:52:01 2008 From: adevey at omniture.com (Aaron Devey) Date: Thu, 24 Apr 2008 18:52:01 -0600 Subject: NRPE vs NSCA benchmarking In-Reply-To: <48109402.7050102@pinottinet.com> References: <48109402.7050102@pinottinet.com> Message-ID: <48112B31.4000304@omniture.com> Maurizio Pinotti wrote: > NSCA PROS/CONS: the opposite It's important to note that multiple NSCA results can be sent per connection. This makes it slightly more load/network friendly when you have a lot of services. However, taking advantage of this benefit will increase the complexity of your check submission script. -Aaron ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 08:32:16 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 25 Apr 2008 08:32:16 +0200 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: <167abfbf0804241042h1c83e25ah2c8a1dbe9b025d5d@mail.gmail.com> References: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> <167abfbf0804241042h1c83e25ah2c8a1dbe9b025d5d@mail.gmail.com> Message-ID: <48117AF0.7040503@googlemail.com> nagios nagios schrieb: > my config file looks like this > only_from = 127.0.0.1 Probably the above line is the culprit ;-) You have to put the nagios-servers address instead of localhost, so it is allowed to invoke the service. Have a look in the man of xinetd.conf and search for "only_from". Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amanju123 at gmail.com Fri Apr 25 08:49:43 2008 From: amanju123 at gmail.com (nagios nagios) Date: Fri, 25 Apr 2008 12:19:43 +0530 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: <48117AF0.7040503@googlemail.com> References: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> <167abfbf0804241042h1c83e25ah2c8a1dbe9b025d5d@mail.gmail.com> <48117AF0.7040503@googlemail.com> Message-ID: <167abfbf0804242349o5a160846w604b5b52c3ccdad2@mail.gmail.com> Hi, i entered the nagios server Ip address n tired but no luck.... is any other way to monitor process/service on linux box using nagios... if yes please let us know.... thanks manjunath A On Fri, Apr 25, 2008 at 12:02 PM, Marcus wrote: > nagios nagios schrieb: > > > my config file looks like this > > > only_from = 127.0.0.1 > > Probably the above line is the culprit ;-) > You have to put the nagios-servers address instead of localhost, so it > is allowed to invoke the service. > > Have a look in the man of xinetd.conf and search for "only_from". > > Greetz, > Marcus > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 adesperateuser at googlemail.com Fri Apr 25 09:01:13 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 25 Apr 2008 09:01:13 +0200 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: <167abfbf0804242349o5a160846w604b5b52c3ccdad2@mail.gmail.com> References: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> <167abfbf0804241042h1c83e25ah2c8a1dbe9b025d5d@mail.gmail.com> <48117AF0.7040503@googlemail.com> <167abfbf0804242349o5a160846w604b5b52c3ccdad2@mail.gmail.com> Message-ID: <481181B9.10209@googlemail.com> nagios nagios schrieb: > Hi, > > i entered the nagios server Ip address n tired but no luck.... > only_from = 127.0.0.1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This looks suspicious! Why don't you just put only_from = 127.0.0.1 your.nagi.os.ip where "your.nagi.os.ip" is the real ip-adress from your nagios-server, of course. Then, a last time, restart the xinetd-server. Then it should run. No need to chicken out of nrpe ;-) Best regards, Marcus is any > other way to monitor process/service on linux box using nagios... if yes > please let us know.... Sure, you can use nmap-based checks for udp/tcp-services, I guess, and you can always use snmp-checks, which some people prefer, because you can do a lot of stuff with it. (At least that was what I read on the snmp-check-homepage ;-) http://nagios.manubulon.com/ ) Hth, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amanju123 at gmail.com Fri Apr 25 09:07:06 2008 From: amanju123 at gmail.com (nagios nagios) Date: Fri, 25 Apr 2008 12:37:06 +0530 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: <481181B9.10209@googlemail.com> References: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> <167abfbf0804241042h1c83e25ah2c8a1dbe9b025d5d@mail.gmail.com> <48117AF0.7040503@googlemail.com> <167abfbf0804242349o5a160846w604b5b52c3ccdad2@mail.gmail.com> <481181B9.10209@googlemail.com> Message-ID: <167abfbf0804250007u3f9793d5y9055633a2604fdb1@mail.gmail.com> if we downloaded the package for example check_snps_process.pl, we need to run configure n make all than we need deploy to monitor rite??? or any process is there to place this plugin On Fri, Apr 25, 2008 at 12:31 PM, Marcus wrote: > nagios nagios schrieb: > > Hi, > > > > i entered the nagios server Ip address n tired but no luck.... > > > only_from = 127.0.0.1 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This looks suspicious! > > Why don't you just put > only_from = 127.0.0.1 your.nagi.os.ip > > where "your.nagi.os.ip" is the real ip-adress from your nagios-server, > of course. Then, a last time, restart the xinetd-server. Then it should > run. No need to chicken out of nrpe ;-) > > Best regards, > Marcus > > is any > > other way to monitor process/service on linux box using nagios... if yes > > please let us know.... > > Sure, you can use nmap-based checks for udp/tcp-services, I guess, and > you can always use snmp-checks, which some people prefer, because you > can do a lot of stuff with it. (At least that was what I read on the > snmp-check-homepage ;-) http://nagios.manubulon.com/ ) > > Hth, > Marcus > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 adesperateuser at googlemail.com Fri Apr 25 09:23:18 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 25 Apr 2008 09:23:18 +0200 Subject: monitor any process/service which runs on linuxbox using nagios In-Reply-To: <167abfbf0804250007u3f9793d5y9055633a2604fdb1@mail.gmail.com> References: <167abfbf0804240944t52cbede1le6e2c7ce27456080@mail.gmail.com> <167abfbf0804241042h1c83e25ah2c8a1dbe9b025d5d@mail.gmail.com> <48117AF0.7040503@googlemail.com> <167abfbf0804242349o5a160846w604b5b52c3ccdad2@mail.gmail.com> <481181B9.10209@googlemail.com> <167abfbf0804250007u3f9793d5y9055633a2604fdb1@mail.gmail.com> Message-ID: <481186E6.6040900@googlemail.com> nagios nagios schrieb: > if we downloaded the package for example check_snps_process.pl, we need > to run configure n make all than we need deploy to monitor rite??? > > or any process is there to place this plugin Maybe you should open another thread for this snmp-stuff, reformulating your question. (I don't quite get it, what you are trying to do, and alas my crystal ball is in repair.) But I don't quite understand, why you don't just put that line in your xinetd-configuration right, like described in the fabulous manual. EOF, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at iphh.net Fri Apr 25 10:51:10 2008 From: ck at iphh.net (Christoph Kluenter) Date: Fri, 25 Apr 2008 10:51:10 +0200 Subject: Hostcontacts don't want to see every Service Message-ID: <200804251051.10143.ck@iphh.net> Hi, I would like to activate a service check that checks for debian-packages that have to be updated. But my problem ist, that when debian releases a security update, there will be an alarm for every host. This will make the Webinterface very cluttered. So I would like to have a group which ist the contactgroup for all hosts, but does not see the debian-package-service. Is this possible ? Usually the contactgroup for a host can see every service on that host. At the moment I have created a dedicated new host with all the package-checks on the different hosts as services. It works, but is not very nice. Are there better ways ? Best regards, Christoph -- IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Grosse Reichenstrasse 27 AG Hamburg, HRB 76071 D-20457 Hamburg Geschaeftsfuehrung: Axel G. Kroeger ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Fri Apr 25 13:18:11 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 25 Apr 2008 13:18:11 +0200 Subject: Hostcontacts don't want to see every Service In-Reply-To: <200804251051.10143.ck@iphh.net> References: <200804251051.10143.ck@iphh.net> Message-ID: <200804251318.11288.pitchfork@ederdrom.de> Am Freitag, 25. April 2008 10:51 schrieb Christoph Kluenter: > Hi, > > I would like to activate a service check that checks for debian-packages that > have to be updated. But my problem ist, that when debian releases a security > update, there will be an alarm for every host. > This will make the Webinterface very cluttered. > So I would like to have a group which ist the contactgroup for all hosts, but > does not see the debian-package-service. Is this possible ? > Usually the contactgroup for a host can see every service on that host. > At the moment I have created a dedicated new host with all the package-checks > on the different hosts as services. It works, but is not very nice. Are there > better ways ? Hi Christoph, have a look on cgi/cgiauth.c Line 270 270 /* if this user is authorized for this host, they are for all services on it as well... */ 271 /* if(is_authorized_for_host(temp_host,authinfo)==TRUE) 272 return TRUE; 273 */ Change Line 271...272 and recompile your cgis J?rg ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 13:48:29 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Fri, 25 Apr 2008 15:48:29 +0400 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> References: <003c01c885be$898a45c0$9c9ed140$@ru> <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> Message-ID: <005701c8a6ca$47ed7c90$d7c875b0$@ru> -----Original Message----- From: Peter Edmonds [mailto:termx23 at gmail.com] Sent: Friday, March 14, 2008 3:20 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone > Can anyone assist me in solving the following task: I need nagios to send > SMS via mobile phone connected to COM port. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at iphh.net Fri Apr 25 13:55:25 2008 From: ck at iphh.net (Christoph Kluenter) Date: Fri, 25 Apr 2008 13:55:25 +0200 Subject: Hostcontacts don't want to see every Service In-Reply-To: <200804251318.11288.pitchfork@ederdrom.de> References: <200804251051.10143.ck@iphh.net> <200804251318.11288.pitchfork@ederdrom.de> Message-ID: <200804251355.25891.ck@iphh.net> Hi, On Friday 25 April 2008 13:18:11 Joerg Linge wrote: > Am Freitag, 25. April 2008 10:51 schrieb Christoph Kluenter: > > Hi, > > > > I would like to activate a service check that checks for debian-packages > > that have to be updated. But my problem ist, that when debian releases a > > security update, there will be an alarm for every host. > > This will make the Webinterface very cluttered. > > So I would like to have a group which ist the contactgroup for all hosts, > > but does not see the debian-package-service. Is this possible ? > > Usually the contactgroup for a host can see every service on that host. > > At the moment I have created a dedicated new host with all the > > package-checks on the different hosts as services. It works, but is not > > very nice. Are there better ways ? > > Hi Christoph, > > have a look on cgi/cgiauth.c Line 270 > > > 270 /* if this user is authorized for this host, they are for > all services on it as well... */ 271 /* > if(is_authorized_for_host(temp_host,authinfo)==TRUE) 272 > return TRUE; > 273 */ > > Change Line 271...272 and recompile your cgis Is this a bug or a feature ? Wouldn't it be nice if this was configurable ? Christoph > > J?rg > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java >one _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Grosse Reichenstrasse 27 AG Hamburg, HRB 76071 D-20457 Hamburg Geschaeftsfuehrung: Axel G. Kroeger ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Fri Apr 25 14:03:39 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 25 Apr 2008 12:03:39 +0000 (GMT) Subject: smtp server that nagios uses Message-ID: <38503.88742.qm@web26203.mail.ukl.yahoo.com> hi how to check what is the smtp server that my nagios server uses? as far as i remember, i was not asked to specify the smtp server during the installation. thx __________________________________________________________ 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 rage_q3 at mail.ru Fri Apr 25 14:15:49 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Fri, 25 Apr 2008 16:15:49 +0400 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> References: <003c01c885be$898a45c0$9c9ed140$@ru> <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> Message-ID: <005801c8a6ce$1a4ff2a0$4eefd7e0$@ru> Hello! Could anyone please assist me in troubleshooting the following task: I've bought a TC-35i GSM modem and connect it to my linux Debian box. Everything works fine and I can successfully send sms using the following command: echo "some test text" | gnokii --sendsms myNumber The problem is that nagios can't send sms using gnokii and I can't figure out why Peter's script (I add it to my message in the bottom) won't work for me. The command for nagios is: define command{ command_name notify-service-by-email command_line echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME $" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 } I got the following message in /usr/local/nagios/var/nagios.log: [1209125514] SERVICE ALERT: vector;Check SMTP;CRITICAL;SOFT;1;Connection refused [1209125574] SERVICE ALERT: vector;Check SMTP;CRITICAL;SOFT;2;Connection refused [1209125634] SERVICE ALERT: vector;Check SMTP;CRITICAL;HARD;3;Connection refused [1209125634] SERVICE NOTIFICATION: nagiosadmin;vector;Check SMTP;CRITICAL;notify-service-by-email;Connection refused Thanks in advance, Ilya. -----Original Message----- From: Peter Edmonds [mailto:termx23 at gmail.com] Sent: Friday, March 14, 2008 3:20 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone > Can anyone assist me in solving the following task: I need nagios to send > SMS via mobile phone connected to COM port. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 14:18:06 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Fri, 25 Apr 2008 16:18:06 +0400 Subject: smtp server that nagios uses In-Reply-To: <38503.88742.qm@web26203.mail.ukl.yahoo.com> References: <38503.88742.qm@web26203.mail.ukl.yahoo.com> Message-ID: <005901c8a6ce$6aef7190$40ce54b0$@ru> Hi! Nagios, by default will use DNS to determine which mail server to use. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Melanie Pfefer Sent: Friday, April 25, 2008 4:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] smtp server that nagios uses hi how to check what is the smtp server that my nagios server uses? as far as i remember, i was not asked to specify the smtp server during the installation. thx __________________________________________________________ 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/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 marc at ena.com Fri Apr 25 14:23:58 2008 From: marc at ena.com (Marc Powell) Date: Fri, 25 Apr 2008 07:23:58 -0500 Subject: smtp server that nagios uses In-Reply-To: <38503.88742.qm@web26203.mail.ukl.yahoo.com> References: <38503.88742.qm@web26203.mail.ukl.yahoo.com> Message-ID: <1AD69AC5-FA2B-4EBB-929F-5DC8AA20D4B0@ena.com> On Apr 25, 2008, at 7:03 AM, Melanie Pfefer wrote: > hi > > how to check what is the smtp server that my nagios server uses? > > as far as i remember, i was not asked to specify the smtp server > during the installation. The most accurate answer is that nagios doesn't use one and doesn't need to know anything about it. Your notification commands probably use the /bin/mail(x) mail _client_ to transmit notifications. Those programs then submit the notifications to the SMTP server running on localhost (sendmail, postfix, qmail, etc) for final delivery. If you are wanting to change the SMTP server that those use, you'll need to modify their configuration to smarthost to that other machine. There's also a FAQ with some alternatives. -- 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 Apr 25 14:26:51 2008 From: marc at ena.com (Marc Powell) Date: Fri, 25 Apr 2008 07:26:51 -0500 Subject: Hostcontacts don't want to see every Service In-Reply-To: <200804251355.25891.ck@iphh.net> References: <200804251051.10143.ck@iphh.net> <200804251318.11288.pitchfork@ederdrom.de> <200804251355.25891.ck@iphh.net> Message-ID: <0E07B828-3F9F-4A4F-B377-14A75E32C796@ena.com> On Apr 25, 2008, at 6:55 AM, Christoph Kluenter wrote: >> >> >> 270 /* if this user is authorized for this host, they >> are for >> all services on it as well... */ 271 /* >> if(is_authorized_for_host(temp_host,authinfo)==TRUE) 272 >> return TRUE; >> 273 */ >> >> Change Line 271...272 and recompile your cgis > Is this a bug or a feature ? Intentionally coded and documented that way, so feature. > Wouldn't it be nice if this was configurable ? Ask on nagios-devel. They don't live here. -- 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 melanie_pfefer at yahoo.co.uk Fri Apr 25 14:36:49 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 25 Apr 2008 12:36:49 +0000 (GMT) Subject: smtp server that nagios uses In-Reply-To: <005901c8a6ce$6aef7190$40ce54b0$@ru> References: <005901c8a6ce$6aef7190$40ce54b0$@ru> Message-ID: <542594.7536.qm@web26213.mail.ukl.yahoo.com> the machine where nagios is installed uses postfix as smtp. I know this might be off-topic, but any idea where to look so that I verify to which server postfix relays the email? actually we upgraded our exchange mail server and we want to shutdown the old one. My worries is that nagios (now I understand it is postfix) still points to the the old mail server PS: How to determine which mail server my DNS uses? thx __________________________________________________________ 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 rage_q3 at mail.ru Fri Apr 25 14:44:42 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Fri, 25 Apr 2008 16:44:42 +0400 Subject: smtp server that nagios uses In-Reply-To: <542594.7536.qm@web26213.mail.ukl.yahoo.com> References: <005901c8a6ce$6aef7190$40ce54b0$@ru> <542594.7536.qm@web26213.mail.ukl.yahoo.com> Message-ID: <005a01c8a6d2$28523bc0$78f6b340$@ru> You can change the /etc/postfix/transport to accommodate your needs. This file tells postfix which server to use for relaying. The format of this file is: domain.com smtp:ip_adddress_of_your_exchange where domain.com - the domain name you want to send mail to (perhaps you will use here your domain). After you will change this file don't forget to make postmap /etc/postfix/transport and then restart postfix. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Melanie Pfefer Sent: Friday, April 25, 2008 4:37 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] smtp server that nagios uses the machine where nagios is installed uses postfix as smtp. I know this might be off-topic, but any idea where to look so that I verify to which server postfix relays the email? actually we upgraded our exchange mail server and we want to shutdown the old one. My worries is that nagios (now I understand it is postfix) still points to the the old mail server PS: How to determine which mail server my DNS uses? thx __________________________________________________________ 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/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 melanie_pfefer at yahoo.co.uk Fri Apr 25 15:03:21 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 25 Apr 2008 13:03:21 +0000 (GMT) Subject: smtp server that nagios uses In-Reply-To: <005a01c8a6d2$28523bc0$78f6b340$@ru> References: <005a01c8a6d2$28523bc0$78f6b340$@ru> Message-ID: <694885.95308.qm@web26207.mail.ukl.yahoo.com> hi, I checked the header of the emails coming from nagios. I also check the headers of the emails I send from the machine itself when I telnet to postfix. indeed the email goes to my old mail server then to the new mail server. I checked the file /etc/postfix/transport and it was all commented but I added as you suggested mycompany.com smtp:smtp:ip_adddress_of_my_new_exchange I restarted postfix. but the header of any test message still goes to the old mail server... any idea please? --- On Fri, 25/4/08, Ilya Meylikhov wrote: > From: Ilya Meylikhov > Subject: RE: [Nagios-users] smtp server that nagios uses > To: melanie_pfefer at yahoo.co.uk > Cc: Nagios-users at lists.sourceforge.net > Date: Friday, 25 April, 2008, 3:44 PM > You can change the /etc/postfix/transport to accommodate > your needs. This > file tells postfix which server to use for relaying. The > format of this file > is: > domain.com smtp:ip_adddress_of_your_exchange > where domain.com - the domain name you want to send mail to > (perhaps you > will use here your domain). > After you will change this file don't forget to make > postmap > /etc/postfix/transport and then restart postfix. > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On > Behalf Of Melanie > Pfefer > Sent: Friday, April 25, 2008 4:37 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] smtp server that nagios uses > > the machine where nagios is installed uses postfix as smtp. > I know this > might be off-topic, but any idea where to look so that I > verify to which > server postfix relays the email? > > actually we upgraded our exchange mail server and we want > to shutdown the > old one. My worries is that nagios (now I understand it is > postfix) still > points to the the old mail server > > PS: How to determine which mail server my DNS uses? > > thx > > > > __________________________________________________________ > 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/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 __________________________________________________________ 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 alexdehaini at gmail.com Fri Apr 25 15:07:06 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 25 Apr 2008 13:07:06 +0000 Subject: smtp server that nagios uses In-Reply-To: <694885.95308.qm@web26207.mail.ukl.yahoo.com> References: <005a01c8a6d2$28523bc0$78f6b340$@ru> <694885.95308.qm@web26207.mail.ukl.yahoo.com> Message-ID: <4b008f7d0804250607l1043b50fh7e4e31d7aca59fcd@mail.gmail.com> Melanie, Take time and visit the postfix website and go through the documentation. Check the MX record for your domain to ascertain your real email server. Alex On Fri, Apr 25, 2008 at 1:03 PM, Melanie Pfefer wrote: > hi, > > I checked the header of the emails coming from nagios. I also check the > headers of the emails I send from the machine itself when I telnet to > postfix. > > indeed the email goes to my old mail server then to the new mail server. > > I checked the file /etc/postfix/transport and it was all commented but I > added as you suggested > > mycompany.com smtp:smtp:ip_adddress_of_my_new_exchange > > I restarted postfix. > > but the header of any test message still goes to the old mail server... > > any idea please? > > --- On Fri, 25/4/08, Ilya Meylikhov wrote: > > > From: Ilya Meylikhov > > Subject: RE: [Nagios-users] smtp server that nagios uses > > To: melanie_pfefer at yahoo.co.uk > > Cc: Nagios-users at lists.sourceforge.net > > Date: Friday, 25 April, 2008, 3:44 PM > > You can change the /etc/postfix/transport to accommodate > > your needs. This > > file tells postfix which server to use for relaying. The > > format of this file > > is: > > domain.com smtp:ip_adddress_of_your_exchange > > where domain.com - the domain name you want to send mail to > > (perhaps you > > will use here your domain). > > After you will change this file don't forget to make > > postmap > > /etc/postfix/transport and then restart postfix. > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On > > Behalf Of Melanie > > Pfefer > > Sent: Friday, April 25, 2008 4:37 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] smtp server that nagios uses > > > > the machine where nagios is installed uses postfix as smtp. > > I know this > > might be off-topic, but any idea where to look so that I > > verify to which > > server postfix relays the email? > > > > actually we upgraded our exchange mail server and we want > > to shutdown the > > old one. My worries is that nagios (now I understand it is > > postfix) still > > points to the the old mail server > > > > PS: How to determine which mail server my DNS uses? > > > > thx > > > > > > > > __________________________________________________________ > > 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/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 > > > __________________________________________________________ > 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 > -- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 mjn at umn.edu Fri Apr 25 15:19:56 2008 From: mjn at umn.edu (mjn) Date: Fri, 25 Apr 2008 08:19:56 -0500 Subject: Trouble-shooting nagiosgrapher In-Reply-To: <4810E5F4.3020708@telcotec.se> References: <30AC76EF-0BE9-4A89-98CC-BECD144799E5@umn.edu> <4810E5F4.3020708@telcotec.se> Message-ID: <7305BAF2-DD98-41AB-894E-463E28FBFB12@umn.edu> Thanks for the response, Lars. This, unfortunately, has not resolved the issue. My directory structure looks like this: [root at narsil nagios]# ls -lahR rrd/: total 24K drwxrwxr-x 3 nagios apache 4.0K 2008-04-24 15:02 . drwxrwxr-x 3 nagios apache 4.0K 2008-04-24 12:20 .. drwxrwxr-x 2 nagios apache 4.0K 2008-04-24 15:02 linux_narsil rrd/linux_narsil: total 16K drwxrwxr-x 2 nagios apache 4.0K 2008-04-24 15:02 . drwxrwxr-x 3 nagios apache 4.0K 2008-04-24 15:02 .. But the error message is exactly the same. Other thoughts? One other question that strikes me: where should I be seeing the perf logging? in ngraph.log? All I see is the startup text from yesterday...is there a debugging setting/approach that will tell me whether collect2.pl is working at all? I see that even though I've restarted this AM, there is no logging whatever happening to ngraph.log Thanks! -- ____________________________________ Mike Neuharth Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v ===================================== College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ On Apr 24, 2008, at 2:56 PM, Lars Stavholm wrote: > mjn wrote: >> Is there any decent documentation for nagiosgrapher or boards that >> I can >> search that are not in german? >> >> I've got it setup and configured but the one graph that I've >> configured >> give me an image with this error: >> >> RRD Error: opening /var/lib/nagios/rrd/linux_narsil/': Permission >> denied >> >> That dir is: >> >> [root at narsil nagios]# ls -lahR >> .: >> total 24K >> drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 . >> drwxr-xr-x 42 root root 4.0K 2008-04-24 12:20 .. >> drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 rrd > > Group writable maybe. > >> ./rrd: >> total 24K >> drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 . >> drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 .. >> drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 linux_narsil > > Group apache and group writable maybe. > >> ./rrd/linux_narsil: >> total 16K >> drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 . >> drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 .. >> >> I'd appreciate a kick in the right direction or some a decent >> howto... > > Hope the above helps. I do believe your web instance of nagios > is run by the apache user, so you have to make sure that the > directory permissions allows the apache process to write and > create files. > /L > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 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 melanie_pfefer at yahoo.co.uk Fri Apr 25 15:31:40 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 25 Apr 2008 13:31:40 +0000 (GMT) Subject: smtp server that nagios uses In-Reply-To: <007601c8a6d7$c6613d20$5323b760$@ru> References: <007601c8a6d7$c6613d20$5323b760$@ru> Message-ID: <913125.31119.qm@web26215.mail.ukl.yahoo.com> pb solved after adding relayhost= in /etc/postfix/main.cf and restarting postfix thx ___________________________________________________________ Yahoo! For Good. Give and get cool things for free, reduce waste and help our planet. Plus find hidden Yahoo! treasure http://green.yahoo.com/uk/earth-day/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 15:35:40 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 25 Apr 2008 09:35:40 -0400 Subject: smtp server that nagios uses In-Reply-To: <694885.95308.qm@web26207.mail.ukl.yahoo.com> References: <005a01c8a6d2$28523bc0$78f6b340$@ru> <694885.95308.qm@web26207.mail.ukl.yahoo.com> Message-ID: <20080425133540.GG12237@cgi.jachomes.com> On Fri, Apr 25, 2008 at 01:03:21PM +0000, Melanie Pfefer wrote: > mycompany.com smtp:smtp:ip_adddress_of_my_new_exchange If that's a copy and paste, note that you did "smtp:" *twice*. 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 livio.zanol.puppim at gmail.com Fri Apr 25 16:01:34 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Fri, 25 Apr 2008 11:01:34 -0300 Subject: Using NRPE-NT to check WMI on Windows Server In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A10D59C4A@CorpExMBS1.arcadis-us.com> References: <1689390EF608584D85BA56D958A5D1E45A10D59B14@CorpExMBS1.arcadis-us.com> <1689390EF608584D85BA56D958A5D1E45A10D59C4A@CorpExMBS1.arcadis-us.com> Message-ID: Sometime ago, I've tried to search suchthing, and determine the minimum permissions to make WMI specific queries. I've stopped on WMI and COM+ custom permissions that couldn't be set via GPO and for a big enviroment, this is a big problem. Have a check on google + microsoft searching for WMI query permissions... []'s L?vio Zanol Puppim 2008/4/24, Cook, Garry : > > > > > Thank you Tony, > > I see that you're the author of NC_Net, and I think you sent a message the > other day stating that there was a newly released version. > > What are your thoughts on doing things the way I described below vs. using > NC_Net (or any agent). > > Pros, cons, reason to use both? > > > > Thanks, > Garry > > > > > From: Anthony Montibello [mailto:amontibello at gmail.com] > Sent: Thursday, April 24, 2008 4:04 PM > To: Cook, Garry > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using NRPE-NT to check WMI on Windows Server > > > > > > Each WIndows element and WMI stuff require different permissions, > > > > > > When using WMI, you have access to do almost anything, > > > for example when query for users WMI contacts the primary domain controler > and waits for its results of all users in the Domamin. Naturally this > requires higher permissions than just qurying processes running in your user > space. > > > > > > To minimize your headacks, I assunme you want to test many system stats that > only System, Network Services or Administrators have access. > > > If this is true,Try to convince the domain admins to approve all your > scripts as non-destructive scripts. Then get the Domain Admins to add a > user with thesse administrator permissions, then restict that user to no > logon rights, and only rights to access the particular NRPE port. > > > > > > I hope this helps > > > > > > TOny > > > (Author of NC_NEt) > > > > > > > > > > > > On Thu, Apr 24, 2008 at 4:05 PM, Cook, Garry > wrote: > > > > Question for the Window's gurus out there. I'm not really a 'windows guy' > and don't have access to the Windows servers that I've been asked to > monitor. Therefore, I'm using the NRPE VBScript setup developed by > Groundwork to monitor some Windows servers via WMI. The NRPE-NT service runs > on one box which I do have control over and this is also where the VBScript > plugins live. > > > > When running NRPE-NT as my own Windows account, I can check services on > File/Print servers, but not Domain Controllers. I tried several other > accounts that have various levels of access and receive different errors. > I've been reduced to having one of our Domain Admins run this service under > his account, which works. This was done temporarily to test that this method > is possible, but cannot be used as a permanent solution. The goal is to have > NRPE-NT run as an account with the minimum level of permissions to perform > these service checks. > > > > What level of access does the account that runs the NRPE-NT service need to > have on all of the servers in order to function properly? > > Thank you, > > Garry W. Cook, CCNA > Network Systems Specialist > ARCADIS U.S., Inc. > 630 Plaza Drive, Suite 200 > Highlands Ranch, CO 80129 > 720.344.3708 (Office) > 720.220.1862 (Mobile) > > > ________________________________ > > > NOTICE: This e-mail and any files transmitted with it are the property of > ARCADIS U.S., Inc. and its affiliates. All rights, including without > limitation copyright, are reserved. The proprietary information contained in > this e-mail message, and any files transmitted with it, is intended for the > use of the recipient(s) named above. If the reader of this e-mail is not the > intended recipient, you are hereby notified that you have received this > e-mail in error and that any review, distribution or copying of this e-mail > or any files transmitted with it is strictly prohibited. If you have > received this e-mail in error, please notify the sender immediately and > delete the original message and any files transmitted. The unauthorized use > of this e-mail or any files transmitted with it is prohibited and disclaimed > by ARCADIS U.S., Inc. and its affiliates. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 livio.zanol.puppim at gmail.com Fri Apr 25 16:03:23 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Fri, 25 Apr 2008 11:03:23 -0300 Subject: Hosts reboots too fast for check_alive notification In-Reply-To: <481127A4.5000808@omniture.com> References: <481127A4.5000808@omniture.com> Message-ID: Or, you could try to use SNMPTRAP on the switches that the servers are, to inform link-down/link-up traps on interfaces and associates that interface to the server... []'s L?vio Zanol Puppim 2008/4/24, Aaron Devey : > You could have the server fire a script during reboots that submits a > check result to nagios via NSCA. It might be a little more elaborate > than what you were looking for, but it will always catch a reboot even > when a host check misses it. > > > -Aaron > > > > Rodrick Brown wrote: > > When one of my hosts reboots I'm never notified about the outage. > > Currently I'm using a custom script S99bootnotify to alert me when a > > host comes online, is there any way to shorten the polling for > > check_alive? I find it strange that a host could reboot and nagios not > > detect that outage. > > > > > > > > Thanks. > > > > > > > > --- > > > > Rodrick R. Brown > > > > Director, Systems Engineering > > > > Ballista Securities, LLC > > > > 120 Wall St. Suite 2400 > > > > P: 646 307 4709 > > > > C: 347 702 0012 > > > > F: 646 219-5872 > > > > E: rbrown(at)ballistasec.com > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 Fri Apr 25 17:06:39 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Fri, 25 Apr 2008 19:06:39 +0400 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <005801c8a6ce$1a4ff2a0$4eefd7e0$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> <005801c8a6ce$1a4ff2a0$4eefd7e0$@ru> Message-ID: <007701c8a6e5$f76f5790$e64e06b0$@ru> Hi again. Just now I've tried to change my command definition: define command{ command_name notify-by-sms command_line touch /home/rage/it_is_working } My /usr/local/nagios/etc/objects/templates.cfg: define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s service_notification_commands notify-by-sms host_notification_commands notify-by-sms register 0 } So according to my configuration, nagios must create a file in my /home/rage folder when an alert take place. But the file didn't appear when I manually shutdown one of my monitoring services. In the log files I got the same messages: Apr 25 19:03:35 srv-nagios nagios: SERVICE ALERT: vector;Check SMTP;OK;HARD;3;SMTP OK - 0.063 sec. response time Apr 25 19:03:35 srv-nagios nagios: SERVICE NOTIFICATION: nagiosadmin;vector;Check SMTP;OK;notify-by-sms;SMTP OK - 0.063 sec. response time What I am doing wrong? > Hello! Could anyone please assist me in troubleshooting the following task: > > I've bought a TC-35i GSM modem and connect it to my linux Debian box. > Everything works fine and I can successfully send sms using the following > command: > > echo "some test text" | gnokii --sendsms myNumber > > The problem is that nagios can't send sms using gnokii and I can't figure > out why Peter's script (I add it to my message in the bottom) won't work for > me. > > The command for nagios is: > > define command{ > command_name notify-service-by-email > command_line echo -e > "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME > $" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 > } > > I got the following message in /usr/local/nagios/var/nagios.log: > > [1209125514] SERVICE ALERT: vector;Check SMTP;CRITICAL;SOFT;1;Connection > refused > [1209125574] SERVICE ALERT: vector;Check SMTP;CRITICAL;SOFT;2;Connection > refused > [1209125634] SERVICE ALERT: vector;Check SMTP;CRITICAL;HARD;3;Connection > refused > [1209125634] SERVICE NOTIFICATION: nagiosadmin;vector;Check > SMTP;CRITICAL;notify-service-by-email;Connection refused Thanks in advance, Ilya. -----Original Message----- From: Peter Edmonds [mailto:termx23 at gmail.com] Sent: Friday, March 14, 2008 3:20 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone > Can anyone assist me in solving the following task: I need nagios to send > SMS via mobile phone connected to COM port. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 marc at ena.com Fri Apr 25 17:11:28 2008 From: marc at ena.com (Marc Powell) Date: Fri, 25 Apr 2008 10:11:28 -0500 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <007701c8a6e5$f76f5790$e64e06b0$@ru> References: <007701c8a6e5$f76f5790$e64e06b0$@ru> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ilya Meylikhov > Sent: Friday, April 25, 2008 10:07 AM > To: 'Peter Edmonds' > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone > > Hi again. > Just now I've tried to change my command definition: > > define command{ > command_name notify-by-sms > command_line touch /home/rage/it_is_working > } > What I am doing wrong? Are permissions on /home/rage sufficient that nagios can enter the directory and create the file? If you created that user with standard tools and done nothing else beyond that, most linux distributions won't permit that. -- 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 paul.weaver at bbc.co.uk Fri Apr 25 18:26:38 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Fri, 25 Apr 2008 17:26:38 +0100 Subject: Sending notifications via SMS+mobile phone In-Reply-To: References: Message-ID: > > Hi again. > > Just now I've tried to change my command definition: > > > > define command{ > > command_name notify-by-sms > > command_line touch /home/rage/it_is_working > > } > > > > What I am doing wrong? > > Are permissions on /home/rage sufficient that nagios can > enter the directory and create the file? If you created that > user with standard tools and done nothing else beyond that, > most linux distributions won't permit that. Perhaps you could try "touch /tmp/it_is_working" instead? Make sure the file doesn't exist before running nagios. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 18:35:01 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Fri, 25 Apr 2008 13:35:01 -0300 Subject: Host status information not found Message-ID: <20080425163501.GA17866@hermes.freesoftware.org> Hi all! I'm getting per moments this message in the statusmap for a single host. With the rest I don't have problems. That it can cause this? 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 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 lflacayo at cps.k12.il.us Fri Apr 25 18:42:31 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Fri, 25 Apr 2008 11:42:31 -0500 Subject: Best administration tool for Nagios In-Reply-To: <47EC581C.6010206@cwa.co.nz> References: <20080326124252.AFF46580059@desire.netways.de> <56F8CBCA82D02D4B894B69C804906D1AC27B27@usnjpar1blex04.us.ad.irmc.com> <47EC581C.6010206@cwa.co.nz> Message-ID: <1209141751.29930.40.camel@UNIX-TEAM-LACAYO> Not to offend anyone, But I think that this is a great opportunity for the community to get involved and help with the translation. Unfortunately, my French is as good as my Arabic, but I am willing to help with the Spanish version. :-) Thanks, Luis On Fri, 2008-03-28 at 15:29 +1300, Steve Wray wrote: > Yost, Karl wrote: > > Centreon for me, support for nagios 3 is on the way with the Centreon 2 > > release. > > yeah it looks interesting but a fair bit of it still seems to come > through in French even though I've told it my language choice is en. > > Eg Services Check Load de l'host oreon > > Forums would be more useful if you know French too... I guess that, wow, > the universe really *doesn't* revolve around English... > > :) > > > > Thanks, > > Karl > > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of PO > > Michel > > Sent: Wednesday, March 26, 2008 8:43 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Best administration tool for Nagios > > > > Hi list > > > > What is the best PHP/Mysql based tool to administer Nagios ? Nagios Web > > Config ? NagEdit ? Nagios PHP ? NagiosQL ? Nagat ? > > > > Does someone has an idea of which tool will sooner support Nagios 3.0 ? > > > > Thanks in advance for your advice, > > > > > > - PO Michel (misterpo) > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Luis Fernando Lacayo Chicago Public Schools Senior Unix Administrator ITS/ UNIX Infrastructure Office: 773-553-3835 Cell: 773-203-4493 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 22:00:04 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Sat, 26 Apr 2008 00:00:04 +0400 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <007701c8a6e5$f76f5790$e64e06b0$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> <005801c8a6ce$1a4ff2a0$4eefd7e0$@ru> <007701c8a6e5$f76f5790$e64e06b0$@ru> Message-ID: <008101c8a70e$f4c9b660$de5d2320$@ru> Thanks for assistance - I have figured out where my problem was lying. The answer to the major problem was in the following command definition: command_line echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME $" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 The user which runs nagios (nagios in my case) didn't have the permission to write to the /usr/local/nagios/var/gnokii.log and this user didn't have any permission to use /dev/ttyS0 (so chown nagios:nagios /dev/ttyS0 solved this one). But I wonder why I could't get any clue in the logs files when I had problems? This is a question to nagios developers... 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: Friday, April 25, 2008 7:07 PM To: 'Peter Edmonds' Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Hi again. Just now I've tried to change my command definition: define command{ command_name notify-by-sms command_line touch /home/rage/it_is_working } My /usr/local/nagios/etc/objects/templates.cfg: define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s service_notification_commands notify-by-sms host_notification_commands notify-by-sms register 0 } So according to my configuration, nagios must create a file in my /home/rage folder when an alert take place. But the file didn't appear when I manually shutdown one of my monitoring services. In the log files I got the same messages: Apr 25 19:03:35 srv-nagios nagios: SERVICE ALERT: vector;Check SMTP;OK;HARD;3;SMTP OK - 0.063 sec. response time Apr 25 19:03:35 srv-nagios nagios: SERVICE NOTIFICATION: nagiosadmin;vector;Check SMTP;OK;notify-by-sms;SMTP OK - 0.063 sec. response time What I am doing wrong? > Hello! Could anyone please assist me in troubleshooting the following task: > > I've bought a TC-35i GSM modem and connect it to my linux Debian box. > Everything works fine and I can successfully send sms using the following > command: > > echo "some test text" | gnokii --sendsms myNumber > > The problem is that nagios can't send sms using gnokii and I can't figure > out why Peter's script (I add it to my message in the bottom) won't work for > me. > > The command for nagios is: > > define command{ > command_name notify-service-by-email > command_line echo -e > "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME > $" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 > } > > I got the following message in /usr/local/nagios/var/nagios.log: > > [1209125514] SERVICE ALERT: vector;Check SMTP;CRITICAL;SOFT;1;Connection > refused > [1209125574] SERVICE ALERT: vector;Check SMTP;CRITICAL;SOFT;2;Connection > refused > [1209125634] SERVICE ALERT: vector;Check SMTP;CRITICAL;HARD;3;Connection > refused > [1209125634] SERVICE NOTIFICATION: nagiosadmin;vector;Check > SMTP;CRITICAL;notify-service-by-email;Connection refused Thanks in advance, Ilya. -----Original Message----- From: Peter Edmonds [mailto:termx23 at gmail.com] Sent: Friday, March 14, 2008 3:20 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone > Can anyone assist me in solving the following task: I need nagios to send > SMS via mobile phone connected to COM port. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 bsoares at halogica.com Fri Apr 25 22:07:23 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Fri, 25 Apr 2008 17:07:23 -0300 Subject: Automatic Report Generation Message-ID: <1127857B97C63B4285A9B02BEF67AEE601281618@afrodite.halogica.com.br> Hi people, I need to generate a report in Nagios 3.0, but this report must be generated automaticaly and, if possible, sent by e-mail for a mailbox. Is this natively possible in Nagios? Are there third-party tool to do it? Thanks. Best regards, brHS. Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Fri Apr 25 22:42:20 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Fri, 25 Apr 2008 17:42:20 -0300 Subject: RES: Automatic Report Generation Message-ID: <1127857B97C63B4285A9B02BEF67AEE60128164F@afrodite.halogica.com.br> What I need is a simple availability report, like I can generate in the Web GUI of the Nagios. -----Mensagem original----- De: Gerhard Lausser [mailto:Gerhard.Lausser at consol.de] Enviada em: sexta-feira, 25 de abril de 2008 17:25 Para: Br?ulio H. Soares Assunto: AW: [Nagios-users] Automatic Report Generation Hi, what kind of report? 65536 colors or 256 colors? PDF or PPT? What should be reported? Please be bit more specific on how your report should look like. Gerhard p.s. more and more people i meet ignore the nature of Nagios as a monitoring tool and ask "can generate reports?". I always have the dim feel, that for them reporting of failures is more important than preventing failures. > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von > Br?ulio H. Soares > Gesendet: Freitag, 25. April 2008 22:07 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Automatic Report Generation > > Hi people, > > I need to generate a report in Nagios 3.0, but this report must be > generated automaticaly and, if possible, sent by e-mail for a mailbox. > > Is this natively possible in Nagios? > Are there third-party tool to do it? > > Thanks. > > Best regards, > brHS. > > > > Aviso de Confidencialidade: As informa??es contidas nesta mensagem de > e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o > destinadas apenas ? pessoa ou entidade para a qual foi diretamente > endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente > respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? > est? notificado de que n?o dever? rever, retransmitir, imprimir, > copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se > voc? recebeu este e-mail por engano, por favor, contate o remetente > imediatamente e apague (delete) esta mensagem de seu computador ou de > qualquer outro banco de dados. Opini?es pessoais, coment?rios e > conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser > desconsideradas. Obrigado. > > Confidentiality Notice: The information contained in this email > message, including any attachment, is confidential and is intended > only for the person or entity to which it is addressed. If you are > neither the intended recipient nor the employee or agent responsible > for delivering this message to the intended recipient, you are hereby > notified that you may not review, retransmit, convert to hard copy, > copy, use or distribute this email message or any attachments to it. > If you have received this email in error, please contact the sender > immediately and delete this message from any computer or other data > bank. Personal opinions, remarks and conclusions are not endorsed by > Hal?gica Tecnologia, and must be disconsidered. Thank you. > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java .sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 25 23:02:30 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Fri, 25 Apr 2008 23:02:30 +0200 Subject: Automatic Report Generation In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE60128164F@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE60128164F@afrodite.halogica.com.br> Message-ID: <200804252102.m3PL2WsU024109@sol1.bb.consol.de> > What I need is a simple availability report, like I can > generate in the Web GUI of the Nagios. Create a report manually and when you click on the "Generate Availability Report!" button keep an eye on the apache logfile. Then take that url from the logfile (something with ...../avail.cgi?....). In a small script you can get the raw html of the report at any time with wget --output-document=report.html Then you can convert the html file with this: http://search.cpan.org/~autrijus/PDF-FromHTML-0.08/script/html2pdf.pl With the mutt mailer you can send a mail with an attachment #! /bin/bash wget --output-document=report.html html2pdf.pl report.html > report.pdf mutt -s "report" -a report.pdf recipients at somewhere.com rm report.html report.pdf This is not the exact solution, i just wrote it down without trying it. 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 rage_q3 at mail.ru Fri Apr 25 23:40:09 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Sat, 26 Apr 2008 01:40:09 +0400 Subject: Notification configuration In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE601281618@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE601281618@afrodite.halogica.com.br> Message-ID: <008201c8a71c$ef6cd8b0$ce468a10$@ru> Hello there! Can anyone please assist me to configure nagios in this way: When one of my host is down I need nagios to send only ONE notification stating that host is down. My current configuration makes nagios to send custom notification for each service that is configured on this host. I use gsm-modem and it's annoying. The same is about recovery notification. Is it possible? My system is: Linux srv-nagios 2.6.18-6-686 nagios-3.0b5 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 marc at ena.com Sat Apr 26 00:13:31 2008 From: marc at ena.com (Marc Powell) Date: Fri, 25 Apr 2008 17:13:31 -0500 Subject: Notification configuration In-Reply-To: <008201c8a71c$ef6cd8b0$ce468a10$@ru> References: <008201c8a71c$ef6cd8b0$ce468a10$@ru> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ilya Meylikhov > Sent: Friday, April 25, 2008 4:40 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification configuration > > Hello there! Can anyone please assist me to configure nagios in this way: > When one of my host is down I need nagios to send only ONE notification > stating that host is down. My current configuration makes nagios to send > custom notification for each service that is configured on this host. I use > gsm-modem and it's annoying. The same is about recovery notification. Is it > possible? Yes, configure a host check_command that determines that the host is down. Nagios will automatically suppress notifications for services on down or unreachable hosts. See first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html. Also verify that you do not have 'is_volatile' set for the service 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 Roger at NagiosWiki.com Sat Apr 26 06:30:53 2008 From: Roger at NagiosWiki.com (Roger) Date: Fri, 25 Apr 2008 21:30:53 -0700 Subject: nagios to monitor 'seamless mobility' solutions Message-ID: <2b7af7c40804252130x4270be5bp99328c40704b5507@mail.gmail.com> Just recently, I've gotten into mesh networking and am now researching into some of the "seemless mobility" solutions (802.11r, 802.21, etc). Any ideas on how to use Nagios (or any other F/OSS tool, for that matter) to somehow monitor what the users might be experiencing? I could monitor the health of each of the boxes, but that doesn't really fully describe what the user is experiencing on the go and whether or not that user should be experiencing what they're experiencing. -------------- 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 v-alloo at ti.com Sat Apr 26 13:28:45 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Sat, 26 Apr 2008 13:28:45 +0200 Subject: Hosts reboots too fast for check_alivenotification In-Reply-To: References: <481127A4.5000808@omniture.com> Message-ID: Hello, You can also check the uptime of the server. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Livio Zanol Puppim Sent: Friday, April 25, 2008 4:03 PM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hosts reboots too fast for check_alivenotification Or, you could try to use SNMPTRAP on the switches that the servers are, to inform link-down/link-up traps on interfaces and associates that interface to the server... []'s L?vio Zanol Puppim 2008/4/24, Aaron Devey : > You could have the server fire a script during reboots that submits a > check result to nagios via NSCA. It might be a little more elaborate > than what you were looking for, but it will always catch a reboot even > when a host check misses it. > > > -Aaron > > > > Rodrick Brown wrote: > > When one of my hosts reboots I'm never notified about the outage. > > Currently I'm using a custom script S99bootnotify to alert me when a > > host comes online, is there any way to shorten the polling for > > check_alive? I find it strange that a host could reboot and nagios not > > detect that outage. > > > > > > > > Thanks. > > > > > > > > --- > > > > Rodrick R. Brown > > > > Director, Systems Engineering > > > > Ballista Securities, LLC > > > > 120 Wall St. Suite 2400 > > > > P: 646 307 4709 > > > > C: 347 702 0012 > > > > F: 646 219-5872 > > > > E: rbrown(at)ballistasec.com > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 termx23 at gmail.com Sun Apr 27 15:34:48 2008 From: termx23 at gmail.com (Peter Edmonds) Date: Sun, 27 Apr 2008 23:34:48 +1000 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <008101c8a70e$f4c9b660$de5d2320$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> <005801c8a6ce$1a4ff2a0$4eefd7e0$@ru> <007701c8a6e5$f76f5790$e64e06b0$@ru> <008101c8a70e$f4c9b660$de5d2320$@ru> Message-ID: <6b8cee7e0804270634m23bf675eod57bb6f039b11a70@mail.gmail.com> On Sat, Apr 26, 2008 at 6:00 AM, Ilya Meylikhov wrote: > The user which runs nagios (nagios in my case) didn't have the permission to > write to the /usr/local/nagios/var/gnokii.log and this user didn't have any > permission to use /dev/ttyS0 (so chown nagios:nagios /dev/ttyS0 solved this > one). Hi Ilya, Glad you solved this one Ilya. I had the exact same issue when I first setup SMS notifications. It is easy to forget that you need to have the correct permissions to be able to access files, directories or in this case devices ! Probably a good idea to put the "chown nagios.nagios /dev/ttyS0" in rc.local so that the permissions get changed when the machine boots. I managed to get voice notifications working via Asterisk if you are interested. Asterisk calls your phone and reads the notification using flite. 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 Groups at beachcomp.com Mon Apr 28 09:22:49 2008 From: Groups at beachcomp.com (Groups at beachcomp.com) Date: Mon, 28 Apr 2008 03:22:49 -0400 Subject: Noob questions In-Reply-To: <2dfcbd1b0804231202t6b28cb90o1618b4ed569d750d@mail.gmail.com> References: <2dfcbd1b0804231202t6b28cb90o1618b4ed569d750d@mail.gmail.com> Message-ID: <077901c8a900$ab22fc30$0168f490$@com> Ok, Finally got Nagios 2.x going. Don't know much about Linux. How do I install Monarch on Ubuntu? Is there a step by step direction anyone can point me to? 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 tgh at tgharold.com Mon Apr 28 13:01:19 2008 From: tgh at tgharold.com (Thomas Harold) Date: Mon, 28 Apr 2008 07:01:19 -0400 Subject: Alert when status information changes In-Reply-To: <481065B1.2060304@pictura-dp.nl> References: <481065B1.2060304@pictura-dp.nl> Message-ID: <4815AE7F.6040503@tgharold.com> Sander Klein wrote: > Hi All, > > I have two loadbalancers in active-passive mode. I would like to know > when a failover happens. > > I don't want the service to become critical, unknown or warning I just > want to know when it occurs. Is this somehow possible with nagios? > > A push in the right direction would be nice :-) I'm very much a nagios-newbie, but I'm guessing (from reading my Pro Nagios 2.0 book the past few weeks) that you'd use a combination of: define service{ service_description loadbalancer-warnings is_volatile 1 max_check_attempts 1 active_checks_method 0 passive_checks_enabled 1 ... } You'd supposedly use the send_nsca command on the remote host to send a warning message to the NSCA daemon on the nagios host? (I haven't tried this yet - and don't completely understand it - but it was in the "Integrating Nagios" chapter where it talks about syslog-ng / snort integration.) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Mon Apr 28 16:44:11 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Mon, 28 Apr 2008 15:44:11 +0100 Subject: Strange NRPE Problem... Message-ID: Hi there, I'm having some strange NRPE behaviour. I've written a Perl script that runs a load of checks on our systems, but the ones that are causing the problem are any checks that want to connect to Oracle via DBI. The error it's giving me is: DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error (DBD ERROR: OCIServerAttach) at nagios_checks.pl line 82 Now this command works fine if I run it locally on the server, however when using NRPE it throws the above error. The lines in question in my script look like this: sub dbConnect { my $dbh; eval { $dbh = DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError => 1, AutoCommit => 0, PrintError => 0}) || die "failed to connect to $database\n"; }; if ($@) { my $msg .= $@."\n"; die "$msg\n"; } return $dbh; } The username, password and database get loaded in from a XML Config file... But it all works locally??? Any ideas? Cheers Gavin ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ -------------- 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 Mon Apr 28 16:50:03 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Mon, 28 Apr 2008 10:50:03 -0400 Subject: Strange NRPE Problem... In-Reply-To: References: Message-ID: <2274b9c30804280750h3278717ftd3edd0b8a20d900f@mail.gmail.com> Does it work locally if you run it as the same user as the NRPE daemon is running? On 4/28/08, Gavin Williams wrote: > Hi there, > > > > I'm having some strange NRPE behaviour. > > I've written a Perl script that runs a load of checks on our systems, > but the ones that are causing the problem are any checks that want to > connect to Oracle via DBI. > > > > The error it's giving me is: > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error > (DBD ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > Now this command works fine if I run it locally on the server, however > when using NRPE it throws the above error. > > > > The lines in question in my script look like this: > > sub dbConnect > > { > > my $dbh; > > eval > > { > > $dbh = > DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError > => 1, AutoCommit => 0, PrintError => 0}) > > || die "failed to connect to $database\n"; > > }; > > if ($@) > > { > > my $msg .= $@."\n"; > > die "$msg\n"; > > } > > > > return $dbh; > > } > > The username, password and database get loaded in from a XML Config > file... But it all works locally??? > > > > Any ideas? > > > > Cheers > > Gavin > > > ________________________________________________________________________ > Please consider the environment - do you really need to print this email? > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System - http://www.messagelabs.com. > ________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Mon Apr 28 16:57:00 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Mon, 28 Apr 2008 15:57:00 +0100 Subject: Strange NRPE Problem... References: <2274b9c30804280750h3278717ftd3edd0b8a20d900f@mail.gmail.com> Message-ID: The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... Cheers Gavin -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: 28 April 2008 15:50 To: Gavin Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... Does it work locally if you run it as the same user as the NRPE daemon is running? On 4/28/08, Gavin Williams wrote: > Hi there, > > > > I'm having some strange NRPE behaviour. > > I've written a Perl script that runs a load of checks on our systems, > but the ones that are causing the problem are any checks that want to > connect to Oracle via DBI. > > > > The error it's giving me is: > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error > (DBD ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > Now this command works fine if I run it locally on the server, however > when using NRPE it throws the above error. > > > > The lines in question in my script look like this: > > sub dbConnect > > { > > my $dbh; > > eval > > { > > $dbh = > DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError > => 1, AutoCommit => 0, PrintError => 0}) > > || die "failed to connect to $database\n"; > > }; > > if ($@) > > { > > my $msg .= $@."\n"; > > die "$msg\n"; > > } > > > > return $dbh; > > } > > The username, password and database get loaded in from a XML Config > file... But it all works locally??? > > > > Any ideas? > > > > Cheers > > Gavin > > > ________________________________________________________________________ > Please consider the environment - do you really need to print this email? > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System - http://www.messagelabs.com. > ________________________________________________________________________ ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rbrown at BallistaSec.com Mon Apr 28 17:00:30 2008 From: rbrown at BallistaSec.com (Rodrick Brown) Date: Mon, 28 Apr 2008 11:00:30 -0400 Subject: Strange NRPE Problem... In-Reply-To: References: <2274b9c30804280750h3278717ftd3edd0b8a20d900f@mail.gmail.com> Message-ID: I don't believe it's possible to use Nagios/Nrpe scripts with 3rd party modules I briefly read something about this in the documentation. Try testing with a very basic 3rd party module that you know must work under almost any condition. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gavin Williams Sent: Monday, April 28, 2008 10:57 AM To: kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... Cheers Gavin -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: 28 April 2008 15:50 To: Gavin Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... Does it work locally if you run it as the same user as the NRPE daemon is running? On 4/28/08, Gavin Williams wrote: > Hi there, > > > > I'm having some strange NRPE behaviour. > > I've written a Perl script that runs a load of checks on our systems, > but the ones that are causing the problem are any checks that want to > connect to Oracle via DBI. > > > > The error it's giving me is: > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error > (DBD ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > Now this command works fine if I run it locally on the server, however > when using NRPE it throws the above error. > > > > The lines in question in my script look like this: > > sub dbConnect > > { > > my $dbh; > > eval > > { > > $dbh = > DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError > => 1, AutoCommit => 0, PrintError => 0}) > > || die "failed to connect to $database\n"; > > }; > > if ($@) > > { > > my $msg .= $@."\n"; > > die "$msg\n"; > > } > > > > return $dbh; > > } > > The username, password and database get loaded in from a XML Config > file... But it all works locally??? > > > > Any ideas? > > > > Cheers > > Gavin > > > ________________________________________________________________________ > Please consider the environment - do you really need to print this email? > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System - http://www.messagelabs.com. > ________________________________________________________________________ ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 marc at ena.com Mon Apr 28 17:04:48 2008 From: marc at ena.com (Marc Powell) Date: Mon, 28 Apr 2008 10:04:48 -0500 Subject: Strange NRPE Problem... 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 Gavin Williams > Sent: Monday, April 28, 2008 9:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Strange NRPE Problem... > The username, password and database get loaded in from a XML Config file... But > it all works locally??? Assume no environment. No $PATH, etc etc... Can your XML config file still be found? Are you testing as the user that NRPE runs as? -- 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 Gavin.Williams at card.co.uk Mon Apr 28 17:10:15 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Mon, 28 Apr 2008 16:10:15 +0100 Subject: Strange NRPE Problem... References: <822f14060804280757x17028310h5c97e7eba15ab617@mail.gmail.com> <822f14060804280806v5c03b0d5x84c6705e92eb31f2@mail.gmail.com> Message-ID: Windows 2003 server, Perl5Lib and path set up correctly... Cheers Gavin -----Original Message----- From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of Richard Quintin Sent: 28 April 2008 16:06 To: Gavin Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... You might also check your PERL5LIB and LD_LIBRARY_PATH environment variables (assuming *nix). On Mon, Apr 28, 2008 at 10:57 AM, Richard Quintin wrote: > When you run it locally do you have TNS_ADMIN set? You might check > out a patch I recently submitted for check_oracle to allow you to use > Oracle Easy Connect. > > http://sourceforge.net/tracker/index.php?func=detail&aid=1945210&group_i d=29880&atid=397599 > > On Mon, Apr 28, 2008 at 10:44 AM, Gavin Williams > wrote: > > > > > > > > > > Hi there, > > > > > > > > I'm having some strange NRPE behaviour. > > > > I've written a Perl script that runs a load of checks on our systems, but > > the ones that are causing the problem are any checks that want to connect to > > Oracle via DBI. > > > > > > > > The error it's giving me is: > > > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error (DBD > > ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > > > > > Now this command works fine if I run it locally on the server, however when > > using NRPE it throws the above error. > > > > > > > > > > The lines in question in my script look like this: > > > > sub dbConnect > > > > { > > > > my $dbh; > > > > eval > > > > { > > > > $dbh = > > DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError => > > 1, AutoCommit => 0, PrintError => 0}) > > > > || die "failed to connect to $database\n"; > > > > }; > > > > if ($@) > > > > { > > > > my $msg .= $@."\n"; > > > > die "$msg\n"; > > > > } > > > > > > > > return $dbh; > > > > > > } > > > > The username, password and database get loaded in from a XML Config file... > > But it all works locally??? > > > > > > > > Any ideas? > > > > > > > > Cheers > > > > Gavin > > ________________________________________________________________________ > > Please consider the environment - do you really need to print this email? > > ________________________________________________________________________ > > This email has been scanned for all viruses by the MessageLabs Email > > Security System - http://www.messagelabs.com. > > ________________________________________________________________________ > > > > ------------------------------------------------------------------------ - > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting 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 > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 tydnet.org Mon Apr 28 17:02:04 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Mon, 28 Apr 2008 17:02:04 +0200 Subject: Strange NRPE Problem... In-Reply-To: References: <2274b9c30804280750h3278717ftd3edd0b8a20d900f@mail.gmail.com> Message-ID: <200804281702.04289.dani@tydnet.org> On Mon April 28 2008 16:57:00 Gavin Williams wrote: > The NRPE Demon is running under the Local System account - all my > previous DB scripts have worked fine, so not sure why this one is any > different... > > Not sure of any ways of explicitly testing it under the Local System > account... > give a try ti Capture_Plugin http://www.waggy.at/nagios/capture_plugin.htm regards, Daniel L?pez ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Mon Apr 28 17:14:01 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Mon, 28 Apr 2008 16:14:01 +0100 Subject: Strange NRPE Problem... References: <822f14060804280757x17028310h5c97e7eba15ab617@mail.gmail.com> <822f14060804280806v5c03b0d5x84c6705e92eb31f2@mail.gmail.com> <822f14060804280811n46f8753xd52a899628147b7@mail.gmail.com> Message-ID: No prob, cheers. Just to clarify, I'm using NRPE_Nt, with Nagios 2.0x and check_nrpe on Windows Server 2003. Cheers Gavin -----Original Message----- From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of Richard Quintin Sent: 28 April 2008 16:12 To: Gavin Williams Subject: Re: [Nagios-users] Strange NRPE Problem... Ah. Out of my element then. Good luck! :) On Mon, Apr 28, 2008 at 11:10 AM, Gavin Williams wrote: > Windows 2003 server, Perl5Lib and path set up correctly... > > Cheers > Gavin > > > > -----Original Message----- > From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of > Richard Quintin > Sent: 28 April 2008 16:06 > To: Gavin Williams > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Strange NRPE Problem... > > You might also check your PERL5LIB and LD_LIBRARY_PATH environment > variables (assuming *nix). > > On Mon, Apr 28, 2008 at 10:57 AM, Richard Quintin > wrote: > > When you run it locally do you have TNS_ADMIN set? You might check > > out a patch I recently submitted for check_oracle to allow you to use > > Oracle Easy Connect. > > > > > http://sourceforge.net/tracker/index.php?func=detail&aid=1945210&group_i > d=29880&atid=397599 > > > > On Mon, Apr 28, 2008 at 10:44 AM, Gavin Williams > > wrote: > > > > > > > > > > > > > > > Hi there, > > > > > > > > > > > > I'm having some strange NRPE behaviour. > > > > > > I've written a Perl script that runs a load of checks on our > systems, but > > > the ones that are causing the problem are any checks that want to > connect to > > > Oracle via DBI. > > > > > > > > > > > > The error it's giving me is: > > > > > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter > error (DBD > > > ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > > > > > > > > > Now this command works fine if I run it locally on the server, > however when > > > using NRPE it throws the above error. > > > > > > > > > > > > > > > The lines in question in my script look like this: > > > > > > sub dbConnect > > > > > > { > > > > > > my $dbh; > > > > > > eval > > > > > > { > > > > > > $dbh = > > > DBI->connect("dbi:Oracle:$database","$username","$password",{ > RaiseError => > > > 1, AutoCommit => 0, PrintError => 0}) > > > > > > || die "failed to connect to $database\n"; > > > > > > }; > > > > > > if ($@) > > > > > > { > > > > > > my $msg .= $@."\n"; > > > > > > die "$msg\n"; > > > > > > } > > > > > > > > > > > > return $dbh; > > > > > > > > > } > > > > > > The username, password and database get loaded in from a XML Config > file... > > > But it all works locally??? > > > > > > > > > > > > Any ideas? > > > > > > > > > > > > Cheers > > > > > > Gavin > > > > ________________________________________________________________________ > > > Please consider the environment - do you really need to print this > email? > > > > ________________________________________________________________________ > > > This email has been scanned for all viruses by the MessageLabs > Email > > > Security System - http://www.messagelabs.com. > > > > ________________________________________________________________________ > > > > > > > ------------------------------------------------------------------------ > - > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > Don't miss this year's exciting 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 > > > > > > > > > > > -- > > Richard Quintin, DBA > > Database & Application Administration > > Virginia Tech > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > ________________________________________________________________________ > Please consider the environment - do you really need to print this email? > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System - http://www.messagelabs.com. > ________________________________________________________________________ > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 28 17:04:17 2008 From: jfaulkne at icontact.com (Jason L. Faulkner) Date: Mon, 28 Apr 2008 11:04:17 -0400 (EDT) Subject: Strange NRPE Problem... In-Reply-To: References: Message-ID: <12488162.755081209395057792.JavaMail.root@mail.broadwick.com> As root, run "sudo -u accountname checkscript" (where accountname is what NRPE is running under) If it runs correctly, make sure to echo $? to ensure your return code is getting set correctly. -- Jason?Faulkner Lead?Systems?Engineer iContact?Corporation ----- Original Message ----- From: "Gavin Williams" To: "kyle odonnell" Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 28, 2008 10:57:00 AM (GMT-0500) America/New_York Subject: Re: [Nagios-users] Strange NRPE Problem... The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... -------------- 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 vmanojv at rediffmail.com Mon Apr 28 17:10:37 2008 From: vmanojv at rediffmail.com (Nair) Date: 28 Apr 2008 15:10:37 -0000 Subject: check_smtp Message-ID: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> hi all, Could you pls let me know usage of check_smtp to exceute an smtp command and display its output. 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 rbrown at BallistaSec.com Mon Apr 28 17:19:07 2008 From: rbrown at BallistaSec.com (Rodrick Brown) Date: Mon, 28 Apr 2008 11:19:07 -0400 Subject: Strange NRPE Problem... In-Reply-To: References: <2274b9c30804280750h3278717ftd3edd0b8a20d900f@mail.gmail.com> Message-ID: I would try hard coding the values into the script to see if that works, that should give you a good indication of where the problem lies. -----Original Message----- From: Gavin Williams [mailto:Gavin.Williams at card.co.uk] Sent: Monday, April 28, 2008 11:07 AM To: Rodrick Brown; kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Strange NRPE Problem... I've had it working fine with DBI and DBD-Oracle before. I've also been using Win32-Processes to check Process information, so I don't think it should matter. The only thing drastically different about this script is that it loads the config settings (Db, user, pass, etc) in from an XML config script using Config-XMLPerl. Any ideas? Cheers Gavin -----Original Message----- From: Rodrick Brown [mailto:rbrown at BallistaSec.com] Sent: 28 April 2008 16:01 To: Gavin Williams; kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Strange NRPE Problem... I don't believe it's possible to use Nagios/Nrpe scripts with 3rd party modules I briefly read something about this in the documentation. Try testing with a very basic 3rd party module that you know must work under almost any condition. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gavin Williams Sent: Monday, April 28, 2008 10:57 AM To: kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... Cheers Gavin -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: 28 April 2008 15:50 To: Gavin Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... Does it work locally if you run it as the same user as the NRPE daemon is running? On 4/28/08, Gavin Williams wrote: > Hi there, > > > > I'm having some strange NRPE behaviour. > > I've written a Perl script that runs a load of checks on our systems, > but the ones that are causing the problem are any checks that want to > connect to Oracle via DBI. > > > > The error it's giving me is: > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error > (DBD ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > Now this command works fine if I run it locally on the server, however > when using NRPE it throws the above error. > > > > The lines in question in my script look like this: > > sub dbConnect > > { > > my $dbh; > > eval > > { > > $dbh = > DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError > => 1, AutoCommit => 0, PrintError => 0}) > > || die "failed to connect to $database\n"; > > }; > > if ($@) > > { > > my $msg .= $@."\n"; > > die "$msg\n"; > > } > > > > return $dbh; > > } > > The username, password and database get loaded in from a XML Config > file... But it all works locally??? > > > > Any ideas? > > > > Cheers > > Gavin > > > ________________________________________________________________________ > Please consider the environment - do you really need to print this email? > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System - http://www.messagelabs.com. > ________________________________________________________________________ ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Mon Apr 28 17:29:01 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Mon, 28 Apr 2008 16:29:01 +0100 Subject: Strange NRPE Problem... References: <2274b9c30804280750h3278717ftd3edd0b8a20d900f@mail.gmail.com> Message-ID: Good call... Hard coding them worked... Hmm, now where do I go from here :( Was all going so well... :'( Any ideas? Cheers Gavin -----Original Message----- From: Rodrick Brown [mailto:rbrown at BallistaSec.com] Sent: 28 April 2008 16:19 To: Gavin Williams; kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Strange NRPE Problem... I would try hard coding the values into the script to see if that works, that should give you a good indication of where the problem lies. -----Original Message----- From: Gavin Williams [mailto:Gavin.Williams at card.co.uk] Sent: Monday, April 28, 2008 11:07 AM To: Rodrick Brown; kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Strange NRPE Problem... I've had it working fine with DBI and DBD-Oracle before. I've also been using Win32-Processes to check Process information, so I don't think it should matter. The only thing drastically different about this script is that it loads the config settings (Db, user, pass, etc) in from an XML config script using Config-XMLPerl. Any ideas? Cheers Gavin -----Original Message----- From: Rodrick Brown [mailto:rbrown at BallistaSec.com] Sent: 28 April 2008 16:01 To: Gavin Williams; kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Strange NRPE Problem... I don't believe it's possible to use Nagios/Nrpe scripts with 3rd party modules I briefly read something about this in the documentation. Try testing with a very basic 3rd party module that you know must work under almost any condition. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gavin Williams Sent: Monday, April 28, 2008 10:57 AM To: kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... Cheers Gavin -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: 28 April 2008 15:50 To: Gavin Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... Does it work locally if you run it as the same user as the NRPE daemon is running? On 4/28/08, Gavin Williams wrote: > Hi there, > > > > I'm having some strange NRPE behaviour. > > I've written a Perl script that runs a load of checks on our systems, > but the ones that are causing the problem are any checks that want to > connect to Oracle via DBI. > > > > The error it's giving me is: > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error > (DBD ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > Now this command works fine if I run it locally on the server, however > when using NRPE it throws the above error. > > > > The lines in question in my script look like this: > > sub dbConnect > > { > > my $dbh; > > eval > > { > > $dbh = > DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError > => 1, AutoCommit => 0, PrintError => 0}) > > || die "failed to connect to $database\n"; > > }; > > if ($@) > > { > > my $msg .= $@."\n"; > > die "$msg\n"; > > } > > > > return $dbh; > > } > > The username, password and database get loaded in from a XML Config > file... But it all works locally??? > > > > Any ideas? > > > > Cheers > > Gavin > > > ________________________________________________________________________ > Please consider the environment - do you really need to print this email? > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System - http://www.messagelabs.com. > ________________________________________________________________________ ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Mon Apr 28 17:06:39 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Mon, 28 Apr 2008 16:06:39 +0100 Subject: Strange NRPE Problem... References: <2274b9c30804280750h3278717ftd3edd0b8a20d900f@mail.gmail.com> Message-ID: I've had it working fine with DBI and DBD-Oracle before. I've also been using Win32-Processes to check Process information, so I don't think it should matter. The only thing drastically different about this script is that it loads the config settings (Db, user, pass, etc) in from an XML config script using Config-XMLPerl. Any ideas? Cheers Gavin -----Original Message----- From: Rodrick Brown [mailto:rbrown at BallistaSec.com] Sent: 28 April 2008 16:01 To: Gavin Williams; kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Strange NRPE Problem... I don't believe it's possible to use Nagios/Nrpe scripts with 3rd party modules I briefly read something about this in the documentation. Try testing with a very basic 3rd party module that you know must work under almost any condition. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gavin Williams Sent: Monday, April 28, 2008 10:57 AM To: kyle.odonnell at gmail.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... Cheers Gavin -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: 28 April 2008 15:50 To: Gavin Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Strange NRPE Problem... Does it work locally if you run it as the same user as the NRPE daemon is running? On 4/28/08, Gavin Williams wrote: > Hi there, > > > > I'm having some strange NRPE behaviour. > > I've written a Perl script that runs a load of checks on our systems, > but the ones that are causing the problem are any checks that want to > connect to Oracle via DBI. > > > > The error it's giving me is: > > DBI connect('','',...) failed: ORA-12560: TNS:protocol adapter error > (DBD ERROR: OCIServerAttach) at nagios_checks.pl line 82 > > > > Now this command works fine if I run it locally on the server, however > when using NRPE it throws the above error. > > > > The lines in question in my script look like this: > > sub dbConnect > > { > > my $dbh; > > eval > > { > > $dbh = > DBI->connect("dbi:Oracle:$database","$username","$password",{ RaiseError > => 1, AutoCommit => 0, PrintError => 0}) > > || die "failed to connect to $database\n"; > > }; > > if ($@) > > { > > my $msg .= $@."\n"; > > die "$msg\n"; > > } > > > > return $dbh; > > } > > The username, password and database get loaded in from a XML Config > file... But it all works locally??? > > > > Any ideas? > > > > Cheers > > Gavin > > > ________________________________________________________________________ > Please consider the environment - do you really need to print this email? > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System - http://www.messagelabs.com. > ________________________________________________________________________ ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gavin.Williams at card.co.uk Mon Apr 28 17:39:31 2008 From: Gavin.Williams at card.co.uk (Gavin Williams) Date: Mon, 28 Apr 2008 16:39:31 +0100 Subject: Strange NRPE Problem... References: <12488162.755081209395057792.JavaMail.root@mail.broadwick.com> Message-ID: Jason, Running on Windows 2003 box... Cheers for the info though. Gavin ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jason L. Faulkner Sent: 28 April 2008 16:04 To: nagios-users Subject: Re: [Nagios-users] Strange NRPE Problem... As root, run "sudo -u accountname checkscript" (where accountname is what NRPE is running under) If it runs correctly, make sure to echo $? to ensure your return code is getting set correctly. -- Jason Faulkner Lead Systems Engineer iContact Corporation ----- Original Message ----- From: "Gavin Williams" To: "kyle odonnell" Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 28, 2008 10:57:00 AM (GMT-0500) America/New_York Subject: Re: [Nagios-users] Strange NRPE Problem... The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... ________________________________________________________________________ Please consider the environment - do you really need to print this email? ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System - http://www.messagelabs.com. ________________________________________________________________________ -------------- 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 maxhetrick at verizon.net Mon Apr 28 17:47:59 2008 From: maxhetrick at verizon.net (Max Hetrick) Date: Mon, 28 Apr 2008 11:47:59 -0400 Subject: check_smtp In-Reply-To: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> References: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> Message-ID: <4815F1AF.5060007@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nair wrote: > Could you pls let me know usage of check_smtp to exceute an smtp command > and display its output. Read the manual on the command. You should take the time to read the manual on Nagios and look up these kinds of answers yourself before asking on the list. http://nagiosplugins.org/man/check_smtp Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFIFfGvIXSX/6LmsXkRAg0OAJ48PHJ2xeKoq0v+qRKygFb7oyRUowCfTrXe qinTuTMEF0jsS+jFQ12s4hY= =UGWt -----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 jra at baylink.com Mon Apr 28 18:00:59 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 28 Apr 2008 12:00:59 -0400 Subject: Strange NRPE Problem... In-Reply-To: References: Message-ID: <20080428160059.GF25108@cgi.jachomes.com> On Mon, Apr 28, 2008 at 03:44:11PM +0100, Gavin Williams wrote: > Now this command works fine if I run it locally on the server, however when > using NRPE it throws the above error. Standard question 37: when you test it locally, have you done $ su - nagios beforehand? (Or whomever your nrpe.cfg file says the daemon should run as -- it actually seems to default to nobody...) 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 Apr 28 18:08:55 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 28 Apr 2008 12:08:55 -0400 Subject: Strange NRPE Problem... In-Reply-To: References: <822f14060804280757x17028310h5c97e7eba15ab617@mail.gmail.com> <822f14060804280806v5c03b0d5x84c6705e92eb31f2@mail.gmail.com> <822f14060804280811n46f8753xd52a899628147b7@mail.gmail.com> Message-ID: <20080428160854.GK25108@cgi.jachomes.com> On Mon, Apr 28, 2008 at 04:14:01PM +0100, Gavin Williams wrote: > Just to clarify, I'm using NRPE_Nt, with Nagios 2.0x and check_nrpe on > Windows Server 2003. Yup; that was a good thing to clarify. :-) 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 Apr 28 18:09:48 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 28 Apr 2008 12:09:48 -0400 Subject: check_smtp In-Reply-To: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> References: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> Message-ID: <20080428160948.GL25108@cgi.jachomes.com> On Mon, Apr 28, 2008 at 03:10:37PM -0000, Nair wrote: > Could you pls let me know usage of check_smtp to exceute an smtp command and > display its output. Google for "nagios procurve". There's an example of using check_snmp to monitor HP ProCurve switches at, I think, Nagios Exchange, that ought to give you a pretty strong hint. 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 Apr 28 18:20:21 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Mon, 28 Apr 2008 09:20:21 -0700 Subject: A bit OT: sending MMS messages from Linux Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20CF7@wtps0171.amers.ibechtel.com> Greetings All, My apologies if this is to much off topic. We are having trouble sending alerts from our Nagios server to the MMS address of our cell phones. We have been sending SMS messages for years with great success, however MMS messages are never received. We would like to use MMS because SMS messages are limited to 160 characters, MMS has a much higher limit. The problem is not with Nagios but instead (I think) with the sendmail mechanism it uses when sending messages. I'm just hoping someone on the list has dealt with this already and can help me figure it out. We use Sendmail to send massages from the Nagios server to an internal SMTP gateway that forwards the messages on to the Internet. We can successfully send MMS messages from Outlook clients on the desktop which use the same SMTP gateways as the Nagios server, the phones receive these without any trouble. We have tried both ATT and Verizon systems and neither will deliver the MMS messages from the Nagios server. We have also tested sending the messages from the command line on the Linux server. The common link between all the scenarios we have tried is the Linux server and the sendmail transfer agent. Does anyone on the list send messages to MMS addresses? If so did you have any trouble getting it to work, if not what OS and mail transfer agent are you using? We have tested this from Red Hat 7.3/Sendmail 8.11 and Red Hat Enterprise Linux 5/Sendmail 8.13 Thanks, -greg -------------- 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 gevery at gmail.com Mon Apr 28 18:54:57 2008 From: gevery at gmail.com (Gary Every) Date: Mon, 28 Apr 2008 09:54:57 -0700 Subject: check_smtp In-Reply-To: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> References: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> Message-ID: Usage:check_smtp -H host [-p port] [-e expect] [-C command] [-f from addr][-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout] [-S] [-D days] [-n] [-v] [-4|-6] Do that from the command-line, you'll see the output - as well as status. On Mon, Apr 28, 2008 at 8:10 AM, Nair wrote: > hi all, > > Could you pls let me know usage of check_smtp to exceute an smtp command > and display its output. > > Thank you, > nair. > > > [image: JS RED] > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 rbrown at BallistaSec.com Mon Apr 28 19:56:13 2008 From: rbrown at BallistaSec.com (Rodrick Brown) Date: Mon, 28 Apr 2008 13:56:13 -0400 Subject: check_smtp In-Reply-To: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> References: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> Message-ID: -H is basically all you need -p iirc if your running on a non standard smtp port. It will return a 200 OK or something like that you don't have to muck around with the -w -c stuff for this check. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nair Sent: Monday, April 28, 2008 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_smtp hi all, Could you pls let me know usage of check_smtp to exceute an smtp command and display its output. Thank you, nair. JS RED -------------- 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 josh.wells at lionbank.com Mon Apr 28 20:17:34 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Mon, 28 Apr 2008 14:17:34 -0400 Subject: Upgrade to Hardy? Message-ID: <9179DC579128514D8035295BE49187E70FBB2EFA@mail2.fidelitynational.com> 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 patrick.morris at hp.com Mon Apr 28 20:19:44 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 28 Apr 2008 11:19:44 -0700 Subject: check_smtp In-Reply-To: <20080428160948.GL25108@cgi.jachomes.com> References: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> <20080428160948.GL25108@cgi.jachomes.com> Message-ID: <20080428181944.GK30359@bakgwai.americas.hpqcorp.net> On Mon, 28 Apr 2008, Jay R. Ashworth wrote: > On Mon, Apr 28, 2008 at 03:10:37PM -0000, Nair wrote: > > Could you pls let me know usage of check_smtp to exceute an smtp command and > > display its output. > > Google for "nagios procurve". There's an example of using check_snmp > to monitor HP ProCurve switches at, I think, Nagios Exchange, that > ought to give you a pretty strong hint. Probably not going to help much with SMTP monitoring. :) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 28 20:50:28 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 28 Apr 2008 14:50:28 -0400 Subject: check_smtp In-Reply-To: <20080428181944.GK30359@bakgwai.americas.hpqcorp.net> References: <20080428151037.22842.qmail@f5mail-237-201.rediffmail.com> <20080428160948.GL25108@cgi.jachomes.com> <20080428181944.GK30359@bakgwai.americas.hpqcorp.net> Message-ID: <20080428185028.GS25108@cgi.jachomes.com> On Mon, Apr 28, 2008 at 11:19:44AM -0700, Patrick Morris wrote: > On Mon, 28 Apr 2008, Jay R. Ashworth wrote: > > On Mon, Apr 28, 2008 at 03:10:37PM -0000, Nair wrote: > > > Could you pls let me know usage of check_smtp to exceute an > > > smtp command and display its output. > > > > Google for "nagios procurve". There's an example of using check_snmp > > to monitor HP ProCurve switches at, I think, Nagios Exchange, that > > ought to give you a pretty strong hint. > > Probably not going to help much with SMTP monitoring. :) Um. "It was right before lunch and my blood sugar was low"? ;-) 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 Mon Apr 28 21:32:56 2008 From: marc at ena.com (Marc Powell) Date: Mon, 28 Apr 2008 14:32:56 -0500 Subject: A bit OT: sending MMS messages from Linux In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B20CF7@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B20CF7@wtps0171.amers.ibechtel.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Frater, Greg J > Sent: Monday, April 28, 2008 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] A bit OT: sending MMS messages from Linux > > Greetings All, > > My apologies if this is to much off topic. > > Linux server. The common link between all the scenarios we have tried is the > Linux server and the sendmail transfer agent. Does anyone on the list send Sounds like it's just a normal e-mail to a specific address, correct? Have you verified that sendmail is behaving itself as a normal mail server on the Internet? It has valid public reverse DNS? Forward DNS matches reverse DNS? HELO name is a valid FQDN, preferably matching reverse DNS for the IP? What do your sendmail logs show? Is there a bounce generated? -- 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 daniel-listas at gmx.net Mon Apr 28 23:08:23 2008 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Mon, 28 Apr 2008 21:08:23 +0000 (UTC) Subject: Monitoring software RAID in Debian GNU/Linux Message-ID: Hi all!! I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and I've removed a member of RAID device with the following commands: mdadm --manage /dev/md2 --fail /dev/sdb3 mdadm --manage /dev/md2 --remove /dev/sdb3 But Executing by hand the plugin, it shows the RAID status in OK during degraded and rebuilding modes: xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl RAID OK: All arrays OK Is it correct to suppose the status would have to be CRITICAL and WARNING, respectively? Thanks in advance! Regards, Daniel [1] http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2418.html;d=1 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mjn at umn.edu Tue Apr 29 00:44:43 2008 From: mjn at umn.edu (mjn) Date: Mon, 28 Apr 2008 17:44:43 -0500 Subject: check_nt/PNP questions... Message-ID: <95459347-53BF-40E9-82B1-855B5AAEA962@umn.edu> New installation of the latest PNP on 2.X Nagios. My question has to do with the behavior of check_nt. I have a check defined for Trans/sec on SQL. I can run it like so: ./check_nt -H sql -p 5667 -v COUNTER -l "\\SQLServer:Databases(_Total)\ \Transactions/sec","Transactions/sec %f" And the output is: Transactions/sec 3 | 'Transactions/sec %f'=3.013140%;0.000000;0.000000; Is there a way to make check_nt NOT turn the number into a percentage? My second question has to do with the output I've gotten into PNP. Some of my counters that do use percentages, CPU for example, are showing weird averages or maxs like 272% CPU as a max load. Why would this happen and how would I "fix" the data in the rrd? Thanks! -- ____________________________________ Mike Neuharth Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v ===================================== College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 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 amontibello at gmail.com Tue Apr 29 01:49:24 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 28 Apr 2008 19:49:24 -0400 Subject: check_nt/PNP questions... In-Reply-To: <95459347-53BF-40E9-82B1-855B5AAEA962@umn.edu> References: <95459347-53BF-40E9-82B1-855B5AAEA962@umn.edu> Message-ID: That sounds strange, What Windows client are the results comming from? I have tweeked the Counter in Check_nc_net.c several years ago and have not had any reports of issue with this., why not try it, it should be compatible with all check_nt Windows plugins. http://sourceforge.net/project/showfiles.php?group_id=160140 Check_nc_net has detailed command line help for the syntex of Counter as well as all check_nt/check_nc_net commands Good Luck, Tony (Author of NC_Net) On Mon, Apr 28, 2008 at 6:44 PM, mjn wrote: > New installation of the latest PNP on 2.X Nagios. > > My question has to do with the behavior of check_nt. I have a check > defined for Trans/sec on SQL. I can run it like so: > > ./check_nt -H sql -p 5667 -v COUNTER -l > "\\SQLServer:Databases(_Total)\\Transactions/sec","Transactions/sec %f" > > And the output is: > Transactions/sec 3 | 'Transactions/sec %f'=3.013140%;0.000000;0.000000; > > Is there a way to make check_nt NOT turn the number into a percentage? > > My second question has to do with the output I've gotten into PNP. Some of > my counters that do use percentages, CPU for example, are showing weird > averages or maxs like 272% CPU as a max load. Why would this happen and how > would I "fix" the data in the rrd? > > Thanks! > > -- > ____________________________________ > Mike Neuharth > Server Operations Manager > phn: 612.625.1957 > cal: http://tinyurl.com/3jc2v > ===================================== > College of Food, Agricultural, and Natural Resource Sciences > University of Minnesota > http://www.cfans.umn.edu/ > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue Apr 29 02:15:42 2008 From: jfaulkne at icontact.com (Jason L. Faulkner) Date: Mon, 28 Apr 2008 20:15:42 -0400 (EDT) Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: References: Message-ID: <4931089.12561209428142903.JavaMail.root@mail.broadwick.com> There's a great check_raid plugin on nagiosexchange.com that we use here. If you can't find it on there, get me off list and I can send to you as an attach. --Jay ----- Original Message ----- From: "Daniel Bareiro" To: nagios-users at lists.sourceforge.net Sent: Monday, April 28, 2008 5:08:23 PM (GMT-0500) America/New_York Subject: [Nagios-users] Monitoring software RAID in Debian GNU/Linux Hi all!! I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and I've removed a member of RAID device with the following commands: mdadm --manage /dev/md2 --fail /dev/sdb3 mdadm --manage /dev/md2 --remove /dev/sdb3 But Executing by hand the plugin, it shows the RAID status in OK during degraded and rebuilding modes: xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl RAID OK: All arrays OK Is it correct to suppose the status would have to be CRITICAL and WARNING, respectively? Thanks in advance! Regards, Daniel [1] http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2418.html;d=1 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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 gavin at openfusion.com.au Tue Apr 29 02:25:22 2008 From: gavin at openfusion.com.au (Gavin Carr) Date: Tue, 29 Apr 2008 10:25:22 +1000 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: References: Message-ID: <20080429002522.GD21304@openfusion.com.au> Hi Daniel, On Mon, Apr 28, 2008 at 09:08:23PM +0000, Daniel Bareiro wrote: > I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and > I've removed a member of RAID device with the following commands: > > mdadm --manage /dev/md2 --fail /dev/sdb3 > mdadm --manage /dev/md2 --remove /dev/sdb3 > > But Executing by hand the plugin, it shows the RAID status in OK during > degraded and rebuilding modes: > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl > RAID OK: All arrays OK > > Is it correct to suppose the status would have to be CRITICAL and > WARNING, respectively? There's a good few of these plugins if you can't get this one working. I've got one here: http://www.openfusion.com.au/labs/nagios/ Cheers, Gavin ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.Kok at rewardstream.com Tue Apr 29 06:36:28 2008 From: Simon.Kok at rewardstream.com (Simon Kok) Date: Mon, 28 Apr 2008 21:36:28 -0700 Subject: Event log doesn't appear to have all transactions Message-ID: <1C8B15C1D054524E806C1A7D2B79FAC401267A0E@earth.rewardstream.local> Hi there. I'm using Nagios 3.0.1 - primarily using the check_http command to check the availability of some websites. I've set the log_rotation_method to be =h and I see that the log file is rotated every hour but it only appears to have logged the current state for that particular hour. For example, in the 3 AM file, I only see listed the time stamp for what was checked at 3 AM - nothing at 3:05, 3:10, 3:15, on so on. How do I get all activity from that one hour in that log file? Thanks in advance for your assistance. -- Simon -------------- 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 Tue Apr 29 08:07:57 2008 From: marc at ena.com (Marc Powell) Date: Tue, 29 Apr 2008 01:07:57 -0500 Subject: Event log doesn't appear to have all transactions In-Reply-To: <1C8B15C1D054524E806C1A7D2B79FAC401267A0E@earth.rewardstream.local> References: <1C8B15C1D054524E806C1A7D2B79FAC401267A0E@earth.rewardstream.local> Message-ID: <38534E46-7AF1-45B3-B11A-E5FB735B9036@ena.com> On Apr 28, 2008, at 11:36 PM, Simon Kok wrote: > Hi there. > > I'm using Nagios 3.0.1 - primarily using the check_http command to > check the availability of some websites. > > I've set the log_rotation_method to be =h and I see that the log > file is rotated every hour but it only appears to have logged the > current state for that particular hour. For example, in the 3 AM > file, I only see listed the time stamp for what was checked at 3 AM > - nothing at 3:05, 3:10, 3:15, on so on. > > How do I get all activity from that one hour in that log file? > Nagios only logs state changes and initial states (if you tell it to). HARD states are not logged. If you need a record of every check result, take a look at ndoutils to log to a database. -- 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 kmizole at free.fr Tue Apr 29 09:38:10 2008 From: kmizole at free.fr (kmizole) Date: Tue, 29 Apr 2008 09:38:10 +0200 Subject: check scheduler tuning ! Message-ID: <61feb6e60804290038h5ef4c46ek390c7ee633f99d25@mail.gmail.com> Hello there, I''ve installed a monitoring suite with Nagios and Centreon. But i have a problem with scheduling. After one night my scheduler displays next checks one hour before the actual time. Is there a way to optimize scheduler to get services checks on time. The inherent problem of this is when i force a service check, it takes ages to get the result. I hope i made myself clear ^^ Thanks in advance for your answers Infomations : Nagios 2.11 Centreon 1.4.2.4 approx 900 services (including several snmp traps) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 29 10:21:50 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 29 Apr 2008 04:21:50 -0400 Subject: check scheduler tuning ! In-Reply-To: <61feb6e60804290038h5ef4c46ek390c7ee633f99d25@mail.gmail.com> References: <61feb6e60804290038h5ef4c46ek390c7ee633f99d25@mail.gmail.com> Message-ID: <4816DA9E.5090502@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/08 03:38 AM, kmizole wrote: > Hello there, > > I''ve installed a monitoring suite with Nagios and Centreon. But i > have a problem with scheduling. After one night my scheduler displays > next checks one hour before the actual time. > > Is there a way to optimize scheduler to get services checks on time. You're probably having check latency. Look at the "Performance Info" page... Active Service Check Latency should be near 0. If it's not you have a problem. Here's an overview or how scheduling works in Nagios: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html Keep in mind that the following things will cause Nagios to stop processing commands until the external command returns: Host checks (performed on non-OK states, this can be solved in Nagios 3) Event handlers Performance data processing commands OCSP Commands - - It's not a good idea to avoid host checks so you'll want to make them return as fast as possible (using a well-tuned 1-ping check_icmp you can have ir always return within 1 second). - - Event handlers should fork before doing any work. - - Instead of using performance data processing commands you can have nagios write data to a file of fifo. See: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2520.html;d=1 http://www.control-alt-del.org/code/NPDaemon/ - - Instead of using OCSP commands you can use the perfdata file to forward commands. See: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon IF you must use the perf/ocsp commands anyways make sure they fork before doing any work. You can also have a look at some other things you can tune: http://nagios.sourceforge.net/docs/2_0/tuning.html Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIFtqe6dZ+Kt5BchYRAsTMAKDU4tPvKkSgfXJbXYNe0PA7InH2YwCdGAv/ 8WnbJfCp4dzeD5vT4G3gl0M= =2g1n -----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 Tue Apr 29 10:23:56 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 29 Apr 2008 09:23:56 +0100 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: References: Message-ID: <4816DB1C.2030302@googlemail.com> Daniel Bareiro wrote: > Hi all!! > > I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and > I've removed a member of RAID device with the following commands: > > mdadm --manage /dev/md2 --fail /dev/sdb3 > mdadm --manage /dev/md2 --remove /dev/sdb3 > > But Executing by hand the plugin, it shows the RAID status in OK during > degraded and rebuilding modes: > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl > RAID OK: All arrays OK > > Is it correct to suppose the status would have to be CRITICAL and > WARNING, respectively? > > Thanks in advance! > Try: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 -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 kmizole at free.fr Tue Apr 29 11:07:38 2008 From: kmizole at free.fr (kmizole) Date: Tue, 29 Apr 2008 11:07:38 +0200 Subject: check scheduler tuning ! In-Reply-To: <4816DA9E.5090502@aei.ca> References: <61feb6e60804290038h5ef4c46ek390c7ee633f99d25@mail.gmail.com> <4816DA9E.5090502@aei.ca> Message-ID: <61feb6e60804290207q64e24fb0r431233a02c51c4b1@mail.gmail.com> Thomas, thanks for your reply, i checked the latency and you were right, i have a 5 minutes latency between service checks. I already looked at the nagios config file and tried different settings without success. I disabled active hosts checks and the latency between service checks reduces. Thanks for your help. But imagine i would like to keep the host checks (check_host_alive) with a inter check delay of 3 minutes. Is it possible to run such a configuration with 100+ hosts and 1000+ active service checks without having a great latency ? S?bastien On Tue, Apr 29, 2008 at 10:21 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 29/04/08 03:38 AM, kmizole wrote: > > Hello there, > > > > I''ve installed a monitoring suite with Nagios and Centreon. But i > > have a problem with scheduling. After one night my scheduler displays > > next checks one hour before the actual time. > > > > Is there a way to optimize scheduler to get services checks on time. > > You're probably having check latency. Look at the "Performance Info" > page... Active Service Check Latency should be near 0. If it's not you > have a problem. > > Here's an overview or how scheduling works in Nagios: > http://nagios.sourceforge.net/docs/2_0/checkscheduling.html > > Keep in mind that the following things will cause Nagios to stop > processing commands until the external command returns: > Host checks (performed on non-OK states, this can be solved in Nagios 3) > Event handlers > Performance data processing commands > OCSP Commands > > - - It's not a good idea to avoid host checks so you'll want to make them > return as fast as possible (using a well-tuned 1-ping check_icmp you can > have ir always return within 1 second). > - - Event handlers should fork before doing any work. > - - Instead of using performance data processing commands you can have > nagios write data to a file of fifo. See: > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2520.html;d=1 > http://www.control-alt-del.org/code/NPDaemon/ > - - Instead of using OCSP commands you can use the perfdata file to > forward commands. See: > http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon > > IF you must use the perf/ocsp commands anyways make sure they fork > before doing any work. > > You can also have a look at some other things you can tune: > http://nagios.sourceforge.net/docs/2_0/tuning.html > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIFtqe6dZ+Kt5BchYRAsTMAKDU4tPvKkSgfXJbXYNe0PA7InH2YwCdGAv/ > 8WnbJfCp4dzeD5vT4G3gl0M= > =2g1n > -----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 Tue Apr 29 11:20:22 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 29 Apr 2008 05:20:22 -0400 Subject: check scheduler tuning ! In-Reply-To: <61feb6e60804290207q64e24fb0r431233a02c51c4b1@mail.gmail.com> References: <61feb6e60804290038h5ef4c46ek390c7ee633f99d25@mail.gmail.com> <4816DA9E.5090502@aei.ca> <61feb6e60804290207q64e24fb0r431233a02c51c4b1@mail.gmail.com> Message-ID: <4816E856.6020406@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/08 05:07 AM, kmizole wrote: > Thomas, > > thanks for your reply, i checked the latency and you were right, i > have a 5 minutes latency between service checks. > I already looked at the nagios config file and tried different > settings without success. > I disabled active hosts checks and the latency between service checks reduces. > > Thanks for your help. > > But imagine i would like to keep the host checks (check_host_alive) > with a inter check delay of 3 minutes. Is it possible to run such a > configuration with 100+ hosts and 1000+ active service checks without > having a great latency ? You probably don't need active host checks since Nagios already checks hosts on service state changes. If you really need to check ICMP then it would be much better to: 1. Make your host check perform 1 ping and return asap (on demand host checks) 2. Add a service for ICMP checking where you can take as long as you wish to perform the check (obviously, a different check_command). Nagios 3 can parallelize scheduled host checks and allow host result caching to overcome these limitations of Nagios 2. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIFuhV6dZ+Kt5BchYRAsZfAJ9P6QlzljxAjioPBD/M2QqnZoNSkQCg4oRA KlCVONR4wH5DVKsnG7D5rHc= =lNGy -----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 trevor_obba at yahoo.co.uk Tue Apr 29 13:31:48 2008 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Tue, 29 Apr 2008 11:31:48 +0000 (GMT) Subject: nagios status map Message-ID: <593315.54983.qm@web23310.mail.ird.yahoo.com> 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 From tom.welsh at bt.com Tue Apr 29 13:49:17 2008 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 29 Apr 2008 12:49:17 +0100 Subject: nagios status map References: <593315.54983.qm@web23310.mail.ird.yahoo.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5331B0CB@E03MVB2-UKBR.domain1.systemhost.net> 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 From bwalker at sharefax.org Tue Apr 29 15:36:42 2008 From: bwalker at sharefax.org (Beau Walker) Date: Tue, 29 Apr 2008 09:36:42 -0400 Subject: Issue with Contacts and Notifications Message-ID: I cannot for the life of me get nagios to send notifications to anyone that's NOT in the 'admins' group. Also, in the web interface, it lists every contact twice, even nagiosadmin. I've gone into templates.cfg and replaced 'admins' with 'itdept' and it still sends to 'admins' and nothing else. I've run the check with no errors and bounced the process. Under the notifications section of the web interface, it only lists 'admins' as well, so I don't believe it's an email issue, especially since if I put members from 'itdept' in 'admins', they receive the notificationsnotifications. -------------- 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 mmw at tiger-computing.co.uk Tue Apr 29 15:44:54 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Tue, 29 Apr 2008 14:44:54 +0100 Subject: Issue with Contacts and Notifications In-Reply-To: References: Message-ID: <20080429144454.4c7ca026@tclmmw.in.tiger-computing.com> On Tue, 29 Apr 2008 09:36:42 -0400 "Beau Walker" wrote: > I cannot for the life of me get nagios to send notifications to anyone > that's NOT in the 'admins' group. Also, in the web interface, it > lists every contact twice, even nagiosadmin. > > > > I've gone into templates.cfg and replaced 'admins' with 'itdept' and > it still sends to 'admins' and nothing else. I've run the check with > no errors and bounced the process. > > > > Under the notifications section of the web interface, it only lists > 'admins' as well, so I don't believe it's an email issue, especially > since if I put members from 'itdept' in 'admins', they receive the > notificationsnotifications. Sounds silly, but have you restarted Nagios after you've made the changes? I've noticed on some of our test boxes that sometimes you need to stop Nagios, then check that it truly has stopped (ps ax | grep nagios should only return the "grep" command) and then restart it. If you have already done this, can you post your nagios config files for notifications? Cheers, M -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwalker at sharefax.org Tue Apr 29 15:51:55 2008 From: bwalker at sharefax.org (Beau Walker) Date: Tue, 29 Apr 2008 09:51:55 -0400 Subject: Issue with Contacts and Notifications In-Reply-To: <4817278C.1060102@hotmail.com> References: <4817278C.1060102@hotmail.com> Message-ID: Both, and rebooted the server for kicks. -----Original Message----- From: Suresh LE ROCHUS [mailto:kenwaz2001 at hotmail.com] Sent: Tuesday, April 29, 2008 9:50 AM To: Beau Walker Subject: Re: [Nagios-users] Issue with Contacts and Notifications hello, Just to make sure, have reloaded nagios or stop and start it ? Beau Walker wrote: > I cannot for the life of me get nagios to send notifications to anyone > that's NOT in the 'admins' group. Also, in the web interface, it lists > every contact twice, even nagiosadmin. > > I've gone into templates.cfg and replaced 'admins' with 'itdept' and it > still sends to 'admins' and nothing else. I've run the check with no > errors and bounced the process. > > Under the notifications section of the web interface, it only lists > 'admins' as well, so I don't believe it's an email issue, especially > since if I put members from 'itdept' in 'admins', they receive the > notificationsnotifications. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting 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 bwalker at sharefax.org Tue Apr 29 16:05:37 2008 From: bwalker at sharefax.org (Beau Walker) Date: Tue, 29 Apr 2008 10:05:37 -0400 Subject: Issue with Contacts and Notifications In-Reply-To: <20080429144454.4c7ca026@tclmmw.in.tiger-computing.com> References: <20080429144454.4c7ca026@tclmmw.in.tiger-computing.com> Message-ID: It's pretty simple, and I've also never gotten the "Send custom service notification" to work either. # CONTACTS # ######################################################################## ####### ######################################################################## ####### # Just one contact defined by default - the Nagios admin (that's you) # This contact definition inherits a lot of default values from the 'generic-contact' # template which is defined elsewhere. define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Beau Walker ; Full name of user email bwalker at sharefax.local ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contact{ contact_name beau-cell use generic-contact alias Beau's Cingular Cell email EMAIL at gmail.com } define contact{ contact_name itdeptemail use generic-contact alias IT Department Email Only email EMAIL at sharefax.local } ######################################################################## ####### ######################################################################## ####### # # CONTACT GROUPS # ######################################################################## ####### ######################################################################## ####### # We only have one contact in this simple configuration file, so there is # no need to create more than one contact group. define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } define contactgroup{ contactgroup_name itdept alias IT Department Email Only members beau-cell,nagiosadmin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Matthew Macdonald-Wallace Sent: Tuesday, April 29, 2008 9:45 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Issue with Contacts and Notifications On Tue, 29 Apr 2008 09:36:42 -0400 "Beau Walker" wrote: > I cannot for the life of me get nagios to send notifications to anyone > that's NOT in the 'admins' group. Also, in the web interface, it > lists every contact twice, even nagiosadmin. > > > > I've gone into templates.cfg and replaced 'admins' with 'itdept' and > it still sends to 'admins' and nothing else. I've run the check with > no errors and bounced the process. > > > > Under the notifications section of the web interface, it only lists > 'admins' as well, so I don't believe it's an email issue, especially > since if I put members from 'itdept' in 'admins', they receive the > notificationsnotifications. Sounds silly, but have you restarted Nagios after you've made the changes? I've noticed on some of our test boxes that sometimes you need to stop Nagios, then check that it truly has stopped (ps ax | grep nagios should only return the "grep" command) and then restart it. If you have already done this, can you post your nagios config files for notifications? Cheers, M -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting 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 jra at baylink.com Tue Apr 29 16:24:16 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 29 Apr 2008 10:24:16 -0400 Subject: SNMP Traps from ProCurve Switches Message-ID: <20080429142416.GB30140@cgi.jachomes.com> I'm not entirely sure that I want to do this with Nagios.. or that I *should* use Nagios to do it, but this seems the best place to start. My 3.0 install is about a week old, and I'm slowly adding machines to it. My latest category is my collection of about 25 HP ProCurve switches of various models. I gather an impression that these switches can be set to trap out when ports change state. Some ports -- primarily server and device ports, obviously -- I care about state changes in all the time, and I'd like Nagios to tell me about them. Other ports -- workstations -- I only care when I'm wandering the building, and would like to be able to have something tell me which switch and port are at the other end of the wire I've just unplugged, or into which I've just plugged my handheld tester. I've done a bit o'Googling, and I'm still doing some more, but has anyone done this already, and have suggestions or pointers that might do me some good? Do I want to try to use Nagios to solve the larger problem, since I do want it to solve the smaller one anyway, or do I want to set up some other scripting that also catches the traps, and run it in parallel? And does anyone know if those traps include the MAC address of the rising device, or whether I'm going to have to go poll the MIB? 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 Tue Apr 29 16:26:03 2008 From: marc at ena.com (Marc Powell) Date: Tue, 29 Apr 2008 09:26:03 -0500 Subject: Issue with Contacts and Notifications 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 Beau Walker > Sent: Tuesday, April 29, 2008 8:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Issue with Contacts and Notifications > > I cannot for the life of me get nagios to send notifications to anyone that's > NOT in the 'admins' group. Also, in the web interface, it lists every contact > twice, even nagiosadmin. > > > > I've gone into templates.cfg and replaced 'admins' with 'itdept' and it still > sends to 'admins' and nothing else. I've run the check with no errors and > bounced the process. It sure sounds like you're not editing what you think you're editing (i.e. that template isn't used by nagios or the services you think you're changing). Please provide specific details or we're just going to be guessing randomly. Template definition Service definition Contactgroup definition Contact definition Nagios.cfg line where templates.cfg is included as a cfg_file. 'pwd; ls -l templates.cfg' in the directory it lives in. 'ps -efwww | grep nagios' output (or whatever ps variant your system uses) -- 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 daniel-listas at gmx.net Tue Apr 29 16:44:53 2008 From: daniel-listas at gmx.net (Daniel Guillermo Bareiro) Date: Tue, 29 Apr 2008 16:44:53 +0200 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <4816DB1C.2030302@googlemail.com> References: <4816DB1C.2030302@googlemail.com> Message-ID: <20080429144453.57530@gmx.net> Hi Hari! > > I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and > > I've removed a member of RAID device with the following commands: > > > > mdadm --manage /dev/md2 --fail /dev/sdb3 > > mdadm --manage /dev/md2 --remove /dev/sdb3 > > > > But Executing by hand the plugin, it shows the RAID status in OK during > > degraded and rebuilding modes: > > > > xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl > > RAID OK: All arrays OK > > > > Is it correct to suppose the status would have to be CRITICAL and > > WARNING, respectively? > Try: > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 Mmmm... It seems that URL is invalid: Category 'Detailed/2418.html;d=1' does not exist. Thanks for your reply. Regards, Daniel -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! http://games.entertainment.gmx.net/de/entertainment/games/free ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 29 17:24:52 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 29 Apr 2008 11:24:52 -0400 Subject: Issue with Contacts and Notifications In-Reply-To: References: Message-ID: <20080429152452.GC30140@cgi.jachomes.com> On Tue, Apr 29, 2008 at 09:26:03AM -0500, Marc Powell wrote: > It sure sounds like you're not editing what you think you're editing > (i.e. that template isn't used by nagios or the services you think > you're changing). Please provide specific details or we're just going to > be guessing randomly. > > Template definition > Service definition > Contactgroup definition > Contact definition > Nagios.cfg line where templates.cfg is included as a cfg_file. > 'pwd; ls -l templates.cfg' in the directory it lives in. > 'ps -efwww | grep nagios' output (or whatever ps variant your system > uses) Is there a verbose version of checkconfig that will tell you what Nagios *thinks you told it to do*? (IE: not just that it's happy with the config) Cheers, -- jra [ And, an aside, Marc: I want to apologize to you. You RTFMd someone pretty hard my first week here, and I was a bit snotty to you; clearly it wasn't justified. --j ] -- 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 hpsekhon at googlemail.com Tue Apr 29 17:35:37 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 29 Apr 2008 16:35:37 +0100 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <20080429144453.57530@gmx.net> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> Message-ID: <48174049.2030001@googlemail.com> Daniel Guillermo Bareiro wrote: > Hi Hari! > > >>> I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and >>> I've removed a member of RAID device with the following commands: >>> >>> mdadm --manage /dev/md2 --fail /dev/sdb3 >>> mdadm --manage /dev/md2 --remove /dev/sdb3 >>> >>> But Executing by hand the plugin, it shows the RAID status in OK during >>> degraded and rebuilding modes: >>> >>> xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl >>> RAID OK: All arrays OK >>> >>> Is it correct to suppose the status would have to be CRITICAL and >>> WARNING, respectively? >>> > > >> Try: >> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 >> > > Mmmm... It seems that URL is invalid: > Category 'Detailed/2418.html;d=1' does not exist. > > Thanks for your reply. > > Regards, > Daniel > Works for me. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 Perhaps you need to copy and paste the entire thing, maybe your mail client is misinterpreting or something. Alternatively, search nagios exchange for "check_md_raid", it'll be the only result. -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 mark.clarkson at smorg.co.uk Tue Apr 29 17:46:37 2008 From: mark.clarkson at smorg.co.uk (Mark Clarkson) Date: Tue, 29 Apr 2008 15:46:37 +0000 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <20080429144453.57530@gmx.net> References: Message-ID: <20080429154637.A1698373A1@winx-114.smorg.co.uk> <4816DB1C.2030302 at googlemail.com> <20080429144453.57530 at gmx.net> X-Priority: 5 (Lowest) Message-ID: <017d9003e2ddec84b1e3f6489495f274 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); Tue, 29 Apr 2008 15:46:37 +0000 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Tue, 29 Apr 2008 16:44:53 +0200, "Daniel Guillermo Bareiro" wrote: >> Try: >> > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 > > Mmmm... It seems that URL is invalid: > Category 'Detailed/2418.html;d=1' does not exist. > The link works for me! Try copying and pasting... ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 29 18:49:38 2008 From: daniel-listas at gmx.net (Daniel Guillermo Bareiro) Date: Tue, 29 Apr 2008 18:49:38 +0200 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <48174049.2030001@googlemail.com> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> Message-ID: <20080429164938.57530@gmx.net> Hi Hari! > >>> I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch > >>> and I've removed a member of RAID device with the following commands: > >>> > >>> mdadm --manage /dev/md2 --fail /dev/sdb3 > >>> mdadm --manage /dev/md2 --remove /dev/sdb3 > >>> > >>> But Executing by hand the plugin, it shows the RAID status in OK > >>> during > >>> degraded and rebuilding modes: > >>> > >>> xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl > >>> RAID OK: All arrays OK > >>> > >>> Is it correct to suppose the status would have to be CRITICAL and > >>> WARNING, respectively? > >> Try: > >> > >> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 > > Mmmm... It seems that URL is invalid: > > Category 'Detailed/2418.html;d=1' does not exist. > Works for me. > Perhaps you need to copy and paste the entire thing, maybe your mail > client is misinterpreting or something. > Alternatively, search nagios exchange for "check_md_raid", it'll be the > only result. Copying and pasting the link, it works. But this plugin is the one that I commented in this thread :-) 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? Thanks for your response. Regards, Daniel -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 29 19:22:46 2008 From: allanc at chickenandporn.com (Allan Clark) Date: Tue, 29 Apr 2008 13:22:46 -0400 Subject: SNMP Traps from ProCurve Switches In-Reply-To: <20080429142416.GB30140@cgi.jachomes.com> References: <20080429142416.GB30140@cgi.jachomes.com> Message-ID: <37c712e0804291022q2a0fca3cg29a0c2b0f3f73650@mail.gmail.com> On Tue, Apr 29, 2008 at 10:24 AM, Jay R. Ashworth wrote: > I'm not entirely sure that I want to do this with Nagios.. or that I > *should* use Nagios to do it, but this seems the best place to start. > > My 3.0 install is about a week old, and I'm slowly adding machines to > it. My latest category is my collection of about 25 HP ProCurve > switches of various models. > > I gather an impression that these switches can be set to trap out when > ports change state. Some ports -- primarily server and device ports, > obviously -- I care about state changes in all the time, and I'd like > Nagios to tell me about them. Other ports -- workstations -- I only > care when I'm wandering the building, and would like to be able to have > something tell me which switch and port are at the other end of the > wire I've just unplugged, or into which I've just plugged my handheld > tester. > > I've done a bit o'Googling, and I'm still doing some more, but has > anyone done this already, and have suggestions or pointers that might > do me some good? I was working on this, I wanted to connect directly rather than layer a lot of interposing scripts (which are often difficult to repair). I was trying to force snmptrapd to "log" to the Nagios command-channel, but snmptrapd seems to use different formats when logging to stdout compared to logging to a file. Anyone else with better luck? Allan -------------- 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 Tue Apr 29 19:30:43 2008 From: marc at ena.com (Marc Powell) Date: Tue, 29 Apr 2008 12:30:43 -0500 Subject: Issue with Contacts and Notifications In-Reply-To: <20080429152452.GC30140@cgi.jachomes.com> References: <20080429152452.GC30140@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: Tuesday, April 29, 2008 10:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Issue with Contacts and Notifications > > On Tue, Apr 29, 2008 at 09:26:03AM -0500, Marc Powell wrote: > > It sure sounds like you're not editing what you think you're editing > > (i.e. that template isn't used by nagios or the services you think > > you're changing). Please provide specific details or we're just going to > > be guessing randomly. > > > > Template definition > > Service definition > > Contactgroup definition > > Contact definition > > Nagios.cfg line where templates.cfg is included as a cfg_file. > > 'pwd; ls -l templates.cfg' in the directory it lives in. > > 'ps -efwww | grep nagios' output (or whatever ps variant your system > > uses) > > Is there a verbose version of checkconfig that will tell you what > Nagios *thinks you told it to do*? (IE: not just that it's happy with > the config) Not really. nagios -v will give you counts of objects found, and in the case of the OP, it should be easy to tell if it sees all his expected contacts. In the broader case, Andreas Ericsson once wrote a little program to print out the cfg files that nagios would read. It's available at http://oss.op5.se/nagios/getnagioscfg.c. It was written with 2.x in mind but I don't expect there to have been significant changes for 3.x -- 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 hpsekhon at googlemail.com Tue Apr 29 19:59:01 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 29 Apr 2008 18:59:01 +0100 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <20080429164938.57530@gmx.net> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> <20080429164938.57530@gmx.net> Message-ID: <481761E5.9020309@googlemail.com> Daniel Guillermo Bareiro wrote: > Hi Hari! > > Copying and pasting the link, it works. But this plugin is the one that I > commented in this thread :-) > > 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? > > Thanks for your response. > > Regards, > Daniel > have you tried running it with -vvv for debug output? 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. -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 bwalker at sharefax.org Tue Apr 29 20:04:51 2008 From: bwalker at sharefax.org (Beau Walker) Date: Tue, 29 Apr 2008 14:04:51 -0400 Subject: Issue with Contacts and Notifications In-Reply-To: <20080429152452.GC30140@cgi.jachomes.com> References: <20080429152452.GC30140@cgi.jachomes.com> Message-ID: I forgot to mention, this is Nagios 3.0.1 on Ubuntu 8.0.4 Jeos edition. (Ran under vmware server, not that it should matter) My nagios.cfg is still pretty stock. It still has the following lines it it, which are the files I've been editing. cfg_file=/usr/local/nagios/etc/objects/contacts.cfg cfg_file=/usr/local/nagios/etc/objects/templates.cfg In templates.cfg, I changed the windows-server host definition from Contact_groups admins To Contact_groups itdept And in contacts.cfg, I have contacts nagiosadmin and beau-cell. I also added this section: define contactgroup{ contactgroup_name itdept alias IT Department Email Only members beau-cell } Windows.cfg host definition define host{ use windows-server ; Inherit default values from a template host_name 1it4 ; The name we're giving to this host alias Beau's Computer ; A longer name associated with the host address X.X.X.140 ; IP address of the host #contact_groups itdept !!!tried with and without!!! } Also, is this the output you were looking for? Checking contacts... Checked 4 contacts. Checking contact groups... Checked 2 contact groups. Regarding ls output /usr/local/nagios/etc/objects -rw-rw-r-- 1 nagios nagios 10812 2008-04-28 17:18 templates.cfg All of my configs have the same perms and owners. Ps output: nagios 15559 1 0 10:40 ? 00:00:04 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg -----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: Tuesday, April 29, 2008 11:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Issue with Contacts and Notifications On Tue, Apr 29, 2008 at 09:26:03AM -0500, Marc Powell wrote: > It sure sounds like you're not editing what you think you're editing > (i.e. that template isn't used by nagios or the services you think > you're changing). Please provide specific details or we're just going to > be guessing randomly. > > Template definition > Service definition > Contactgroup definition > Contact definition > Nagios.cfg line where templates.cfg is included as a cfg_file. > 'pwd; ls -l templates.cfg' in the directory it lives in. > 'ps -efwww | grep nagios' output (or whatever ps variant your system > uses) Is there a verbose version of checkconfig that will tell you what Nagios *thinks you told it to do*? (IE: not just that it's happy with the config) Cheers, -- jra [ And, an aside, Marc: I want to apologize to you. You RTFMd someone pretty hard my first week here, and I was a bit snotty to you; clearly it wasn't justified. --j ] -- 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/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 GJFRATER at bechtel.com Tue Apr 29 20:17:58 2008 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Tue, 29 Apr 2008 11:17:58 -0700 Subject: (no subject) Message-ID: <872CB0AEB377C240A112DD7C10B2592904B20D07@wtps0171.amers.ibechtel.com> >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Frater, Greg J >> Sent: Monday, April 28, 2008 11:20 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] A bit OT: sending MMS messages from Linux >> >> Greetings All, >> >> My apologies if this is to much off topic. >> >> Linux server. The common link between all the scenarios we have tried is the >> Linux server and the sendmail transfer agent. Does anyone on the list send >Sounds like it's just a normal e-mail to a specific address, correct? Yes, as far as Linux/Nagios is concerned they are standard messages to SMTP addresses. >Have you verified that sendmail is behaving itself as a normal mail server on the Internet? It has valid public reverse DNS? Forward DNS matches reverse DNS? HELO name is a valid FQDN, preferably matching reverse DNS for the IP? What do your sendmail logs show? Is there a bounce generated? We use the same Nagios command to send successfully to the SMS addresses (number at vtext.com vs number at vzwpix.com for MMS) of the same phones (i.e. using the same SMTP servers to get out). The sendmail logs show the messages as being delivered Okay. I did some testing, I'm trying different things to try and discover where the problem lies. Test: Send 10 messages from old RH/sendmail box to MMS address of cell phone, Send 10 messages from new RH/sendmail box to MMS address of cell phone, Send 10 messages from windows box (with sendmail port) to the MMS address of cell phone. All messages are sent one after another from the command line. Results: Usually all 10 of the messages from the Windows box come through, though not always. Some of the Linux generated messages come through I've gotten as many as 4 and as few as none. The new versus old versions of Linux and Sendmail do not seem to make a difference. The messages will come through on occasion but not consistently. Not good for a monitoring solution. I should rephrase my original questions: Is anyone else using MMS to receive Nagios alerts? Do you ever notice any alerts not getting to your phone? What provider are you using? Thanks, -greg -------------- 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 Wed Apr 30 00:38:59 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 29 Apr 2008 18:38:59 -0400 Subject: SNMP Traps from ProCurve Switches In-Reply-To: <37c712e0804291022q2a0fca3cg29a0c2b0f3f73650@mail.gmail.com> References: <20080429142416.GB30140@cgi.jachomes.com> <37c712e0804291022q2a0fca3cg29a0c2b0f3f73650@mail.gmail.com> Message-ID: <4817A383.3050204@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/08 01:22 PM, Allan Clark wrote: > On Tue, Apr 29, 2008 at 10:24 AM, Jay R. Ashworth > wrote: > > I'm not entirely sure that I want to do this with Nagios.. or that I > *should* use Nagios to do it, but this seems the best place to start. > > My 3.0 install is about a week old, and I'm slowly adding machines to > it. My latest category is my collection of about 25 HP ProCurve > switches of various models. > > I gather an impression that these switches can be set to trap out when > ports change state. Some ports -- primarily server and device ports, > obviously -- I care about state changes in all the time, and I'd like > Nagios to tell me about them. Other ports -- workstations -- I only > care when I'm wandering the building, and would like to be able to have > something tell me which switch and port are at the other end of the > wire I've just unplugged, or into which I've just plugged my handheld > tester. > > I've done a bit o'Googling, and I'm still doing some more, but has > anyone done this already, and have suggestions or pointers that might > do me some good? > > > I was working on this, I wanted to connect directly rather than layer a > lot of interposing scripts (which are often difficult to repair). I was > trying to force snmptrapd to "log" to the Nagios command-channel, but > snmptrapd seems to use different formats when logging to stdout compared > to logging to a file. > > Anyone else with better luck? You will probably want to use SNMPTT (SNMP Trap Translator) as the glue between snmptrapd and Nagios. Since it can import trap definitions directly from MIB files most of your work (once it's set up) will be to import them and acc proper EXEC line where you want to send Nagios alerts. The EXEC lines in your SNMPTT configs will look like this: EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $r "Service name" "Message" Where is the numeric value for the alert (0 OK, 1 WARNING, etc.) and "Message" can contain SNMPTT variables to give useful details (ex. port name, new state...) Another solution would be to try OpsView (A Nagios frontend). I haven't tried it yet but it looks like it's pretty easy to add traps to Nagios with it. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIF6OD6dZ+Kt5BchYRAusgAKDVUHlYULknz1beizB55JDFZ1Y/BgCdH08j Y5jHrgCtBoiPBG6iVUE6EiA= =uKoC -----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 Wed Apr 30 03:02:10 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 29 Apr 2008 21:02:10 -0400 Subject: SNMP Traps from ProCurve Switches In-Reply-To: <37c712e0804291627h4d8860b8n82dd70dd3180c6fe@mail.gmail.com> References: <20080429142416.GB30140@cgi.jachomes.com> <37c712e0804291022q2a0fca3cg29a0c2b0f3f73650@mail.gmail.com> <4817A383.3050204@aei.ca> <37c712e0804291627h4d8860b8n82dd70dd3180c6fe@mail.gmail.com> Message-ID: <4817C512.6060701@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/08 07:27 PM, Allan Clark wrote: > (pulled cc;) Please keep the mailing list in - Is can be useful for others. > Are MIBs so new or unused that (like LDAP) there's not enough of a > user-base to warrant Nagios understanding them? Nagios has absolutely no knowledge of MIBs - basically all it know about is hosts, services and their results... The problem you'll have is to map a specific trap (or set of traps) to a Nagios service and alert level with a meaningful message. What's nice with SNMPTT is that it can parse MIBs and extract traps and put everything in a SNMPTT config file ready for logging. You'll see the traps, description and variables. All you have to do then is add an EXEC line for the traps you want to send the result to Nagios, and set the alert level and message you want (using the variables provided). I attached a sample config file. This is basically a convert of IF-MIB with two traps in it, linkUp and linkDown (I'm not sure it I trimmed it of not...). What I added is the EXEC lines (and possibly modified the FORMAT lines). Everything else is from snmpttconvertmib. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIF8US6dZ+Kt5BchYRAmCUAJ4/FcqrH2rc16l5li/TFGhJtC4QugCg8fv9 Wdc4Tcyxw3RtVJ3Kl7Fh7Yg= =92w3 -----END PGP SIGNATURE----- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: IF-MIB.conf 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 Wed Apr 30 06:11:27 2008 From: devinbhullar at gmail.com (Devinder Singh) Date: Wed, 30 Apr 2008 12:11:27 +0800 Subject: Fwd: MRTG Graf In-Reply-To: <8a8640570804292111i210855f1oa3d39112695b9c3e@mail.gmail.com> References: <8a8640570804292111i210855f1oa3d39112695b9c3e@mail.gmail.com> Message-ID: <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> ---------- 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 Please advise -- Devinder -- 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 Wed Apr 30 14:45:30 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 30 Apr 2008 13:45:30 +0100 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts Message-ID: <481869EA.2060300@googlemail.com> Hi, I've just released the Check_Yum plugin on NagiosExchange.org as the only one there seemed quite inadequate. Features of the new plugin (none of which are in the old plugin) include: - Differentiate between Security / normal package updates - Better output - numbers of packages updates - Support for extra Yum options including enabling and disabling repos, running from the cache - Optional Warning on non-security updates - Optional Critical alerting on any package - Timeout - Verbosity - Less false package alerts (the old plugin just used to misleading say the O/S needed updates when yum failed for any reason at all), including proper error feedback and a switch for lock handling to not raise an alert like if somebody is running yum interactively at the same time. You can download the plugin here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d=1 (you may need to copy and paste that link if your mail client misinterprets the link) As ever, feedback is welcome, and development will continue if needed for extra switches and features. This should also work with Fedora or another RPM based distros that uses yum as it's package management system but I've not tested it outside RHEL/CentOS so feedback is welcome there too. On a related note, I'm also quite interested in people's experiences of updating and maintaining RedHat based systems especially with regards to security. I spoke to a few people and they basically don't follow security vulnerabilities and don't patch which ties in with my experiences and what I've seen of other people's systems too which is very disappointing. Hopefully this will make it easier to automatically track and keep on top of security updates for those of us who have RedHat Enterprise Linux 5 or later or equivalent. 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 hvdkooij at vanderkooij.org Wed Apr 30 11:33:59 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 30 Apr 2008 11:33:59 +0200 Subject: Issue with Contacts and Notifications In-Reply-To: References: Message-ID: <48183D07.8090309@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Beau Walker wrote: | Both, and rebooted the server for kicks. You must be a windows user ;-) 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) iD8DBQFIGD0FBvzDRVjxmYERAvR6AJ9vSrMm9J2YG2pUlNYAe6SH2jJV6wCgnh0K k21hetpnqj7Kbw+oXqJaOpo= =hlEU -----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 Wed Apr 30 15:45:03 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 30 Apr 2008 15:45:03 +0200 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts In-Reply-To: <481869EA.2060300@googlemail.com> References: <481869EA.2060300@googlemail.com> Message-ID: <481877DF.7070201@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: | I've just released the Check_Yum plugin on NagiosExchange.org as the | only one there seemed quite inadequate. There is a design bug: You must be root to run this plugin (otherwise yum cannot access repository information) 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) iD8DBQFIGHfdBvzDRVjxmYERAuDgAKCw/KgI0vgBvnbbNVZGhVl+8d5W0ACgkrBJ hGQwTfGemU/Jk9PFAGDnWBo= =B06L -----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 Wed Apr 30 16:10:07 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 30 Apr 2008 16:10:07 +0200 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts In-Reply-To: <481877DF.7070201@vanderkooij.org> References: <481869EA.2060300@googlemail.com> <481877DF.7070201@vanderkooij.org> Message-ID: <48187DBF.90404@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hugo van der Kooij wrote: | Hari Sekhon wrote: | | | I've just released the Check_Yum plugin on NagiosExchange.org as the | | only one there seemed quite inadequate. | | 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. - -- 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) iD8DBQFIGH2+BvzDRVjxmYERAvjiAJ0eyvyRV9VQF0BtrvlRDv7kHQU2vQCfZmWv Kb77wvRfmnkdK9t/EK2Ikt4= =bpsH -----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 cschneemann at suse.de Wed Apr 30 16:25:26 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Wed, 30 Apr 2008 16:25:26 +0200 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts In-Reply-To: <481869EA.2060300@googlemail.com> References: <481869EA.2060300@googlemail.com> Message-ID: <200804301625.26528.cschneemann@suse.de> On Wednesday April 30 2008 02:45:30 pm Hari Sekhon wrote: > Hi, > > I've just released the Check_Yum plugin on NagiosExchange.org as the > only one there seemed quite inadequate. > ... Hi, wanted to have a look at it, but it is a binary, do you provide the sources anywhere? And what license is it? Greetings, Christian -- 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 bwalker at sharefax.org Wed Apr 30 16:24:30 2008 From: bwalker at sharefax.org (Beau Walker) Date: Wed, 30 Apr 2008 10:24:30 -0400 Subject: Issue with Contacts and Notifications In-Reply-To: <48183D07.8090309@vanderkooij.org> References: <48183D07.8090309@vanderkooij.org> Message-ID: :P Well, this doesn't seem to be going anywhere. Can someone list or point me to a list of steps to add and use additional contact_groups? Maybe I can start from scratch and figure it out. I just want to add that "Send custom service notification" does work, I was just expecting it to send the comments in the notification too. To recap, I'm trying to use a different contact group other than 'admins', and nagios continues to use 'admins'. I've tried changing the group in the template file for windows-servers and in the windows.cfg file as well. -----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: Wednesday, April 30, 2008 5:34 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Issue with Contacts and Notifications -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Beau Walker wrote: | Both, and rebooted the server for kicks. You must be a windows user ;-) 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) iD8DBQFIGD0FBvzDRVjxmYERAvR6AJ9vSrMm9J2YG2pUlNYAe6SH2jJV6wCgnh0K k21hetpnqj7Kbw+oXqJaOpo= =hlEU -----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/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 prandal at herefordshire.gov.uk Wed Apr 30 16:30:12 2008 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 30 Apr 2008 15:30:12 +0100 Subject: Announce: Check_Yum for RedHat/CentOS server packagealerts In-Reply-To: <481869EA.2060300@googlemail.com> References: <481869EA.2060300@googlemail.com> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA039141A3@HC-MBX02.herefordshire.gov.uk> # ./check_yum -vvv setting plugin timeout to 30 seconds running command: /usr/bin/yum --security check-update Returncode: '0' Output: 'Loading "security" plugin Loading "priorities" plugin Loading "protectbase" plugin Loading "installonlyn" plugin Loading "dellsysidplugin" plugin Setting up repositories Reading repository metadata in from local files Reducing city-fan.org repository for Red Hat Enterprise Linux (and clones) 5 (x86_64) to included packages only Finished Excluding Packages from Red Hat Enterprise 5 - RPMforge.net - dag Finished Reducing city-fan.org repository for Fedora Core Rawhide (x86_64) to included packages only Finished Limiting package lists to security relevant ones No packages needed, for security, 0 available 0 packages excluded due to repository priority protections 0 packages excluded due to repository protections ' Yum WARNING: Yum output signature does not match current known format, please make sure you have upgraded to the latest version of this plugin. If the problem persists, please contact the author for a fix Oh well, maybe one day it will work. :-p Phil -- Phil Randal Networks Engineer Herefordshire Council Hereford, UK -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 30 April 2008 13:46 To: Nagios Users mailinglist Subject: [Nagios-users] Announce: Check_Yum for RedHat/CentOS server packagealerts Hi, I've just released the Check_Yum plugin on NagiosExchange.org as the only one there seemed quite inadequate. Features of the new plugin (none of which are in the old plugin) include: - Differentiate between Security / normal package updates - Better output - numbers of packages updates - Support for extra Yum options including enabling and disabling repos, running from the cache - Optional Warning on non-security updates - Optional Critical alerting on any package - Timeout - Verbosity - Less false package alerts (the old plugin just used to misleading say the O/S needed updates when yum failed for any reason at all), including proper error feedback and a switch for lock handling to not raise an alert like if somebody is running yum interactively at the same time. You can download the plugin here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d= 1 (you may need to copy and paste that link if your mail client misinterprets the link) As ever, feedback is welcome, and development will continue if needed for extra switches and features. This should also work with Fedora or another RPM based distros that uses yum as it's package management system but I've not tested it outside RHEL/CentOS so feedback is welcome there too. On a related note, I'm also quite interested in people's experiences of updating and maintaining RedHat based systems especially with regards to security. I spoke to a few people and they basically don't follow security vulnerabilities and don't patch which ties in with my experiences and what I've seen of other people's systems too which is very disappointing. Hopefully this will make it easier to automatically track and keep on top of security updates for those of us who have RedHat Enterprise Linux 5 or later or equivalent. 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/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 hpsekhon at googlemail.com Wed Apr 30 16:57:40 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 30 Apr 2008 15:57:40 +0100 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts In-Reply-To: <200804301625.26528.cschneemann@suse.de> References: <481869EA.2060300@googlemail.com> <200804301625.26528.cschneemann@suse.de> Message-ID: <481888E4.4040701@googlemail.com> Christian Schneemann wrote: > On Wednesday April 30 2008 02:45:30 pm Hari Sekhon wrote: > >> Hi, >> >> I've just released the Check_Yum plugin on NagiosExchange.org as the >> only one there seemed quite inadequate. >> >> > ... > Hi, > wanted to have a look at it, but it is a binary, do you provide the sources > anywhere? And what license is it? > > Greetings, > Christian > It is a python program so you can just open it with an editor and read the source. The license is at the top and like everything else I write it's GPLv2. If anyone has a good reason for me to go GPLv3 then I'll consider it. 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 hpsekhon at googlemail.com Wed Apr 30 16:54:50 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 30 Apr 2008 15:54:50 +0100 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts In-Reply-To: <481877DF.7070201@vanderkooij.org> References: <481869EA.2060300@googlemail.com> <481877DF.7070201@vanderkooij.org> Message-ID: <4818883A.6030904@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) > > Hugo. > You are right, I just double checked this. For some reason I had done a run as a user who got an access denied or something if I recall so it seemed that it needed to be run as root, but I have indeed changed this behaviour to now not run as root. See the updated plugin version 0.6.4 on nagios exchange. Thanks -h ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 17:11:43 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 30 Apr 2008 16:11:43 +0100 Subject: Announce: Check_Yum for RedHat/CentOS server packagealerts In-Reply-To: <7EF0EE5CB3B263488C8C18823239BEBA039141A3@HC-MBX02.herefordshire.gov.uk> References: <481869EA.2060300@googlemail.com> <7EF0EE5CB3B263488C8C18823239BEBA039141A3@HC-MBX02.herefordshire.gov.uk> Message-ID: <48188C2F.1060203@googlemail.com> Randal, Phil wrote: > Oh well, maybe one day it will work. :-p > > Phil > Sorry for the slow response, I'm not at my desk... Could you pls try the latest 0.6.5 plugin that I've just put on nagiosexchange. I tend to intentionally check lots of things to try to break the check on anything that isn't seen before in order to fail noisy instead of pass silent. It seems one snagged you. If you try the updated plugin it should work for you (pls let me know). Thanks -h ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 17:33:45 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Apr 2008 10:33:45 -0500 Subject: Issue with Contacts and Notifications 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 Beau Walker > Sent: Wednesday, April 30, 2008 9:25 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Issue with Contacts and Notifications > > :P > > Well, this doesn't seem to be going anywhere. Can someone list or point If you provide the information I asked for originally, we can almost certainly help. > me to a list of steps to add and use additional contact_groups? Maybe I > can start from scratch and figure it out. Add contact Add to new/existing contactgroup Add contactgroup to host/service Verify in nagios.cfg that all the config files you just edited are listed as cfg_file. Restart/reload nagios ... Profit! > I just want to add that "Send custom service notification" does work, I > was just expecting it to send the comments in the notification too. This sends to the new contact for the service that regular notifications do not work for? I'm not using nagios-3 yet but my reading of the code is that it uses the exact same notification logic unless 'forced' or 'broadcast' is enabled. Are you using those? Forced causes nagios to ignore time restrictions, broadcast tells nagios to send to all normal contacts _and_ escalated contacts. > To recap, I'm trying to use a different contact group other than > 'admins', and nagios continues to use 'admins'. I've tried changing the > group in the template file for windows-servers and in the windows.cfg > file as well. It would appear then, based on the information at hand, that the 'admins' contactgroup is still associated with that service. -- 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 prandal at herefordshire.gov.uk Wed Apr 30 18:53:03 2008 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 30 Apr 2008 17:53:03 +0100 Subject: Announce: Check_Yum for RedHat/CentOS serverpackagealerts Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA039141C6@HC-MBX02.herefordshire.gov.uk> 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 -- Phil Randal Networks Engineer Herefordshire Council Hereford, UK -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Randal, Phil Sent: 30 April 2008 15:30 To: Hari Sekhon; Nagios Users mailinglist Subject: Re: [Nagios-users] Announce: Check_Yum for RedHat/CentOS serverpackagealerts # ./check_yum -vvv setting plugin timeout to 30 seconds running command: /usr/bin/yum --security check-update Returncode: '0' Output: 'Loading "security" plugin Loading "priorities" plugin Loading "protectbase" plugin Loading "installonlyn" plugin Loading "dellsysidplugin" plugin Setting up repositories Reading repository metadata in from local files Reducing city-fan.org repository for Red Hat Enterprise Linux (and clones) 5 (x86_64) to included packages only Finished Excluding Packages from Red Hat Enterprise 5 - RPMforge.net - dag Finished Reducing city-fan.org repository for Fedora Core Rawhide (x86_64) to included packages only Finished Limiting package lists to security relevant ones No packages needed, for security, 0 available 0 packages excluded due to repository priority protections 0 packages excluded due to repository protections ' Yum WARNING: Yum output signature does not match current known format, please make sure you have upgraded to the latest version of this plugin. If the problem persists, please contact the author for a fix Oh well, maybe one day it will work. :-p Phil -- Phil Randal Networks Engineer Herefordshire Council Hereford, UK -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 30 April 2008 13:46 To: Nagios Users mailinglist Subject: [Nagios-users] Announce: Check_Yum for RedHat/CentOS server packagealerts Hi, I've just released the Check_Yum plugin on NagiosExchange.org as the only one there seemed quite inadequate. Features of the new plugin (none of which are in the old plugin) include: - Differentiate between Security / normal package updates - Better output - numbers of packages updates - Support for extra Yum options including enabling and disabling repos, running from the cache - Optional Warning on non-security updates - Optional Critical alerting on any package - Timeout - Verbosity - Less false package alerts (the old plugin just used to misleading say the O/S needed updates when yum failed for any reason at all), including proper error feedback and a switch for lock handling to not raise an alert like if somebody is running yum interactively at the same time. You can download the plugin here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d= 1 (you may need to copy and paste that link if your mail client misinterprets the link) As ever, feedback is welcome, and development will continue if needed for extra switches and features. This should also work with Fedora or another RPM based distros that uses yum as it's package management system but I've not tested it outside RHEL/CentOS so feedback is welcome there too. On a related note, I'm also quite interested in people's experiences of updating and maintaining RedHat based systems especially with regards to security. I spoke to a few people and they basically don't follow security vulnerabilities and don't patch which ties in with my experiences and what I've seen of other people's systems too which is very disappointing. Hopefully this will make it easier to automatically track and keep on top of security updates for those of us who have RedHat Enterprise Linux 5 or later or equivalent. 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/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/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 gevery at gmail.com Wed Apr 30 19:05:45 2008 From: gevery at gmail.com (Gary Every) Date: Wed, 30 Apr 2008 10:05:45 -0700 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: I agree - there are still a ton of RHEL4 boxes out there. We are pretty strict on keeping with RHN - RHEL4 uses Python 2.3 On Wed, Apr 30, 2008 at 9:53 AM, 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 > > > -- > Phil Randal > Networks Engineer > Herefordshire Council > Hereford, UK > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Randal, > Phil > Sent: 30 April 2008 15:30 > To: Hari Sekhon; Nagios Users mailinglist > Subject: Re: [Nagios-users] Announce: Check_Yum for RedHat/CentOS > serverpackagealerts > > # ./check_yum -vvv > setting plugin timeout to 30 seconds > running command: /usr/bin/yum --security check-update > Returncode: '0' > Output: 'Loading "security" plugin > Loading "priorities" plugin > Loading "protectbase" plugin > Loading "installonlyn" plugin > Loading "dellsysidplugin" plugin > Setting up repositories > Reading repository metadata in from local files Reducing city-fan.org > repository for Red Hat Enterprise Linux (and > clones) 5 (x86_64) to included packages only Finished Excluding Packages > from Red Hat Enterprise 5 - RPMforge.net - dag Finished Reducing > city-fan.org repository for Fedora Core Rawhide (x86_64) to included > packages only Finished Limiting package lists to security relevant ones > No packages needed, for security, 0 available 0 packages excluded due to > repository priority protections 0 packages excluded due to repository > protections ' > Yum WARNING: Yum output signature does not match current known format, > please make sure you have upgraded to the latest version of this plugin. > If the problem persists, please contact the author for a fix > > > Oh well, maybe one day it will work. :-p > > Phil > -- > Phil Randal > Networks Engineer > Herefordshire Council > Hereford, UK > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: 30 April 2008 13:46 > To: Nagios Users mailinglist > Subject: [Nagios-users] Announce: Check_Yum for RedHat/CentOS server > packagealerts > > Hi, > > I've just released the Check_Yum plugin on NagiosExchange.org as the > only one there seemed quite inadequate. > > Features of the new plugin (none of which are in the old plugin) > include: > > - Differentiate between Security / normal package updates > - Better output - numbers of packages updates > - Support for extra Yum options including enabling and disabling repos, > running from the cache > - Optional Warning on non-security updates > - Optional Critical alerting on any package > - Timeout > - Verbosity > - Less false package alerts (the old plugin just used to misleading say > the O/S needed updates when yum failed for any reason at all), including > proper error feedback and a switch for lock handling to not raise an > alert like if somebody is running yum interactively at the same time. > > > You can download the plugin here: > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d= > 1 > > (you may need to copy and paste that link if your mail client > misinterprets the link) > > As ever, feedback is welcome, and development will continue if needed > for extra switches and features. > This should also work with Fedora or another RPM based distros that uses > yum as it's package management system but I've not tested it outside > RHEL/CentOS so feedback is welcome there too. > > > On a related note, I'm also quite interested in people's experiences of > updating and maintaining RedHat based systems especially with regards to > security. I spoke to a few people and they basically don't follow > security vulnerabilities and don't patch which ties in with my > experiences and what I've seen of other people's systems too which is > very disappointing. Hopefully this will make it easier to automatically > track and keep on top of security updates for those of us who have > RedHat Enterprise Linux 5 or later or equivalent. > > > 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/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/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 > -- Gary Every "Pay it Forward!" -------------- 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 Carl.Friend at mathworks.com Wed Apr 30 19:58:16 2008 From: Carl.Friend at mathworks.com (Carl Friend) Date: Wed, 30 Apr 2008 13:58:16 -0400 Subject: SNMP Traps from ProCurve Switches In-Reply-To: <37c712e0804291022q2a0fca3cg29a0c2b0f3f73650@mail.gmail.com> References: <20080429142416.GB30140@cgi.jachomes.com> <37c712e0804291022q2a0fca3cg29a0c2b0f3f73650@mail.gmail.com> Message-ID: <0528A1CB48AB5B4FA0D8FD7E0D94D81D3EF0DC0029@EXCHANGE-AH.ad.mathworks.com> Allan Clark writes: > [...] I wanted to connect directly rather than layer a lot of > interposing scripts (which are often difficult to repair). I > was trying to force snmptrapd to "log" to the Nagios command-channel, > but snmptrapd seems to use different formats when logging to stdout > compared to logging to a file. > > Anyone else with better luck? I wrote a Perl script that executes from NET-SNMP's "snmptrapd" program (or can take stuff from (think e-mail)), does some behind-the-scenes "magic" with a MySQL database backend (think suppressing duplicate traps, and the ability to route traps to Nagios or e-mail), and ultimately sends Nagios-formtted stuff via NSCA to Nagios (or to humans via e-mail). If anybody wants a copy, and the database schemas, just ask. It is a bit of a heavyweight, but it works in my environment. I also did a bit of recoding to NSCA/NSCD to allow that facility to enter comments into Nagios, either for services or for hosts. I contacted Mr. Galstad to see if he was interested in the tweaks, but was told that there were going to be better ways of doing what I did in the future. I find it useful to jam stuff like port up/down and configuration events into comments rather than fiddling with a service and sending notifications. +-----------------------------------------+----------------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts, USA | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +----------------------------+ | http://users.rcn.com/crfriend/museum | ICBM: +42:18:00 -71:21:03 | +-----------------------------------------+----------------------------+ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 20:03:18 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 30 Apr 2008 10:03:18 -0800 Subject: Fwd: MRTG Graf In-Reply-To: <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> References: <8a8640570804292111i210855f1oa3d39112695b9c3e@mail.gmail.com> <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> Message-ID: <343DD237-636D-41B2-AD6B-091943A468E8@frontierflying.com> 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 Is MRTG running? Just making the config isn't good enough- you do actually have to run MRTG. Typically, this is done with a crontab entry, so it runs every 5 minutes or so. See http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html ----------------------------------------------- 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 -------------- 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 israel at frontierflying.com Wed Apr 30 20:06:34 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 30 Apr 2008 10:06:34 -0800 Subject: Fwd: MRTG Graf In-Reply-To: <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> References: <8a8640570804292111i210855f1oa3d39112695b9c3e@mail.gmail.com> <8a8640570804292111h31322c24j117188c476581a4f@mail.gmail.com> Message-ID: 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 -------------- 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 Garry.Cook at arcadis-us.com Wed Apr 30 21:11:44 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Wed, 30 Apr 2008 13:11:44 -0600 Subject: User Cannot View Hosts Message-ID: <1689390EF608584D85BA56D958A5D1E45A13D89FEE@CorpExMBS1.arcadis-us.com> I've setup some new servers in Nagios, and assigned them to a new user listed in contacts.cfg and in an .htpasswd file for cgi access. Running the configuration verification check shows no warning and no errors. When logged in to the GUI as this user I can view all of the services, run commands to check them, etc., but cannot view or send host related commands. Anyone know what I'm missing? Thank you, Garry W. Cook, CCNA Network Systems Specialist ARCADIS U.S., Inc. 630 Plaza Drive, Suite 200 Highlands Ranch, CO 80129 720.344.3708 (Office) 720.220.1862 (Mobile) ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- 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 Wed Apr 30 21:20:37 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 30 Apr 2008 21:20:37 +0200 Subject: Announce: Check_Yum for RedHat/CentOS server package alerts In-Reply-To: <4818883A.6030904@googlemail.com> References: <481869EA.2060300@googlemail.com> <481877DF.7070201@vanderkooij.org> <4818883A.6030904@googlemail.com> Message-ID: <4818C685.7000108@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: | Hugo van der Kooij wrote: |> There is a design bug: |> You must be root to run this plugin (otherwise yum cannot access |> repository information) |> |> Hugo. |> | You are right, I just double checked this. For some reason I had done a | run as a user who got an access denied or something if I recall so it | seemed that it needed to be run as root, but I have indeed changed this | behaviour to now not run as root. | | See the updated plugin version 0.6.4 on nagios exchange. I tried version 0.6.5 and it works well now on Centos 5. 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) iD8DBQFIGMZ+BvzDRVjxmYERAvCaAJ9XZz6J6tIIju298nSKrcQLGI84+QCfbWQ2 NHNQoBkSc0tO8q6XnbpP368= =7y8v -----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 Garry.Cook at arcadis-us.com Wed Apr 30 21:21:55 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Wed, 30 Apr 2008 13:21:55 -0600 Subject: User Cannot View Hosts In-Reply-To: References: Message-ID: <1689390EF608584D85BA56D958A5D1E45A13D8A00D@CorpExMBS1.arcadis-us.com> Nagios 2.11 Latest plugins Ubuntu 7.10 I can post snippets of host and contact files if necessary. However, I'm curious about what you've said about cgi.cfg. The new contact shouldn't have to be defined here, should it? In cgi.cfg I can define users to be authorized for ALL Host Commands and whatnot, but this is not what I want. By default, shouldn't anyone listed as a contact for a host be able to view that host? Thanks, Garry From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, April 30, 2008 1:13 PM To: Cook, Garry Subject: RE: [Nagios-users] User Cannot View Hosts Are you sure you have the new contact properly defined in cgi.cfg to be able to view/execute commands on the hosts in question? What version of Nagios and the plugins are you running? What OS are you running? Can you post snippets of the host(s), contact cfg files in question? 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: Cook, Garry [mailto:Garry.Cook at arcadis-us.com] Sent: Wednesday, April 30, 2008 3:12 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] User Cannot View Hosts I've setup some new servers in Nagios, and assigned them to a new user listed in contacts.cfg and in an .htpasswd file for cgi access. Running the configuration verification check shows no warning and no errors. When logged in to the GUI as this user I can view all of the services, run commands to check them, etc., but cannot view or send host related commands. Anyone know what I'm missing? Thank you, Garry W. Cook, CCNA Network Systems Specialist ARCADIS U.S., Inc. 630 Plaza Drive, Suite 200 Highlands Ranch, CO 80129 720.344.3708 (Office) 720.220.1862 (Mobile) ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- 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 Wed Apr 30 21:40:49 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Apr 2008 14:40:49 -0500 Subject: User Cannot View Hosts In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A13D89FEE@CorpExMBS1.arcadis-us.com> References: <1689390EF608584D85BA56D958A5D1E45A13D89FEE@CorpExMBS1.arcadis-us.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cook, Garry > Sent: Wednesday, April 30, 2008 2:12 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] User Cannot View Hosts > > I've setup some new servers in Nagios, and assigned them to a new user listed > in contacts.cfg and in an .htpasswd file for cgi access. > > Running the configuration verification check shows no warning and no errors. > When logged in to the GUI as this user I can view all of the services, run > commands to check them, etc., but cannot view or send host related commands. > > Anyone know what I'm missing? Hosts do not inherit service contacts (only the reverse). Did you associate the new contact with the host's contactgroup? -- 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 daniel-listas at gmx.net Wed Apr 30 22:00:37 2008 From: daniel-listas at gmx.net (Daniel Guillermo Bareiro) Date: Wed, 30 Apr 2008 22:00:37 +0200 Subject: Monitoring software RAID in Debian GNU/Linux In-Reply-To: <481761E5.9020309@googlemail.com> References: <4816DB1C.2030302@googlemail.com> <20080429144453.57530@gmx.net> <48174049.2030001@googlemail.com> <20080429164938.57530@gmx.net> <481761E5.9020309@googlemail.com> Message-ID: <20080430200037.40810@gmx.net> 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 -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 22:05:50 2008 From: allanc at chickenandporn.com (Allan Clark) Date: Wed, 30 Apr 2008 16:05:50 -0400 Subject: User Cannot View Hosts In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A13D89FEE@CorpExMBS1.arcadis-us.com> References: <1689390EF608584D85BA56D958A5D1E45A13D89FEE@CorpExMBS1.arcadis-us.com> Message-ID: <37c712e0804301305l1813d181od31da387351b6e63@mail.gmail.com> On Wed, Apr 30, 2008 at 3:11 PM, Cook, Garry wrote: > I've setup some new servers in Nagios, and assigned them to a new user > listed in contacts.cfg and in an .htpasswd file for cgi access. > > Running the configuration verification check shows no warning and no > errors. When logged in to the GUI as this user I can view all of the > services, run commands to check them, etc., but cannot view or send host > related commands. > > Anyone know what I'm missing? > Can you confirm your: grep ^authorized_for_all_host /etc/nagios/cgi.cfg ? This should produce two lines of output something like: == authorized_for_all_hosts=* authorized_for_all_host_commands=* == or: == authorized_for_all_hosts=nagios,allanc authorized_for_all_host_commands=nagios,allanc == (where you have a bunch of usernames rather than my "allanc" in that line) It's a bit of a weak response, sorry, I bet others here will have better ideas. -- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. 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 Garry.Cook at arcadis-us.com Wed Apr 30 22:11:24 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Wed, 30 Apr 2008 14:11:24 -0600 Subject: User Cannot View Hosts In-Reply-To: <37c712e0804301305l1813d181od31da387351b6e63@mail.gmail.com> References: <1689390EF608584D85BA56D958A5D1E45A13D89FEE@CorpExMBS1.arcadis-us.com> <37c712e0804301305l1813d181od31da387351b6e63@mail.gmail.com> Message-ID: <1689390EF608584D85BA56D958A5D1E45A13D8A0AB@CorpExMBS1.arcadis-us.com> Not weak at all, I think that points towards the issue. At some point I changed the ?*? to a couple of usernames. Changing it back for Authorized For All Hosts allows this new user to view all hosts. This is close to what I want, but not exactly. I just want them to be able to see the hosts that they are listed as a contact for. Thanks, Garry From: chickenandporn at gmail.com [mailto:chickenandporn at gmail.com] On Behalf Of Allan Clark Sent: Wednesday, April 30, 2008 2:06 PM To: Cook, Garry Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] User Cannot View Hosts On Wed, Apr 30, 2008 at 3:11 PM, Cook, Garry > wrote: I've setup some new servers in Nagios, and assigned them to a new user listed in contacts.cfg and in an .htpasswd file for cgi access. Running the configuration verification check shows no warning and no errors. When logged in to the GUI as this user I can view all of the services, run commands to check them, etc., but cannot view or send host related commands. Anyone know what I'm missing? Can you confirm your: grep ^authorized_for_all_host /etc/nagios/cgi.cfg ? This should produce two lines of output something like: == authorized_for_all_hosts=* authorized_for_all_host_commands=* == or: == authorized_for_all_hosts=nagios,allanc authorized_for_all_host_commands=nagios,allanc == (where you have a bunch of usernames rather than my "allanc" in that line) It's a bit of a weak response, sorry, I bet others here will have better ideas. -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- 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 LEHMANJ at us.panasonic.com Wed Apr 30 22:18:53 2008 From: LEHMANJ at us.panasonic.com (Lehman, John) Date: Wed, 30 Apr 2008 16:18:53 -0400 Subject: Not able to view Trends graphs In-Reply-To: <37c712e0804301305l1813d181od31da387351b6e63@mail.gmail.com> References: <1689390EF608584D85BA56D958A5D1E45A13D89FEE@CorpExMBS1.arcadis-us.com> <37c712e0804301305l1813d181od31da387351b6e63@mail.gmail.com> Message-ID: <92D10CCDDE96C2418F010DBBCD2F573A5CFE06@usmecas0010357.america.gds.panasonic.com> Hello, I have Nagios 2.9 running (Dag Weiirs) running on Redhat Enterprise 5.0. When I go to "Reporting" and select Trends I choose a host to view and the graph is EMPTY. I am not sure where to start in troubleshooting this problem. I know this is vague but I am just looking for a starting point to understand how the graphing works and how is displays and stores its data. Thank you in advance. John -------------- 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 Wed Apr 30 22:24:05 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Apr 2008 15:24:05 -0500 Subject: User Cannot View Hosts In-Reply-To: <37c712e0804301305l1813d181od31da387351b6e63@mail.gmail.com> References: <37c712e0804301305l1813d181od31da387351b6e63@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 Allan Clark > Sent: Wednesday, April 30, 2008 3:06 PM > To: Cook, Garry > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] User Cannot View Hosts > Can you confirm your: > > grep ^authorized_for_all_host /etc/nagios/cgi.cfg ? > > (where you have a bunch of usernames rather than my "allanc" in that line) Note that a 'normal' install should have no or few names listed here, only those exceptions that need escalated privileges beyond those provided by normal authorization logic (i.e. nagios admins). -- 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 Apr 30 22:27:07 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Apr 2008 15:27:07 -0500 Subject: User Cannot View Hosts In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A13D8A0AB@CorpExMBS1.arcadis-us.com> References: <1689390EF608584D85BA56D958A5D1E45A13D8A0AB@CorpExMBS1.arcadis-us.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cook, Garry > Sent: Wednesday, April 30, 2008 3:11 PM > To: Allan Clark > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] User Cannot View Hosts > > Not weak at all, I think that points towards the issue. At some point I > changed the '*' to a couple of usernames. Changing it back for Authorized For > All Hosts allows this new user to view all hosts. This is close to what I > want, but not exactly. I just want them to be able to see the hosts that they > are listed as a contact for. Re-stating/wording my original e-mail, add this new contact to the contactgroup associated with the host{} and remove them from cgi.cfg. You may have added them to the service{}'s contactgroup but that has no bearing on who can view host status. -- 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 Apr 30 22:34:12 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Apr 2008 15:34:12 -0500 Subject: Not able to view Trends graphs In-Reply-To: <92D10CCDDE96C2418F010DBBCD2F573A5CFE06@usmecas0010357.america.gds.panasonic.com> References: <92D10CCDDE96C2418F010DBBCD2F573A5CFE06@usmecas0010357.america.gds.panasonic.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lehman, John > Sent: Wednesday, April 30, 2008 3:19 PM > To: Nagios-users at lists.sourceforge.net > Cc: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Not able to view Trends graphs > > Hello, > > > > I have Nagios 2.9 running (Dag Weiirs) running on Redhat Enterprise 5.0. > > > > When I go to "Reporting" and select Trends I choose a host to view and the > graph is EMPTY. State is 100% indeterminate? Most likely -- The host has not changed state within your reporting period (or within the specified number of backtracked archives) and nagios doesn't know what the state of the host is. You can help it by specifying the first assumed state, increasing the number of backtracked archives to search for state changes or setting 'log_initial_states' in nagios.cfg and reloading nagios. The last will cause nagios to log the current state of all hosts and services on restart/reload and I'm 98% sure on log rotation. -- 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 Garry.Cook at arcadis-us.com Wed Apr 30 22:36:32 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Wed, 30 Apr 2008 14:36:32 -0600 Subject: User Cannot View Hosts In-Reply-To: References: <1689390EF608584D85BA56D958A5D1E45A13D8A0AB@CorpExMBS1.arcadis-us.com> Message-ID: <1689390EF608584D85BA56D958A5D1E45A13D8A101@CorpExMBS1.arcadis-us.com> That did it, thanks Marc. I forgot there needed to be a contact group association for the hosts, I thought that was still handled through the hostgroups. -----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, April 30, 2008 2:27 PM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] User Cannot View Hosts > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cook, Garry > Sent: Wednesday, April 30, 2008 3:11 PM > To: Allan Clark > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] User Cannot View Hosts > > Not weak at all, I think that points towards the issue. At some point I > changed the '*' to a couple of usernames. Changing it back for Authorized For > All Hosts allows this new user to view all hosts. This is close to what I > want, but not exactly. I just want them to be able to see the hosts that they > are listed as a contact for. Re-stating/wording my original e-mail, add this new contact to the contactgroup associated with the host{} and remove them from cgi.cfg. You may have added them to the service{}'s contactgroup but that has no bearing on who can view host status. -- Marc ------------------------------------------------------------------------- NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinjoseph24-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org Wed Apr 30 23:04:39 2008 From: justinjoseph24-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org (Justin Amburn) Date: Wed, 30 Apr 2008 14:04:39 -0700 Subject: Possible to monitor bios using Nagios? Message-ID: Probably the question to ask is: are there any tools that exist from the bios vendor or that the OS can use to output generic bios information. If so, you can wrap it in perl and make it a nagios plugin. Justin #ANG CHIN TECK# wrote: > > Hi all, > > Is it possible to monitor usage of bios using Nagios? > > Jason > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > 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 > -------------- 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 -------------- _______________________________________________ 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 scott.gwartney at nwea.org Wed Apr 30 23:06:21 2008 From: scott.gwartney at nwea.org (Scott Gwartney) Date: Wed, 30 Apr 2008 14:06:21 -0700 Subject: No notification on hard state change after an acknowledgement Message-ID: <1D47D77A70708D49A3D4A816CE6C69F606E57D38@exchbe1.Americas.nwea.pvt> 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. For example: we're monitoring the E drive on a file server. The drive goes into a warning state, Nagios sends an alert, and an acknowledgement is entered. Later the drive goes critical, but an alert is never sent. Following are the relevant log entries and config files. Thanks for the help! Log File: E drive goes into warning Apr 29 15:10:38 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;WARNING;notify-by-epager;e:\ - total: 263.99 Gb - used: 243.89 Gb (92%) - free 20.10 Gb (8%) 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 Acknowledge is sent Apr 29 15:11:26 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;ACKNOWLEDGEMENT (WARNING);notify-by-email;e:\ - total: 263.99 Gb - used: 243.89 Gb (92%) - free 20.10 Gb (8%);Nagios Admin;jf Apr 29 15:11:27 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;ACKNOWLEDGEMENT (WARNING);notify-by-epager;e:\ - total: 263.99 Gb - used: 243.89 Gb (92%) - free 20.10 Gb (8%);Nagios Admin;jf E drive goes critical no alert sent Apr 30 10:07:16 DataCenterMon nagios: SERVICE ALERT: X;Disk Usage E Drive;CRITICAL;HARD;3;e:\ - total: 263.99 Gb - used: 251.33 Gb (95%) - free 12.67 Gb (5%) Apr 30 11:04:16 DataCenterMon nagios: EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;X;Disk Usage E Drive;1209578654 Acknowledgement is removed and alert is sent. Apr 30 11:05:19 DataCenterMon nagios: EXTERNAL COMMAND: REMOVE_SVC_ACKNOWLEDGEMENT;X;Disk Usage E Drive Apr 30 11:05:49 DataCenterMon nagios: EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;X;Disk Usage E Drive;1209578747 Apr 30 11:05:57 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;CRITICAL;notify-by-email;e:\ - total: 263.99 Gb - used: 254.71 Gb (96%) - free 9.29 Gb (4%) # Host Template for Critical Hosts -- [E]Pager and Email Notification to x 27x7 define host{ name Critical_Host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution 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 notification_period 24x7 ; Notifies 24x365 notification_options d,u,r ;Down, Up, Recovery notification_interval 5 ;Sends Page/Email every 5 minutes check_command check_ping!1000.0,20%!30000.0,100% ;Warns at 20% packet loss or round trip time > 1000 MS Critical at 100% packet loss or 30000 MS roun trip max_check_attempts 5 ;Checks host 5 times before generating an alert contact_groups x register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } # 'NWWEBNAS' host definition define host{ use Critical_Host ; Name of host template to use host_name X alias Production File Server address x.x.x.x parents X } # Crtitical Service definition template define service{ name Critical_Service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) is_volatile 0 check_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 event_handler_enabled 1 ;Event handler is enabled check_period 24x7_With_Maintenance_Window ;Checks 24x7x365 normal_check_interval 10 ;When service is OK it will be checked every 10 minutes max_check_attempts 3 ;When service is not OK it will check 3 times before sending an alert retry_check_interval 1 ;Retries every 1 minute once service is not OK. After max_check_attempts has bee reached it rechecks at normal_check_interval notification_interval 10 ;Sends notifications every 10 minutes notification_period 24x7 ; Notifies 24x365 notification_options w,u,c,r ;Sends alerts at Warning, Unreachable, Critical and Recovery contact_groups x ;Email ISOpsOnCall and pages ISOnCallCell register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Service definition define service{ use Critical_Service ; Name of service template to use host_name X service_description Disk Usage E Drive check_command check_nt_disk!e!80!95 } Log File: E drive goes into warning Apr 29 15:10:38 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;WARNING;notify-by-epager;e:\ - total: 263.99 Gb - used: 243.89 Gb (92%) - free 20.10 Gb (8%) 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 Acknowledge is sent Apr 29 15:11:26 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;ACKNOWLEDGEMENT (WARNING);notify-by-email;e:\ - total: 263.99 Gb - used: 243.89 Gb (92%) - free 20.10 Gb (8%);Nagios Admin;jf Apr 29 15:11:27 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;ACKNOWLEDGEMENT (WARNING);notify-by-epager;e:\ - total: 263.99 Gb - used: 243.89 Gb (92%) - free 20.10 Gb (8%);Nagios Admin;jf E drive goes critical no alert sent Apr 30 10:07:16 DataCenterMon nagios: SERVICE ALERT: X;Disk Usage E Drive;CRITICAL;HARD;3;e:\ - total: 263.99 Gb - used: 251.33 Gb (95%) - free 12.67 Gb (5%) Apr 30 11:04:16 DataCenterMon nagios: EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;X;Disk Usage E Drive;1209578654 Acknowledgement is removed and alert is sent. Apr 30 11:05:19 DataCenterMon nagios: EXTERNAL COMMAND: REMOVE_SVC_ACKNOWLEDGEMENT;X;Disk Usage E Drive Apr 30 11:05:49 DataCenterMon nagios: EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;X;Disk Usage E Drive;1209578747 Apr 30 11:05:57 DataCenterMon nagios: SERVICE NOTIFICATION: XX;X;Disk Usage E Drive;CRITICAL;notify-by-email;e:\ - total: 263.99 Gb - used: 254.71 Gb (96%) - free 9.29 Gb (4%) -------------- 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